2006 Jul 26 8:31 PM
After entering the document no , document type,document part and the document version
in the first screen of CV01N transaction and in the next screen i enter the lab/office no and
then i choose the tab object links and there i choose material master and entered the material no
and then using the insert row option , i entered the materials one by one .Now i save the recording.
My requirement is that,wat changes can i make in the bdc code which gets generated,so that i am able to
upload the flat file data where for a combination of same document no,document type ,
document part,document version,lab office - i need to have different material nos maintained.
I ll be thankful for your valuable advice.
After entering the document no , document type,document part and the document version
in the first screen of CV01N transaction and in the next screen i enter the lab/office no and
then i choose the tab object links and there i choose material master and entered the material no
and then using the insert row option , i entered the materials one by one .Now i save the recording.
My requirement is that,wat changes can i make in the bdc code which gets generated,so that i am able to
upload the flat file data where for a combination of same document no,document type ,
document part,document version,lab office - i need to have different material nos maintained.
I ll be thankful for your valuable advice.
2006 Jul 26 8:36 PM
hi chand,
the batch input program which you have generated thru recording contains hard coded value which u have used for recording.you need replace it with the values which you have read from your file something like itab-matnr instead of '1000000'.
Cheers,
Abdul Hakim
Mark all useful answers...
2006 Jul 26 10:46 PM
hey chand,
b4 the bdc generated code, read the data (materials) from ur file into an itab. now wrap the bdc code with a loop at itab. as hakim mentioned (prev. post) leave the combination of doc.num, type, etc hard coded and change the material numbers to fields from ur itab_wa.
this way each loop does the same only with new mat.numbers from ur itab.
good luck
Igal