11-26-2008 5:18 AM
Dear All,
I am using this BAPI to create planned independents requirement.
All works fine but for a couple of materials.
For this materials the BAPI returns message saying that Material does not exist in plant 2000 even though it does.
If I do the same thing manually through SE37,it works fine.From SE37 there is no return message and the material gets uploaded successfully in MD61.
I am passing the following parameters to the BAPI.Plz let me know what might be the problem.
CALL FUNCTION 'BAPI_REQUIREMENTS_CREATE'
EXPORTING
REQUIREMENTS_ITEM = BAPISITEMR
REQUIREMENT_PARAM =
DO_COMMIT = 'X'
UPDATE_MODE = 'X'
REFER_TYPE = ' '
PROFILID = ' '
IMPORTING
MATERIAL =
PLANT =
REQUIREMENTSTYPE =
VERSION =
REQMTSPLANNUMBER =
MRP_AREA =
MATERIAL_EVG =
TABLES
REQUIREMENTS_SCHEDULE_IN = IT_BAPISSHDIN
REQUIREMENTS_CHAR_IN =
RETURN = IT_RETURN.
Regards,
Rahul.
12-13-2008 6:15 AM
11-16-2015 6:38 AM
Hi Rahul,
Presently I'm facing the same issue, please help me to solve it.
11-17-2015 10:26 AM
Hi Siva,
Why don't you create a new Thread for this.
put a break point on message no and try to find out on which case it trigger and how that is by passed in se37 .