cancel
Showing results for 
Search instead for 
Did you mean: 

How to COPY SAP Script?

Former Member
0 Kudos

Hi Experts,

I am looking forward to copy a SAP Script of Z_MEDRUCK_PO to Z_MEDRUCK_PO_MODIFIED_HEADER_TEXT_LOCATION, in order to change the location of header text printing from bottom to top.

so, request u that, let me know, How to COPY a SAP script? step by step, if time permits.

thanq

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Here are few links :

http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

check following links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/591c31cf-0d01-0010-8ab7-a1f...

this one is very simple example tutorial.

http://www.thespot4sap.com/articles/SAPscript_Introduction.asp

http://help.sap.com/saphelp_46c/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm

http://help.sap.com/saphelp_46c/helpdata/en/f4/b4a54b453611d189710000e8322d00/frameset.htm

How to Copy Standard Form

We should not touch the standard script,

if we want to do any modifications then we have to copy that script and then do.

So steps to copy the script,

go to se71 give some name for the script,

click on change/create button,you will get dialog box,

(ignore it)press enter,it will take you inside the form

then click on the menu FORM-> COPY FROM

give the std script name and press enter

your new script(copy of std script) is ready to make any modifications.

or do in this way

go to se71,

click on the menu UTILITIES->COPY FROM CLIENT

give the std form name,

client name(n which client it is present)

and new form name

your form is ready

==============================================================================

Logo in SAP Script

These are the steps to be followed for uploading graphics in R/3 system

1. First save the file as BMP

2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and

make it Zoom as 100% and save as *.TIFF

3. Open SE38 and execute program RSTXLDMC

4. Give your TIFF file path name

5. Select Bcol (for Color)

6. TEXT ID will be ZHEX-MACRO-*.

7. Inplace of * write your own logo name (ZCOMPANYLOGO)

8. Execute the program

9. Now Goto SE71 create your ZFORM

10. Create logo window

11. Goto text element of logo window

or

In 4.6x :-

1. Goto SE71 Change the mode to GRAPHICAL

2. Choose the Graph Tabstrips

3. Now type in some name for the LOGO WINDOW

4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP

5. The code will be written automatically. You just need to drag and drop wherever you want

the graphics to be.

Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).

DYNAMIC Logo

Based on the company code you can send the logo name into a Variable from your Driver program and you can just use it here in the following statement.

/: BITMAP V_LOGO OBJECT GRAPHICS ID BMAP TYPE BCOL

make an if-statement for burks. You have to insert

the logos as stadart-text.

do this in script

IF &BUKRS& = '0001'

INCLUDE Z00001 OBJECT TEXT ID ST

ENDIF

IF &BUKRS& = '0002'

INCLUDE Z00002 OBJECT TEXT ID ST

ENDIF

Refer this thread:

Reward Points..

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

SE71->utilities-Copy From Client.

Regards

Raju Chitale

Former Member
0 Kudos

Goto Transaction Code <SE71> and

select from Menu UTILITIES ->Copy from Client.

Enter the Form Name, Its source Client and the target Form Name that you want it to be saved as on your client.

Say you are naming it as zmedruck1.

Click on EXECUTE.

Hope this helps.

Reward if helpful.