PO changes in SAP Script
Hi,
I'm using standard program for my Purchase Order calculation in SAP Script in 4.6B. this is the stucture of my program
ZIND_MM_PO(main Program) => INCLUDE ZFM06PE02_IND(one of the includes) =>Form entry_neu(one of the forms inside the include)=>Z_ME_PRINTPO(one of the function modules inside the form) =>vt_atotal(one of the varables used for total calculation inside the FM)
i need to print the vt_atotal variable in my PO(which is the sum of all tax values which is calculated based on some condition types).
i've tried taking out the variable by assigning it in the export variable.
and in the editor screen of the script i've calle the particular perform Form entry_neu using the variable vt_atotal.
I'm not getting the value.....
the problem is... it is having the value inside the function module but not bringing it outside...
is there any other way to print the variables in my PO output?
thanks in advance
Jegadesh
Hi
It appears that you have copied the STd driver program of SAP SAPMF06P into Zprogram and you are using
Have you attached the std one in NACE tcode for the Output type NEU against the form ZMEDRUCK (Copy of MEDRUCK) correctly.
I think you are not using external subrotuine PERFORM in the script?
If you wrote the code correctly for the Total it will come into script
Check where the data of that code is coming into script? I mean in which TEXT ELEMENT is triggering for that code
you have to write under that TEXT ELEMENT only in script.
Regards
Anji
Similar Messages
-
Hi,
How to change the SAP Script Package..when i use option copy from client option, it ask for a package but after copied it shows in the $TMP package...
how can i change it.
Regards,Hi,
Goto SE80 --> select LOCAL OBJECTS from the drop down and hit enter.
You will be displayed a list of all local objects.
Locate your SAP SCRIPT --> right click on this script name --> click More Functions --> click Change Package Assignment and you will be prompted for a package name.
Give new package name and click done.
Your script is now assigned into the specified package.
Regards,
Tarun -
How to change a SAP script output without changing Print Program
Hi,
I want to change output of standard PO report printing object. I have to change the ZSAPSCRIPT but I have to keep the print program intact. please give me ideas.Hi for that you have to do following.
1. Create a ZPROGRAM
2. Write a Perform in your SAP Script.
3. Write Form inside it your ZPROGRAM.
Hope this will help you.
<i><b>Reward points for helpful ans.</b></i> -
Quotation(VA22) - How to change form - sap script or smartforms ?
Hallo,
as defaults, by VA22 I can print the quotation by sapscript.
I have to change form: I have to create a new smartforms instead sap script. in transaction V/30 I can set some parameters to change it.
My question is: Where is the correct parametrs to entry ?
(I entered the name of smartforms and a Z print program but I got an error message )
Any idea ?
Tks.Hi,
I guess the terminology's causing some problems. Here's what I think you need to do;
In transaction V/30 select the Output Type then double-click on the folder 'Processing Routines'. The columns are as follows;
Medium - Print, email etc
Program - Name of the print program
FORM Routine - name of the subroutine in the print program that will be called
Form - Name of the SAPscript (if used)
PDF/Smartform Form - Name of the Smartform, or pdf form (if used)
Type - If a Smartform or pdf form is specified, select from this drop-down which type it is.
If you're getting an error when you enter your parameters, it would be useful if you told us what the error was.
Regards,
Nick -
To put a new page when month changes in sap script
hello experts,
how to put a page break whenever the month changes from the date range given ...
e,g : 12.03.2007 to 12.09.2007 ... here i want to put the page break betwwen the records of month 03 .. 04..05..06... 09...Hi
It depends on how you manage your sapscript, anyway in your program load all data the range in a internal table:
DATA: BEGIN OF ITAB OCCURS,
DATE LIKE SY-DATUM,
END OF ITAB.
ITAB-DATE = DATE_TO.
APPEND ITAB.
MONTH = DATE_TO+4(2) + 1.
DO.
IF ITAB-DATE = DATE_TO. EXIT. ENDIF.
ITAB-DATE+4(2) = MONTH.
IF ITAB-DATE(6) = DATE_TO(4).
ITAB-DATE = DATE_TO.
ENDIF.
APPEND ITAB-DATE.
ENDDO.
LOOP AT ITAB.
CALL FUNCTUON 'CONTROL_FORM'
COMMAND = 'NEW-PAGE'.
ENDLOOP.
Max -
Change the charcter format in sap script
hi experts,
i m working first time chaneg in sap script i don't know how to change the sap script charcter.plz any body help me how can i change in sap script charcter format..
thanks in advance
kamalHello Kamal,
PLZ is an character format with the length 8. In VBScript it is a string.
You can use e.g. the VBScript commands CLng(PLZ) to convert it into a number, FormatNumber to format the number or any other string command. What do you mean exactly with change character format? From ASCII to Unicode or from one character set to another, maybe from ISCII to TSCII?
Cheers
Stefan
Edited by: Stefan Schnell on Dec 19, 2011 4:04 PM -
Hi All ,
I have a problem changing my sap script in dev. say client 200 , i can display the form in 200 , when am trying to change the form in client 200 it showing 'ERROR IN OBJECT EDITING ' and displays an error message 'REQUEST/TASK kd1..... HAS INVAILD SOURCE CLIENT 100'. Any suggestion on how to change the form pls...
Thanks,
Vind.Hi
May be the problem is with wrong request number. You can do one thing you can copy the script to other client by going to se71 transaction and using menu utilities-> copy from client. If you want the script only in this client do one thing make any changes in the script and try to save the script then it will ask for the package and request then you give the request id of this client.
Hope this will help you.
Regards
Haritha -
Hi All ,
I have a problem changing my sap script in dev. say client 200 , i can display the form in 200 , when am trying to change the form in client 200 it showing 'ERROR IN OBJECT EDITING ' and displays an error message 'REQUEST/TASK kd1..... HAS INVAILD SOURCE CLIENT 100'. Any suggestion on how to change the form pls...i tried to copy the 'FORM' from client 100 TO client 200 but the problem has not been solved is their any to do with the owner who created the script ??
Thanks,
Vind.Hi Srikanth,
I dont have access to client 100 is their any other way to transport the request ??
Thxs,
Vin. -
Program to Compare SAP Scripts
Hi,
Please let me know the Program to compare all the attributes like Window, Paragraph formats along with the Text elements included in the Window of SAP Script.
When I change a SAP Script, an entry with the form name is included in the Transport Request. Please let me know how to find the language of the Script included in the respective Transport Request.
Thanks,
Madhuri.Hi Rich,
I used the program RSTXFCOM to compare clients.
I have copied the existing Script into new Script and did not do any changes in the copied Script and ran program RSTXFCOM to compare Forms.
I expected message saying no differences found, But when I saw the output, It showed the default Text Element in the Window are different. Can you please explain me the reason for the Differences.
After that I changed the Text in a Text Element of a Window. and again I ran program RSTXFCOM to identify those differences. But Program RSTXFCOM was not identifying those differences. Can you let me know is there any other way identify the differences in the text of the Window.
Thanks in Advance,
Madhuri. -
Attaching Transport Req to SAP Script
Hi All,
When i changed the sap script in DEV server, the system is not asking for Transport Request number.
Now, i have to attache it a TR and then move the same to Quality....
How to do it.....????
Regards
Pavanhi,
goto SE03 select change object directory entries - execute.
give as form formname and execute.
select ur form and click object directory save in package it will ask request.
now u can use this request to transport to quality.
the other alternative is u can use program RSTXFCPY to transport scripts between clients. -
How to change the format in sap script
Hi,
I am working on a report which calls a sap script and i have to modify the script i.e. the values which are displaying in it. i had never worked on SAP SCRIPTS ,plzz provide me guidlines how to change the format of the data displayed in it.hi,
this will give you the whole idea about the scripts in SAP the t-code is SE71.
refer this link::
[SAP SCRIPTS|http://help.sap.com/saphelp_40b/helpdata/en/d6/0dc169494511d182b70000e829fbfe/applet.htm]
[WIKI|https://wiki.sdn.sap.com/wiki/display/ABAP/FormPrinting-SAPscript%2CSmartforms]
regards
sarves
Edited by: Sarves Sombhatla on Feb 20, 2009 1:38 PM -
How to change a Code Page in SAP SCRIPT ?
I have a specific requirement, would need your help :
There is a <u><b>CODE PAGE</b></u> which is getting assigned to the <u><b>SAP SCRIPT FORM</b></u>. <i><b>For E.g : 1100 is generally used for SAP SCRIPTS.</b></i>
I would like to know if there is a possibility to change the <u><b>Code Page</b></u> based on certain conditions ??
Also i would like to know how and where is a <u><b>CODE PAGE and SAP SCRIPT FORM linked.</b></u>
I have analysed that a <b>default code page</b> can be set in the <b>SAP LOG ON PAD</b> but not able to find the issues mentioned above.
Kindly help me out with your valuable suggestions and solutions.
Thankyou
Brijesh.Hi,
MDMP means Multi Display Multi Processing. See the note system for details. The problem of MDMP is that the different languages use different codepages and not all characteres can be displayed in every codepage.
A solution would be a unicode conversion of the system. In unicode there is only one internal codepage, which contains all special characters of the individual languages. However the migration needs several hours of down time and unicode systems need more memory and disk space. I can't tell you a percentage for that. You need at least R/3 4.7 for unicode.
In non-unicode system I believe you can't change the codepage inside a SAPscript document directly. I would have to end form processing an start a new form. To change the language you can try the ABAP-command SET LOCALE. Also see the language parameter in START_FORM.
If that doesn't work I would try using RFC-Connections. Make RFC-Connections in your system which contain the system it self as target system, but with the desired language filled in. You do not need to provide a user or password, that would be taken form the logged on user.
Inside your printing program you put the real printing into a function module. Your report then can call the function via RFC using a connection in the correct logon language.
Greetings -
Change in output of quotation form in main window ( in SAP SCRIPT)
HI expects,
i want to change to the output values of quotation form and that should come in single line. at present it is coming in double line.as per my requirement is to be display the data in one line.
item material description
Qty price price unit value
0010 fff.044 motor
10ea 26.541.00 1ea 265.41
my requirement is
item material qty description price price unit value
0010 fff-044 10ea motor 26.541.00 1ea 265.41
how can i solve this problem in SAP SCRIPT (standard form : rvorder01)Hi,
As stated above , you cannot make changes in standard SAP script, create a Z one and then use it.
Manish -
How to change the font dynamically in SAP script
Hello,
There are three fields for a line item to be printed in SAP form (Through Script). The font of one field has to be bigger than rest of the two.
Can anybody tell me how to change the font of a specific field in a line of an SAP-script?
Regards
KiranHi,
Its like any other character format. you can have any field with a character format.
--Ragu -
Change font size in sap script
hallow
i wont to change the font size in sap script to larger fonts how i do that?
regardsHi,
Try the following:
Go to Tcode SE71.
Provide the script name & Selct the 'Character Format" Radipobutton from the Subobject tab.
Now go for Change.
There is a Font Button on the rght hand side. select it & here you have Size field. Provide the size of font you want to change.
Same thing you can do for Paragraph format.
Reward points for helpful answers.
Ashvender
Maybe you are looking for
-
Unable To Get Lab view vi to display current signal
I am using a Vishay Linear Displacement Transducer to measure linear displacement, this is how my current connections are ( The Vishay LVDT allows full bridge connections) 1. I coonected the wires from the LVDT to SCXI 1321 terminal block. The termin
-
Calendars No longer showing up
Have until recently, been perfectly able to sync my 8900 with my iMac. However when loading up DM, and hooking up 8900 via usb cable it's not working properly. Am running DM 1.0.4 (build10) and the latest Mac OS 10.6.4 Once BB is connected, the Calen
-
Where is the "scanner sharing" option in OS X Mavericks?
I updated my MacBook Pro and my iMac to Mavericks and now I see that the scanner sharing option in System Preferences is disapperad.. Can someone help me? Thanks in advance.
-
installed adobe flash 13 and i cant watch any videos i uninstalled it installed it and the f-ing adobe pagesays its missing a plug in and im looking at the plugins and lo and behold its plugged in and i downloaded mavericks about a week ago the funny
-
I cant find the healing brush tools. what should i do?
i cant find the healing brush tool. what should i do? can anyone please help me?