Application Development 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: 

reg: smartforms help

Former Member
0 Kudos
87

hi gurus,

i have display a list of cutomerrs with their bills no and amount.but my problem is

for every new customer i have to display his bill no and amount in new .how to code for this .pls help me its urgent.

thanks and regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
58

Hi

You want this from SD point of View or FI point of view?

IF it is Sd point of view use the VBRK and VBRP tables

from FI point of view use BSID and BSAD tables.

Fetch the data into ITAB with Customer, Billing doc and accounting doc.

sort itab by kunnr vbeln (or belnr).

Loop at Itab.

at new kunnr.

write the header data in the header window. and

the bill details in the MAIn window.

endat.

end loop.

You can write the Program lines(code) in Smartforms itself.

Reward points if useful

Regards

Anji

2 REPLIES 2

Former Member
0 Kudos
59

Hi

You want this from SD point of View or FI point of view?

IF it is Sd point of view use the VBRK and VBRP tables

from FI point of view use BSID and BSAD tables.

Fetch the data into ITAB with Customer, Billing doc and accounting doc.

sort itab by kunnr vbeln (or belnr).

Loop at Itab.

at new kunnr.

write the header data in the header window. and

the bill details in the MAIn window.

endat.

end loop.

You can write the Program lines(code) in Smartforms itself.

Reward points if useful

Regards

Anji

Former Member
0 Kudos
58

Thanks