Quantcast
Viewing all articles
Browse latest Browse all 3184

Purchase of Product is not permitted in the backend

Dear Experts,

 

We are facing a concern where this scenario is working fine in our SRM 5 system and it is not working after our upgrade to SRM 7.

 

Scenario: When the plant material status is OB, the error will be thrown when you are trying to create a shopping cart for that Material.

 

Image may be NSFW.
Clik here to view.
Material Status.JPG

 

SRM 5:

 

Image may be NSFW.
Clik here to view.
SRM 5 Error Message.JPG

 

SRM 7:

 

Image may be NSFW.
Clik here to view.
SRM 7 Error Message.JPG

 

Upon debugging, please find the below analysis from our side.

 

In SRM 7, some new lines of code has been added in the function module B31I_MATERIAL_READ which is checking the length of Product id.

 

The value of the product id is carried in the structure ls_mapping_out-target_product_id with 18 characters every time.

Hence it is failing in the IF condition at line number 112 and going to ELSE part .

 

This statement "lv_product_id = ls_mtcom-matnr" In ELSE part i.e ls_mtcom-matnr will not have the product id and it is falling to send the same to ECC system

 

Could you please advise if anyone has came across this scenario or if you have any suggestions.

 

Best Regards,

Bharathi


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>