02-13-2012 2:08 PM
Hello,
I am trying to create a PR using BAPI_REQUISITION_CREATE. I fill in the REQUISITION_ITEMS table with required data, eg. material, plant, vendor etc. The PR is created but the vendor is not recorded. The version is 4.6C so some of the newer parameters for the BAPI do not exist. What can be the reason of missing vendor code in PR?
Thanks in advance,
Ali
02-13-2012 2:41 PM
Hi,
Are you passing these values?
BAPIEBANC-DES_VENDOR
BAPIEBANC-FIXED_VEND
BAPIEBANC-VEND_MAT
Please try to pass these values. I hope it will work.
Regards,
Mufee.
02-14-2012 7:13 AM
Hi,
I pass BAPIEBANC-DES_VENDOR and BAPIEBANC-FIXED_VEND.
Regards,
Ali
02-14-2012 7:22 AM
Hi Ali,
Check whether any BAPI is there for displaying PR. Then pass any PR to the BAPI which contains vendor data. Then check where all the Vendor code is getting reflected. According to that you post in your required BAPI(BAPI_REQUISITION_CREATE
). Hope this helps.
Best Regards,
Chandu.
02-14-2012 8:28 AM
Actually now a vendor is passed and PR is created with supplier code but it is not what is passed in BAPI but a fixed value. Where should I check in customizing?
02-14-2012 1:40 PM
there was no need to transfer requisition_items-ITEM_CAT to the BAPI. I deleted the assignment and it worked fine.