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 program using call txn for txn cj40

Former Member
0 Likes
330

Hi,

I am uploading data using bdc call txn method for txn cj40. In flat file I have 2 header field and 4 line items.So in line items last field is Qty [RK70L-MENGE].This field data is not uploading.Pls tell me where is the problem.

And in txn cj40 first field is project def, So user wants. That field should be blank.

Bcoz it is taking previous value.Pls tell me the suitable code for that.

Thanks & Regards,

Shiv Kant

1 REPLY 1
Read only

Former Member
0 Likes
295

So in line items last field is Qty RK70L-MENGE//

->Use char format in ur flat file for the quantity field.

itab-menge(13) type c.

//And in txn cj40 first field is project def, So user wants. That field should be blank.

Bcoz it is taking previous value.Pls tell me the suitable code for that.

Dont know what u mean by taking previous value .. just check if ur refreshing bdcdata structure after every iteration / before the start of iteration itself in ur loop endloop .

loop ..

refresh i_bdcdata[]. " <----


perform

perform

perform

endloop.