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

vendor in BAPI_REQUISITION_CREATE

Former Member
0 Likes
1,106

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

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
Read only

Former Member
0 Likes
975

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.

Read only

0 Likes
975

Hi,

I pass BAPIEBANC-DES_VENDOR and BAPIEBANC-FIXED_VEND.

Regards,

Ali

Read only

0 Likes
975

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.

Read only

0 Likes
975

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?

Read only

Former Member
0 Likes
975

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