2007 May 11 4:36 PM
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...........
2007 May 12 8:51 PM
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
2007 May 12 10:17 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |