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

Create SAP script form to print check

Former Member
0 Likes
2,655

Hello!!

I am new in SAP script, but I am familiar that how to create windows element and other stuff and attached to ABAP program . I have asked to create SAP script form to print check information on pre-printed stationery.

What are the steps I have to take in order to create it . I know I have to read data from table :PAYR

In my ABAP program I have to create open form , read form and close form … as well as in SAP script I have to create windows .

Am I on right track . is any body there any help me or give me some code or example or steps .

Waiting

Cheers

Usman

1 ACCEPTED SOLUTION
Read only

former_member181966
Active Contributor
0 Likes
2,174

Does it helps you Usman ..if so ..pl..close the thread !

Thanks

Saquib Khan

12 REPLIES 12
Read only

suresh_datti
Active Contributor
0 Likes
2,174

Hi Usman,

Pl take a look at the delivered layoutset F110_PRENUM_CHK in SE71. I would suggest to copy it & change it to suit your needs instead of staring afresh.

Regards,

Suresh Datti

Read only

Former Member
0 Likes
2,174

Hi Usman,

IN the sap script, you have to define pages, windows and page windows.

In the page windows text elements, you can place your variables that are to be printed.

Suppose you want to print the value in a variable var1,

then you should write,

&var1&.

This var1 should be already populated in the print program.

In the print program, you need to fetch the data into the program variables.

Call open_form.

Write_form for the particular text element and then close the form.

Regards,

Ravi

Read only

former_member181966
Active Contributor
0 Likes
2,174

Usman I agree with Suresh and also Goto-> FBZP fransaction and in the payment methods for company code push button u can attach ur form there for the respective company code.

Thanks

Saquib

Read only

Former Member
0 Likes
2,174

hi Usman

ya, you are on right track.

check out this link.

http://www.sap-img.com/sapscripts.htm

it will help you answer all your queries.

Regards,

Richa

Read only

0 Likes
2,174

Thanks Guys , I tried to see form F110_PRENUM_CHK in my client. I also went to copy from client in menu option , but its messaging “form does not exist “ why is that that ? I change the client from 000 ,010,020,050 in our DEV env...

• Other thing after copying the form , where I have to assign , so when I send print out its should read some out put type and I can make sure what going on ?

I know how to develop SAP scripts as I have developed around 10 SAP scripts in SD.

Cheers

Usman

Read only

0 Likes
2,174

run this report RSTXFCAT & look for F110_PRENUM*

Regards,

Suresh Datti

Read only

0 Likes
2,174

Thanks Suresh .It’s a great report and I found the script “F110_PRENUM_CHCK” . Now after copying it to “Z” . I have some question. Like in SD when you copy a script in to Z , you also assign Z scripts in IMG and also create an output type , so when you execute the script it trigger your script and you can see the changes .

In HR how I see the out put after copying it to Z. Do I need to assign some where in IMG (SPRO)?

Please help in this regards

Cheers

Usman

Read only

0 Likes
2,174

Hi Usman,

Transaction NACE is the place to attach the output types to print programs and forms.

Regards,

Ravi

Read only

0 Likes
2,174

When I copy script from “copy from client “ , after copying it “Z” I selected check box = flow trace = “X” and original language = ‘X”. Its showing me in language attributes as Original language = DE and language key = EN.

Am I doing right?

In NACE for which application I need to assign this SAP script ?

Cheers

Usman

Read only

0 Likes
2,174

FYI...

<b>Goto-> FBZP fransaction</b> and in the payment methods for company code push button u can attach ur form there for the respective company code..

find the compnay code!!!Double click "Paylink Cheques" and assign form name !!!

Thanks

Saquib

Read only

former_member181966
Active Contributor
0 Likes
2,175

Does it helps you Usman ..if so ..pl..close the thread !

Thanks

Saquib Khan

Read only

Former Member
0 Likes
2,174

Hi Usman,

I am also doing check printing.For this you need to go to fbzp-tcode and see the option:Payment methods in company code and assign the form and in paying company codes assign the program name.

Standard ones for these:F110_PRENUM_CHCK

program:rffous_c.

Make a Z copy......