Skip to Content

check switch state Ehp2 buyer

Dear All
When BAPI (BAPI_PR_CREARE) is called in our custom program, PR can be successfully created for the same data in the development environment, but PR cannot be created for the same data in the test environment. The error is as follows:In case of account assignment, please enter acc. assignment data for item.
I tried even by creating through me51n in the test environment, there it is getting created correctly.
Next Item data with Acct assn cat as 'K' Item Category as 'D' short text, PR quantity, Order Unit, Net price, Material group, Plant,Requisitioner.
Next it is prompting for Services data : short text, quantity, Unit, Gross price.
Then it is prompting for Account assignment of service in line 10, there I am giving GL account, Cost center.
It is creating the PR successfully.
After comparing the development environment with the test environment, we find that the following breakpoints are different. In the development environment, the program is activated, but in the test environment, the program is return and MM_SFWS_SC2 is not activated,account assignment of servicecannot be retrieved.
PS:switch position is F closed,does this matter?
Please do the needful.
Thanks & Warm Regards,
Barbara Lan

check-switch-state-ehp2-buyer.pngmm-sfws-sc2.pngswitch-position.png

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.