Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with BAPI_PR_CREATE in Ecc6.0

Former Member
0 Likes
355

Hi ,

   I am using the FM "BAPI_PR_CREATE". Currently we are doing upgrade from 4.7 to ECC6.0.  In ECC, this FM is not working as expected.  If we are giving 3 materials say  X, Y, Z. It is creating PR with materials X,X,X. i.e it is overwritting the materials Y and Z with the first material X.  Please guide me whetehr i need to pass any additional values to the FM. In 4.7 version it is working fine.  Please help me.

Thanks in advance,

Elavarasu.

1 REPLY 1
Read only

Former Member
0 Likes
319

hello

There is a table ending with 'X' for ITEMS of the PR when using this function module. For ex. PRITEMX.

You need to make sure that you are passing a value 'X' for each item in this table. May be you are missing it somewhere.

best regards,

swanand