Application Development 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: 

vendor in BAPI_REQUISITION_CREATE

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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.

0 Kudos

Hi,

I pass BAPIEBANC-DES_VENDOR and BAPIEBANC-FIXED_VEND.

Regards,

Ali

0 Kudos

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.

0 Kudos

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?

Former Member
0 Kudos

there was no need to transfer requisition_items-ITEM_CAT to the BAPI. I deleted the assignment and it worked fine.