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

MIRO

Former Member
0 Likes
657

hi all,

In MIRO there is a BADI invoice_update. In one of the method of the badi i have an internal table LINES with data in it. After pressing save in MIRO , i am printing smartform through NACE transation with output type REKL. I want internal table LINES (with data) from that method to the driver program of the smartform.

I have used import & export but its not working.

plz help!!!! its urgent.

3 REPLIES 3
Read only

Former Member
0 Likes
622

Hi,

You can select the line items from the table RSEG..why do you require that internal table...does it contain any additional information..

Thanks

Naren

Read only

Former Member
0 Likes
622

Hi,

You need to use

<b>EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key.</b>

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/export01.htm

For Import

<b>IMPORT f itab FROM DATABASE dbtab(ar) ID key.</b>

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/import01.htm

Regards

Sudheer

Read only

Former Member
0 Likes
622

Hi

You have to find the relavent structure/table similar to LINES data fields in the Driver program

and move the data from the LINES to that structure table and update it in the BADI with the data of lines

and then you can use that table for the Output printing in smartform.

Reward points for useful Answers

Regards

Anji