cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP SCRIPTS

Former Member
0 Likes
520

Hi All

I' new in ABAP Programming . I'm working on CASH JOURNAL FORM ,I have designed the form as per the client request .But i'm not able to Proceed further ,can anyone explain me what i should do next,To the print program i have copied standard program (RFKORD80)to zprog(zrfkord80) but how can i trigger my form to the standard program.

I will be thankfull if anyone can help me

Cheers,

Mujeeb

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Mujeeb

I'm posting a step by step example (although example is for PO printing, you can follow the corresponding steps for your application):

PO printing

For which print program : SAPFM06P

Form name : MEDRUCK

Now, suppose i want to change the name of the print program or form, you can proceed as follows:

TXN NACE -> choose Application Area ( EF for purchase order) -> output types (tab on the application toolbar)

-> choose any Output type( 'NEU' in case of PO) and click on Processing Routines (in left hand menu). Now, you have got the mapping of program - form. Just change program/script (as desired) and save

Regards

Ashish Jain

Answers (2)

Answers (2)

jayanthi_jayaraman
Active Contributor
0 Likes

Hi,

Check this link.

http://sappoint.com/abap/

http://www.henrikfrank.dk/abapuk.html

Kindly reward points by clciking the star on the left of reply if you find it as useful.

former_member221770
Contributor
0 Likes

Hi Mujeeb,

I am not sure what exactly you are asking for. Are you looking to use te Standard Print Program and use a customised SAPscript, or have you customised the Print Program and want to use your customised SAPscript?

I am assuming you mean the latter (custom Print Program and SAPscript).

Well you need to configure the system to use your Print Program and SAPscript.

Go to the SAP IMG (transaction SPRO), and the following menu path:

Financial Accounting->Financial Accounting Global Settings-> Corespondence

This menu path is where you define your SAPscript settings for FI.

"Define Correspondance Types" defines types od documents you wish to produce. You should look here to find out which Correspondence Type you are using for your Cash Journal Forms.

Once you have found out what Correspondence Type you are using, go to "Assign Programs for Correspondence Types". Double click on your correspondence type and you can enter your customised Print Program here (ZRFKORD80) and your variant (which you must create via SE38 for your program).

"Define Forma Names for Correspondence Print" alows you to define your SAPscript form for each Correspondence Type. Enter in your customised SAPscript here as required.

Now when you tell SAP to print out the relevant Correspondence Type, it will look into the config to find your custom Print Program and then find your custom SAPscript and use them to create your output. You do not need to hard code in the SAPscript name in the Print Program at all.

Hope this makes sense to you. Let me know if you need more info.

Cheers,

Pat.

PS. Kindly award Reward Points as appropriate

Former Member
0 Likes

Hi pat

First off all thanks alot for replying me ,

I'll explain my problem in detail . i'll give you the clear cut idea:

REPID: RFKORD80 , Form(f140_cash_doc_01)-->Standard

ZRFKORD80 , Forn(zf140_cash_doc_0)-->changed to Z

Now u might have got the problem,

When i'm executing RFKORD80 i'm getting the standard output.

When i execute ZRFKORD80 i should get my desired output.

can you give me the procedure how to get the result.what should i do it to get my result.

can you tell me from which line the standard prog is giving the output ?what should i do futher.

If you can help me i'll be verythanfull to you .

One more thing i would like to add is this is the first forum answer i recevied in avery short period in SAP.

Thankyou for that ,will be waiting for you msg canyou reply me on my e-mail id :mmujeeb2@rediffmail.com

Thankyou

RichHeilman
Developer Advocate
Developer Advocate
0 Likes

As Patrick has stated, you need to do the configuration in transaction SPRO. You need to tell the system to use your custom print program and custom sapscript form instead of the standard.

Regards,

Rich Heilman

Former Member
0 Likes

Hi Mujeeb,

1) Goto TCODE NACE.

2) U can select the appropriate category to which ur forms belongs to.

3) If you aren't sure abt the category, just browse through each of these.

4) U'll find that the std program RFKORD80 is associated with the std form.

5) U can change this assignment here and give ur new formname. (ZFORM).

6) This would trigger ur new form.

7) You can also do this by SPRO.

Cheers,

Sam