I am facing a problem with BAPI: BAPI_PRODORDCONF_CREATE_TT
Actually this BAPI I am using in my Zprogram for the operation confirmation. I am able to execute the BAPI and it is doing the operation confirmation. But it is not performing the Goods movements. I am not getting any error also. I am passing all the possible and required data to the BAPI. Please let me know, if anybody is having the idea about it.
I am using the GOODSMOVEMENTS structure to send the material data. And I am using the LINK_CONF_GOODSMOV to link the time ticket with the goods movement. Still system is not posting any material document. And I am not getting any error. Please suggest..if you have any idea...
Thanks in advance.
1. First try to do goods confirmation in the transaction mode and check if the goods movements is happening or not.
2.If Yes for above point , then without passing any parameter
to the ""LinkConfGoodsmov"" try to make the confirmation with your programme.
3.I recommend u to try this as the FM documentation tells about this .
FM documentation :
If no entry exists in the LinkConfGoodsmov table for a confirmation, goods movements are determined using the standard logic for backflushing and automatic goods receipt for confirmations
If you have tried all the above fine..Else kindly try this and give us the feedback..
Try parameter POST_WRONG_ENTRIES with following values:
o 0: Neither confirmations with errors nor confirmations that cannot
be processed due to a lock situation are transferred to the error
o 1: Confirmations with errors are transferred to the error pool,
whereas confirmations that cannot be processed due to a lock
situation are not transferred to the error pool.
o 2: Both confirmations with errors and confirmations that cannot be
processed due to a lock situation are transferred to the error pool.
While doing the debugging of BAPI we found that.. BAPI is taking the total 18 digit of material code... even though we are using 10 digits. Based on that BAPI is not able to find the material...and there is no message for this. Because that material itself doesn't exist.