2006 Oct 10 7:40 AM
Hi,
I am updating xk01 . I have one problem .My Vendor is having 3 bank accounts in three different states .when I am up dating it is taking only one row of the flat file and when it comes to second row vendor number will be same but bank details will be different .How can i do this .
Thanks in advance
Hi,
I am updating xk01 . I have one problem .My Vendor is having 3 bank accounts in three different states .when I am up dating it is taking only one row of the flat file and when it comes to second row vendor number will be same but bank details will be different .How can i do this .
Thanks in advance
2006 Oct 10 7:45 AM
HI,
Click the below links, it is having sample programs
http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
Regards
Sudheer
2006 Oct 10 7:46 AM
Hi,
You can have a LOOP ENDLOOP and within this you can update the bank details for a vendor, so that he can have multiple entries in here.
So while filling BDC data for screen 130 of program SAPMF02K , before building bdcdata for ok code part, use loop / endloop.
Rgds,
HR
2006 Oct 10 8:07 AM
Hi,
you must keep in mind, that's a table control-
try:
CONCATENATE 'KNBK-BANKS(' zei ')' INTO hfnam. "cursor
PERFORM bdc_field USING 'BDC_CURSOR' hfnam.
PERFORM bdc_field_loop USING zei 'KNBK-BANKS' kbkwa-country_cd.
PERFORM bdc_field_loop USING zei 'KNBK-BANKL' kbkwa-bank_routing_cd.
PERFORM bdc_field_loop USING zei 'KNBK-BANKN' kbkwa-bank_account_no.
PERFORM bdc_field_loop USING zei 'KNBK-KOINH' kbkwa-account_holder.Message was edited by: Andreas Mann
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |