Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Issue - urgent

Former Member
0 Likes
511

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.

2 REPLIES 2
Read only

abdul_hakim
Active Contributor
0 Likes
478

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...

Read only

Former Member
0 Likes
478

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