‎2005 Sep 28 3:12 PM
Hi all,
I have written a batch input program to create new material BOMs using CS01. The BOM gets its effective date from an ECM number which is entered into the RC29N-AENNR field in cs01. When the enter key is pressed to submit the data from the screen a warning message is posted by SAP to say "Date dd.mm.yyyy copied from change number".
This is all very well in manual input mode, where the message can be cleared by the user, but in batch input mode it stops the program dead in its tracks, and causes the whole batch input session to barf.
Can anyone tell me how I can clear this message in code so my program can proceed with adding the new BOM?
Thanks in advance,
Mark Wheaton
‎2005 Sep 29 11:24 AM
Hi,
Try using function module CS_BI_BOM_CREATE_BATCH_INPUT1 if this fm meets your requirements.
Sri
‎2005 Sep 28 3:26 PM
hi,
in the recording after the error you press enter ( it also get recorded )
we need to pass addition enter key
cheers,
sasi
‎2005 Sep 29 10:37 AM
Hi Sasi,
I did think of this, and unfortunately, the recorder does not record the second press of the enter key. Or if it does, then it doesn't get played back when I run the transaction from the recording.
Got any other ideas?
Mark
‎2005 Sep 29 11:13 AM
hi mark
in that particular screen add one more line in the coding like
perform bdc_field using 'BDC_OKCODE'
'/00'. or '=OKAY'
and you run in foreground then see what it happens
cheers,
sasi
‎2005 Sep 29 11:24 AM
Hi,
Try using function module CS_BI_BOM_CREATE_BATCH_INPUT1 if this fm meets your requirements.
Sri
‎2008 May 26 1:41 PM
Could you give me these source code for how to bi Material BOM Creation using function module CS_BI_BOM_CREATE_BATCH_INPUT1.... Thank you very much