2008 Nov 18 10:27 PM
Hi ,
Want to update two transcation through same excel file.Moving like this .Is this correct way
FORM run_bdc .
LOOP AT g_t_intab INTO g_t_record .
PERFORM bdc_dynpro USING 'SAPLKPP0' '1000'.
perform bdc_transaction using 'KP06' .
Second bdc.........
perform bdc_dynpro1 using 'SAPLKPP0' '1000'.
perform bdc_field1 using 'KPP0B-VALUE(06)'
g_t_record-profit_center_06_007.
perform bdc_field1 using 'KPP0B-VALUE(08)'
g_t_record-Account_No_08_008.
perform bdc_field1 using 'KPP0B-VALUE(09)'
g_t_record-Account_no_to_09_009.
perform bdc_transaction1 using '7KE1'.
endloop
regards
IVneet
Hi ,
Want to update two transcation through same excel file.Moving like this .Is this correct way
FORM run_bdc .
LOOP AT g_t_intab INTO g_t_record .
PERFORM bdc_dynpro USING 'SAPLKPP0' '1000'.
perform bdc_transaction using 'KP06' .
Second bdc.........
perform bdc_dynpro1 using 'SAPLKPP0' '1000'.
perform bdc_field1 using 'KPP0B-VALUE(06)'
g_t_record-profit_center_06_007.
perform bdc_field1 using 'KPP0B-VALUE(08)'
g_t_record-Account_No_08_008.
perform bdc_field1 using 'KPP0B-VALUE(09)'
g_t_record-Account_no_to_09_009.
perform bdc_transaction1 using '7KE1'.
endloop
regards
IVneet
2008 Nov 18 10:35 PM
Following looks more cleaner than the one you are trying to do.
loop at itab
Update transaction 1
endloop
loop at itab
update transaction 2
endloop.
Thanks,
Arun
2008 Nov 19 3:01 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |