‎2007 Jun 14 7:32 AM
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.
‎2007 Jun 14 7:37 AM
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
‎2007 Jun 14 7:38 AM
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
‎2007 Jun 14 7:39 AM
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