cancel
Showing results for 
Search instead for 
Did you mean: 

Form Logic

Former Member
0 Kudos

I have a to made a smart form the requirement ia to print a form as somthg as follows,

Detail Bill

company address

Name and Address -


-


signature

Date : Bill No : PAN No:

Slno: refDocType: pcs: 1 jewelType: ornament desc:

melting purity: grs wt: net wt:

others : 23,5567rs VAT: 2334.00 WCtax:

Nett AMount=rs

total no of pieces:

i was askes to refer tables

vbrk,vbrp

and transactions

VF01/VF02,

I have created two itab each of two tables

copied all data to it,

then created a templat for top heading and address,

used an outertabl for looping through customers(itab_vbkr),

used an inner loop for items of each item of customer ordder(itab_vbkp) with where condition the vbeln filed is same

plz say me if am doing it right?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

very good job indeed. What is the question?

Former Member
0 Kudos

firstly i am unable to identify a few fields in vbrk and vbrp table in the form like the ref doc type,jewel type,melting purity,skin purity,wc tax.

Secondly,when bill is to be tken a print out all the customer who has placed an order will be included in the smart form,isn;t it?

Sandra_Rossi
Active Contributor
0 Kudos

it doesn't look like a "form printing" question, but rather a general abap question "which tables contain this kind of information"?