‎2009 Feb 10 5:59 AM
Hi Experts,
To display the total amount on each row in a form after doing some calculation I have to fill an internal table and modify it.
Regarding this i have few Queries:-
I have to read data from a deep structure which is INVOICE_S_PRT_INTERFACE -> ITEM_DETAIL (table type INVOICE_T_PRT_ITEM_DETAIL which is of structure type INVOICE_S_PRT_ITEM_DETAIL) and having VBDPR structure in it.
From this VBDPR i have to read POSNR, matnr, netpr mwsbp and perform calculation on netpr & mswbp to displat total in a new column on each row.
I dont no how to access this VBDPR structure data which is line item data.
If i can get these line items in a internal table i can perform calculation.
Please tell me what are the types, internal table i have to define and how to read this data.
Regards,
Nik
‎2009 Feb 10 6:02 AM
‎2009 Feb 10 6:10 AM
‎2009 Feb 10 6:16 AM
‎2009 Feb 10 6:31 AM
‎2009 Feb 10 6:35 AM
Hello Nikhil,
I donot find it in my SE11 :-((
Which SAP version are you using ?
BR,
Suhas
‎2009 Apr 26 1:20 PM
‎2009 Feb 10 6:09 AM
Hi,
Declare an internal table of type INVOICE_T_PRT_ITEM_DETAIL
data : gi_item type INVOICE_T_PRT_ITEM_DETAIL.
Get the data into the table using gi_item = INVOICE_S_PRT_INTERFACE-ITEM_DETAIL.
Now by looping/reading internal table GI_ITEM u can access the field VBDPR for display or any other processing.
Regards,
Dwaraka,.S
Edited by: Dwarakanath Sankarayogi on Feb 10, 2009 7:10 AM