Dear Gurus ,
I have made a program that uses the 'BAPI_REQUISITION_CREATE' to create Purchase Requisitions.
When i try to make a requisition with Asset i take the following error :No master record exists for vendor xxxx
I searched very much and i read many posts about this problem but i didn't find solution .
Look my code if you can see any problems :
CALL FUNCTION 'BAPI_REQUISITION_CREATE'
EXPORTING
SKIP_ITEMS_WITH_ERROR = ''
AUTOMATIC_SOURCE = 'X'
IMPORTING
NUMBER = PREQ_NO
TABLES
REQUISITION_ITEMS = BAPIEBANC
REQUISITION_ACCOUNT_ASSIGNMENT = BAPIEBKN
* REQUISITION_ITEM_TEXT =
* REQUISITION_LIMITS =
* REQUISITION_CONTRACT_LIMITS =
* REQUISITION_SERVICES =
* REQUISITION_SRV_ACCASS_VALUES =
RETURN = RETURN
* REQUISITION_SERVICES_TEXT =
* REQUISITION_ADDRDELIVERY =
* EXTENSIONIN =
.
Also i pass all the relative data to the tables .
Can i skip this message ?
Also the lifnr exists in LFA1.
Thanks in advance ...