‎2007 Nov 23 7:09 PM
Hi people,
I'm trying to use BAPI_PRODORDCONF_CREATE_TT to load data into tx CO11N. I need to fill the field "production date", and couldn't find the corresponding field in this bapi. I can't fill the structure "goodsmovements" because this bapi define it automatically. If you have some tip about it, please, let me know.
regards
‎2007 Nov 23 9:34 PM
Hello
Please have a look at OSS note 351181 below. This might help.
Symptom
Goods movements which have a filled the date of production (GOODSMOVEMENTS-PROD_DATE) are transferred to a BAPI for the confirmation.
However, this date is lost in the course of processing so that the goods movements run incorrectly and must be reprocessed
Additional key words
BAPI_PRODORDCONF_CREATE_TT, BAPI_PRODORDCONF_CREATE_TE,
BAPI_PRODORDCONF_CREATE_HDR, GOODSMOVEMENTS-PROD_DATE, date of production,
Batch, shelf life expiration date, SLED
Cause and prerequisites
The problem is caused by a program error. The goods movements in internal table IMSEG_TAB are available to FORM routine VB_GOODS_MOVEMENTS. This FORM routine also includes the date of production in field HSDAT.
The goods movement data is transferred with MOVE-CORRESPONDING to internal table TMP_AFFW_TAB. However, it does not have field HSDAT. The date of production is managed in field MHDAT, there.
Solution
Implement the program correction. The date of production is transferred from IMSEG_TAB to field MHDAT of TMP_AFFW_TAB if it does not already contain a shelf life expiration date.
<b>Reward points if useful</b>
Regards
Saket Sharma
null
‎2007 Nov 23 9:34 PM
Hello
Please have a look at OSS note 351181 below. This might help.
Symptom
Goods movements which have a filled the date of production (GOODSMOVEMENTS-PROD_DATE) are transferred to a BAPI for the confirmation.
However, this date is lost in the course of processing so that the goods movements run incorrectly and must be reprocessed
Additional key words
BAPI_PRODORDCONF_CREATE_TT, BAPI_PRODORDCONF_CREATE_TE,
BAPI_PRODORDCONF_CREATE_HDR, GOODSMOVEMENTS-PROD_DATE, date of production,
Batch, shelf life expiration date, SLED
Cause and prerequisites
The problem is caused by a program error. The goods movements in internal table IMSEG_TAB are available to FORM routine VB_GOODS_MOVEMENTS. This FORM routine also includes the date of production in field HSDAT.
The goods movement data is transferred with MOVE-CORRESPONDING to internal table TMP_AFFW_TAB. However, it does not have field HSDAT. The date of production is managed in field MHDAT, there.
Solution
Implement the program correction. The date of production is transferred from IMSEG_TAB to field MHDAT of TMP_AFFW_TAB if it does not already contain a shelf life expiration date.
<b>Reward points if useful</b>
Regards
Saket Sharma
null