cancel
Showing results for 
Search instead for 
Did you mean: 

sap scripts its urgent

Former Member
0 Kudos

hi iam in devlopemnt of sap-scripts.

ia hav a problem,

that is in the main window we hav TOP,BODY, BOTTOM .

i hav to print some fields from mara table at TOP level of the page.

i hav passed the parameter in write_form fm TOP .

but iam not getting the exact result. shoul i mention anything on the main window at form levet to print the TOP?

plz giv me the solution.

Accepted Solutions (0)

Answers (2)

Answers (2)

srinivas_akiri
Active Participant
0 Kudos

Hi,

In the script use TOP .. ENDTOP option like

: TOP

&variable&

: ENDTOP

Former Member
0 Kudos

thnks for ur reply!

ok i hav declared the top and endtop its fine,

so if i hav declared TOP as well as BOTTOM , if i wanna print these two, should i need two write_forms FM in my driver program?

plz explain.

thanks in advance

Former Member
0 Kudos

Hi,

What ever you print the Fields in the TOP, declare those fields in a Separate Element in the Script, then call the WRITE form in the driver program and pass the Element and TOP

Regards

sudheer