Application Development and Automation 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: 
Read only

Running/Testing the SapScript Delivery Note

former_member192818
Active Participant
0 Likes
1,952

Hey,

I did a small change in a SapScript form that we needed to customize for the Delivery Note.

I did the changes to my SapScript form in SE71. I did a "Test Print" of my form and it worked fine. Here I can see that the formating and the text is in place on the form, but no actual data.

For Output Type LD00(Delivery Note), the configured Program is RVADDN01, and the Form is Z_DELIVERY. I tried running RVADDN01, but it does not have a selection screen??

I want to actually test/run the SapScript and produce a Delivery Receipt of the form. How can I do this?

Thank you for your help.

Sumit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,444

use transaction VL71, to print delivery note.

But before that you have to assign delivery document to output type, so in VL02N select Tab 'EXTRAS'-> DELIVERYOUTPUT-> ITEMS.

here assign output types, and choose communication method and give the printer destination and check tab 'PRINT IMMEDIATELY'.

Message was edited by: Sharath kumar R

8 REPLIES 8
Read only

Former Member
0 Likes
1,444

If you just want to test it, then you can run RSNAST00 program just after you save the document.

or

write a small report which call the form entry.

perform entry in program RVADDN01 using return_code Screen.

Regards,

ravi

Read only

Former Member
0 Likes
1,444

HI,

If you execute the Layout Directly from SE71, you can see the skeleton of the output, orelse, you wil find a Option OUTPUT(in the Menu) in the Delivery transaction, there you can press this output button then select the Print output, then it will give you the output

Thanks

Sudheer

Read only

Former Member
0 Likes
1,444

hi

good

have to done the changes in standrad report as per your requirements

convert the RVADDN01 report to z* report, pass the script that you have developed using the OPEN_FORM, START_FORM function modules, than it will directly pass the data to your sapscript form.

thanks

mrutyun

Read only

LucianoBentiveg
Active Contributor
0 Likes
1,444

Look up for a printed message in table NAST and run RSNAST00, if you put a break in perform routine TNAPR_LESEN, you can change values readed from TNAPR, sapscript name, entry routine, etc.

Regards.

Read only

0 Likes
1,444

Great tip Peluka!

I was able to get some forms from this table and do the testing.

Thank you very much.

Sumit.

Read only

Former Member
0 Likes
1,445

use transaction VL71, to print delivery note.

But before that you have to assign delivery document to output type, so in VL02N select Tab 'EXTRAS'-> DELIVERYOUTPUT-> ITEMS.

here assign output types, and choose communication method and give the printer destination and check tab 'PRINT IMMEDIATELY'.

Message was edited by: Sharath kumar R

Read only

0 Likes
1,444

Thanks a lot Sharath.

That solved the problem.

Read only

sridhar_k1
Active Contributor
0 Likes
1,444

VL02n initial screen, enter delivery# and in the menu select outbound delivery->issue delivery output.

Regards

Sridhar