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 Quantity fields not updating

Former Member
0 Likes
1,186

Hi folks,

I am working with BDC (CA02). I have a quantity fields in my internal table.

while populating these quantity fields to bdcdata table i am converting them to character field with the original length of the quantity field.

i am also making left-justified.when i run bdc with mode 'A' bdc flow is going perfectly and all my quantity fields are populating in desired screen fields.

but when i come out of the transaction after successful updation i am opening another session with same material and plant to check whether my quantity fields are updated or not, but they are not.

does anybody have some idea on this..?

Thanks in advance,

PLease help. Waiting...........

Hi folks,

I am working with BDC (CA02). I have a quantity fields in my internal table.

while populating these quantity fields to bdcdata table i am converting them to character field with the original length of the quantity field.

i am also making left-justified.when i run bdc with mode 'A' bdc flow is going perfectly and all my quantity fields are populating in desired screen fields.

but when i come out of the transaction after successful updation i am opening another session with same material and plant to check whether my quantity fields are updated or not, but they are not.

does anybody have some idea on this..?

Thanks in advance,

PLease help. Waiting...........

2 REPLIES 2
Read only

Former Member
0 Likes
770

Try something like this:

data: l_chr_x10fr type bdcdata-fval.

write ls_data-x10fr to l_chr_x10fr decimals 2 no-sign left-justified.

(May want to keep the sign.)

Best!

Jim

Read only

Former Member
0 Likes
770

Hi,

if you are in CA02 online and update the fields you still have to press the SAVE button, right? Thus, you also have to pass the "press SAVE button" information in your BDC table. I think you have to set field "OKCODE" to value "=UPDATE" or something like that. Maybe you can find that out through the Batch Input Recorder.

Björn