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

How to do FB70 Table control recording..

Former Member
0 Likes
1,335

Hi All,

Please help me in BDC Session Recording for Tcode FB70 Table control.

I don't know, How many line items I have to insert.

How to do recording for table control line items.

Hi All,

Please help me in BDC Session Recording for Tcode FB70 Table control.

I don't know, How many line items I have to insert.

How to do recording for table control line items.

6 REPLIES 6
Read only

Former Member
0 Likes
1,120

Check the below link ,this link contains Table control logic.

http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

Do the recording and add table control logic.

see the below logic for table control..

DATA : FNAM(20) TYPE C,

IDX TYPE C.

MOVE 1 TO IDX.

LOOP AT IT_BANK WHERE LIFNR = IT_XK01-LIFNR.

CONCATENATE 'LFBK-BANKS(' IDX ')' INTO FNAM.

perform bdc_field using FNAM

IT_BANK-BANKS.

CONCATENATE 'LFBK-BANKL(' IDX ')' INTO FNAM.

perform bdc_field using FNAM

IT_BANK-BANKL.

CONCATENATE 'LFBK-BANKN(' IDX ')' INTO FNAM.

perform bdc_field using FNAM

IT_BANK-BANKN.

CONCATENATE 'LFBK-KOINH(' IDX ')' INTO FNAM.

perform bdc_field using FNAM

IT_BANK-KOINH.

IDX = IDX + 1.

ENDLOOP.

Thanks

Seshu

Read only

0 Likes
1,120

Hi Seshu,

Please explain me, how to do recording for table control. Where to click the cursor first. And how to add no. lines in table control etc.

This is first time I am doing this Table control.

Read only

0 Likes
1,120

Hi Priya...

It was very clearly explained by our friend..... Ok

Have heard about SHDB... say new recording and start entering your data...

If the hint is useful… Say thanks by reward….

Regards,

Prabhu Rajesh

Read only

0 Likes
1,120

Hi Prabhu,

Thank you very much for your precious time. I know how to do recording. I want to know some thing about Page up, and Page down, Insert row concepts in Table control.

I Think my earlier question is not in a proper way.

Anyways I got the answers for my doubts.

Thanks!!

Priya.

Read only

0 Likes
1,120

Priya - FB70 is an EnjoySAP transaction and not suitable for batch input. If you manage to succeed in creating a session for it and then try to run it in the background, it will dump.

The better solutions are to use a BAPI or create a batch input session based on FB01 (very difficult unless you have experience at it).

Rob

Read only

Former Member
0 Likes
1,120

Hi ,

u can use this BAPI for Customer Invoices.

BAPI_INCOMINGINVOICE_CREATE

and see its documentation for more info.

Regards

Peram