A question about SAP script
Consider a main window, can its width & length be changed/different with first page?
Most of the time main window in first page will have diffrent position and second page onwards it will have diffrent position .
one example :
sales order details - want to print layout form
requirement will be customer address should be in first page and body will be in first page and next page also.
first page - we will print customer address and body
next page onwards we will not print customer address and main window will have more space ,so here we need assign diffrent position.
Similar Messages
-
Question concerning sap script
Hi all experts! I have a question concerning sap script
First some background information:
Ive created a sap script that is called from a function module and from an executable program, when I run the executable program the sap script work fine, but when I run the function module, all the variables in the sap script dont have value
In the function module the variables are defined in the top include
I dont know why these variables dont take his value from the function module
Any ideas?
Thanks in advance.
Message was edited by: Gerardo hernandezI think that sapscript expects its variables to be in the program which calls the fm <b>by default</b>. When you test via SE37 the framework itself is the calling program and it's unlikely that it will have a variable named kunnr-name1.
To over-ride this default, inside your fm pass the 'options' parameter(type itcpo) to 'open_form' and set the 'tdprogram' value to sy-repid in the function module.
I have tested this in my own environemnt and initially got the same error as you. When I set the tdprogram variable it started working! -
Some questions about SAP esourcing
Hi expert,
I have one question about SAP eSourcing. In RFQ document, before RFQ award is published, our customer do not want the price of RFx response disclosed to collaborators. After the award is published, the price can be released to collaborators. As I know, we can use page customization to hide page field. But the price is collection field. So I failed to use page customization to hide it.
Pls advise me how to realize it.Hi
Please go through the relevant pointers ->
eSourcing covers some scenarios in SRM for Bidding and Auctioning.
Have a look at following link for some infos:
http://help.sap.com/saphelp_srm50/helpdata/en/56/c34e3c59bfe747e10000000a11402f/frameset.htm
Re: e-sourcing
eSourcing 4.2 - Page Customization/Extensions
Re: eSourcing withSRM or eSourcing with ECC?
Hope this will help. Do let me know.
Regards
- Atul -
3 important questions about SAP HANA
Hello Community!
I have got 3 important questions about SAP HANA.
1.
- Our Company has all up about 150 SAP - Systems.
- 12 Systems are ERP-Systems.
=> We consider about SAP HANA at the moment.
=> Is it possible to put all the 12 ERP-Systems in ONE SAP HANA or do I need one seperate HANA for each ERP-System?
=> If it is possible, can you tell me the disadvantages when I use 1 HANA for the 12 ERP-Systems.
=> Is there a Storage-Limit in the HANA (I think no, because of 64 bit).
=> Can I still make realtime-analytics with 1 HANA for 12 SAP Systems?
2.
=> Can I run ONE HANA with different non-SAP-Systems?
3.
=> Is there a Demo-Center from SAP or IBM, where I can test and see the HANA before I buy it?
(I do not mean the Fujitsu TDS Demo Center)
It would be nice, when you would answer all my questions.
Thank you.I have got 3 important questions about SAP HANA.
1.
- Our Company has all up about 150 SAP - Systems.
- 12 Systems are ERP-Systems.
=> We consider about SAP HANA at the moment.
=> Is it possible to put all the 12 ERP-Systems in ONE SAP HANA or do I need one seperate HANA for each ERP-System? Yes it is quite possible to put all the ERP/CRM/SCM or other components on one HANA. You need to check for pricing/users/RAM (storage)
=> If it is possible, can you tell me the disadvantages when I use 1 HANA for the 12 ERP-Systems.
There are no disadvantages as of now.. improve existing planning, forecasting, pricing
optimization and other processes
=> Is there a Storage-Limit in the HANA (I think no, because of 64 bit).
There is no limit on Stotrage: You need check how much Data you need on RAM (Real time processing) Storage.Minimum you can buy is 64 GB and multiple of it for (RAM)
=> Can I still make realtime-analytics with 1 HANA for 12 SAP Systems?
Yes certainly..
2.
=> Can I run ONE HANA with different non-SAP-Systems?
YEs you can run HANA for 3rd party S/W or non-sap systems for your real time anlytics.
It has ODBC and JDBC both and you can combine it with other systems.
3.
=> Is there a Demo-Center from SAP or IBM, where I can test and see the HANA before I buy it?
(I do not mean the Fujitsu TDS Demo Center)
This you need to check with your local SAP Service channel..
It would be nice, when you would answer all my questions.
Thank you.
PY -
Question about calculation script 'Fix'
Hi Guys,
I have a question about calculation script 'Fix'. Below is the sample for my question:
Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
Edited by: 842270 on Apr 24, 2011 7:29 PM842270 wrote:
Hi Guys,
I have a question about calculation script 'Fix'. Below is the sample for my question:
Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
Edited by: 842270 on Apr 24, 2011 7:29 PMYou can use @Remove command to avoid 2009.
@REMOVE
Removes values or members in one list from another list.
Syntax
+@REMOVE (list1, list2)+
Parameter Description
list1
+ A list of member specifications, from which the members specified in list2 are removed.+
list2
A list of member specifications to be removed from list1. -
Question about SAP Router Version
Hi All,
I have a question about SAP Rotuer. How can I check what is my sap router version?
I plan to upgrade my sap router to version 23 because It can monitor by windows services.
Does any one know about this ? Please kindly explain.
Thank you & Regards,
VipuGo to saprouter directory in command prompt cd :\usr\sap\saprouter
> type saprouter -v
You can see result like below
SAP Network Interface Router, Version 38.10
compiled Mar 1 2010 01:38:53
start router : saprouter -r
stop router : saprouter -s
soft shutdown: saprouter -p
router info : saprouter -l (-L)
new routtab : saprouter -n -
Question about SAP client setting when create new connection in CR2008
Dear All,
I have a question about SAP client setting in Crystal Report 2008 when I try to create a new connection use SAP OpenSQL(SAP Table,Cluster,or Function).
I have a SAP IDES environment with 5 clients.
While I try to create a CR standard report use SAP OpenSQL, I entered 800 into Client field in u201CUser logon credentialsu201D. The connection can be created and I can get table list. After I built a report ,I can not get data from IDES client 800, but I can get data from client 000.
I am sure client 800 has data.I checked client 800 table with Tcord se16.
I also did other tests and felt confused a lot.
Even inexistent client, such as u201C00u201Dand u201C8000u201D can be used for creating connection.
I just want to know how can I get data from client 800.
Thanks for your kindly help!
WayneDear Ingo,
Thanks for your reply!
I am not sure about your suggestion clearly. What's your mean all the authorizations to use CR?
Maybe I should clarify my operations.
I logon CR2008 as administrator and created two SAP connections with different client.
There is a table named "/BEV3/CHBALLG" be showed in these connections.
I checked clients "000" and "800" both have data in the table.
I can use client 000 connection create report and get right data, but the report base on client 800 connection could not get data.
If change to another table,such as "/SAPDMC/LSOFIL", I can get data both form these connections.
I found one thing is very weird. Client "00" and "8000" do not exist in my IDES environment, but I can use them for creating connection.
May I have your further suggestions?
Wayne -
General Question about SAP Documentation. Where to find?
Hello,
I am relatively new in the SAP business and so I have some general questions about the SAP Documentation.
Often internet-links like
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIBP/FI-AP-AP-PT.pdf
are posted here by group members.
But where do these group members find these documents?
All I can see at help.sap.com is IDES (the model company created by SAP)and the WWW-version of the SAP-Bibliothek.
Were can I find these PDF-Files?
I would appreciate any hint and tip!
Thank you!
Kakuethats true! i dont know how to find either. Everytime i need something i ask on the forum.
Here's a good link
http://www.easymarketplace.de/online-pdfs.php
Plz reward points if helpfull -
Question about SAP Support pagackes
Hi all
I am trying to understand more about SAP Support packages. Can anyone please help me to answer the following questions.
1. How do we find out waht version of Support package currently installed on our system. ( e.g what command or transaction provides this info).
2. How do we find the latest support pack available from SAP?
3. Do we have to apply support pack to each component or to each module e.t.c
( Any command or tranaction....)
4. What is a differnce between SAP kernel support pack and SAP Note.
5. Is it requirement to apply support package from SAP solutaion manager or can also be applied throught transaction
Thank you very much....Hi Julio,
1. How do we find out waht version of Support package currently installed on our system. ( e.g what command or transaction provides this info).
Go to Txn SPAM --> Click on Package Level --> Check the level against SAP_BASIS or SAP_ABA
2. How do we find the latest support pack available from SAP?
http://service.sap.com/sp-stacks --> SP Stack Information
3. Do we have to apply support pack to each component or to each module e.t.c
( Any command or tranaction....)
There will be support packs for each component like SAP_BASIS,SAP_ABA,SAP_BW .. etc and you can apply them through SPAM.
4. What is a differnce between SAP kernel support pack and SAP Note.
Kernels are central program that are required to run SAP system and these programs reside in OS level.Kernel support pack means correction to these cental programs .There is no transaction for this.You can replace the existing files with the new one ( in simple words ) . SAP note means correction to SAP programs , more than one SAP note is called a Support pack and Note can be implemented using SNOTE and Support packs using SPAM
5. Is it requirement to apply support package from SAP solutaion manager or can also be applied throught transaction
Now you need Solution Manager to download Support packs from SMP.You can apply SPs in the target system without using Solman.
Thanks
Prince Jose
PS: points are appreciated
Message was edited by:
Prince Jose -
Questions about SAP's SRM capabilities
SRM Experts, I have two questions:
In SAP, is it possible:
1. To have "Amount Only Requisitions", that is, specify requisitions that enable requesters to order goods and services specifying only a dollar amount and not quantity.
2. Reopen Closed Requisitions and Purchase Orders, that is, re-open ANY previously closed requisition or purchase order, not only those from the last batch of the Close
Reconciliation process.
Thanks!Ok let me try...
1) One of the Key building blogs will be the SAP NetWeaver Process Integration 7.1. Its provides the ES Repository for Service Metadata and the ES Registry for the Service Endpoints. The Registry you use for finding and classifcation of your services. Any yes XI/PI could be used as ESB.
Another keybuilding block is the SAP NetWeaver Composition Enviroment 7.1. This one is used at Design and Runtime for Composite Process, Composite Views and Composite Application which consume Enterprise Services.
2) WS-Poilcy, WS-Adressing and BPEL is defenetly supported with PI 7.1(release planned for september 2007)
3) This a part of the NetWeaver Composition Enviroment. For Monitoring you need brokered Service communication... in this case you can use PI as integration Broker which is able to monitor your communication.
4) Exacutable Business Process(BPEL) are supported by PI 7.1
You are able to Design these processes with the Design tools of the PI.
For Highlevel Process modeling ARIS for SAP Netweaver is integrated.
So from High Level Process models drill down to theService Operations are all part of the Enterprise Service Repository and can be used to realise you business tasks.
5) SAP provide the ES Workplace and SAP Discovery System for Enterprise SOA
regards,
Robin -
i want to post logo in sap scripts can any guide me
rajuHi Karthik,
To create a logo in SAP printouts just do the following
1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
2. Run program RSTXLDMC and enter the following parameters
Enter file name C:\COMPLOGO.TIF
UOM CM
Line width for text 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Number of Tiff gray levels (2,4,9) 2
3. Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally in the text element, mention
/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
Please note that if object name is not indicated as 'ZHEX... the logo may not be printed!
You will not be able to see the logo in a test print. The same will be printed in actual printout.
SMARTFORM
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) Use TCode SE78 to upload new pictures and logos.
Regards,
Satish -
Hi,
i need to upload logo in sap script according to company code.
we have one sap script and we want to change logo according to company code.
how can i write condition in sap script..
sample code woule be appericiated.
please neaded urgently...
Thanks,
JigneshHi,
You have two options here.
<b>[1].</b> Write a condition for each company code and print logo accordingly. It looks like this
/: IF &COMPANY& = 'COM1'.
* print logo for company COM1
/: ELSEIF &COMPANY& = 'COM2'.
* print logo of company COM2
/: ELSEIF &COMPANY& = 'COM3'.
* print logo of company COM3
/: ENDIF.
<b>[2].</b> Create a custom table and maintain logo entry ( LOGO name, Object, ID, Colorm DPI ).
Get the data from table based on company code and
display logo. In this case your code would be line this.
/* *&*** Define symbol for LOGO **********************************&*
/: DEFINE &ZLOGO& = ' '.
/: DEFINE &ZOBJECT& = ' '.
/: DEFINE &ZID& =' '.
/: DEFINE &ZCOLOR& = ' '.
/: DEFINE &ZDPI& = ' '.
/* *&*** Call form routien GET_LOGO to get LOGO detail ***********&*
/: PERFORM GET_LOGO IN PROGRAM ZRMM_POPOOL
/: USING &EKKO-BUKRS&
/: CHANGING &ZLOGO&
/: CHANGING &ZOBJECT&
/: CHANGING &ZID&
/: CHANGING &ZCOLOR&
/: CHANGING &ZDPI&
/: ENDPERFORM
/* *&***** DISPLAY LOGO ******************************************&*
/: BITMAP &ZLOGO& OBJECT &ZOBJECT& ID &ZID& TYPE &ZCOLOR& DPI &ZDPI&
We have the same situation for PO SAPScript. In fact we have logos stored based on "Company code" and "Profit center" conbination. So, we maintains on Z table with "company code' and "profit center" being key and store Logo, object, ID, color and DPI.
You can also use the solution no 2. It is easy to implement. An in future if you add company code, just add entry in Z table, rest will work.
Let me know if you need any other information.
Regards,
RS -
Question about multiple Script declarations
I'm reading Flash Builder 4 and Flex 4 Bible.
On page 121 it states:
"Any particular <fx:Script> element can contain nested ActionScript or use the source property to link to an external Actionscript file, but it cannot do both at the same time. You can, however, have as many <Script> declarations in a single MXML file as you need>"
My questions are about the last sentence.
1) They specifically used <fx:Script> and <Script>. Are these two different entities?
2) I've never seen examples of using multiple <fx:Script> declarations in a project. How would this work?
3) Are they promoting bad practices by making this claim?
Thank you
KristinAlthough multiple script tags are allowed, I'd guess that they're not commonly used.
Gordon Smith
Adobe Flex SDK Team -
Question on SAP Scripts?
I have the standered text having date and address and information about delivery details.I want to fetch the date separately and put it in the date window and in the same way address and delivery details put it in other windows. is it possible? Plz help me out.
points will reward for every helpful ans.Hi there.
IF I understood you right, you have stored in one text, three differente kind of information, and you want to split it and print in three different windows. That's it?
If so, you can do this using PERFORM statement in script. So you can define 3 fields, and in the first window call this perform and populate them. This form will use FM READ_TEXT to separate it for you. Like:
In script:
/: DEFINE &DATE& ...
/: DEFINE &ADDRESS& ...
/: DEFINE &DETAILS& ...
/: PERFORM texts IN PROGRAM ZTEXTS
/: USING &DOC_NUMBER&
/: CHANGING &DATE&
/: CHANGING &ADDRESS&
/: CHANGING &DETAILS&
/: ENDPERFORM
Then, create report ZTEXTS, like this:
REPORT ztexts.
FORM texts TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
DATA: it_text TYPE STANDARD TABLE OF tline.
DATA: vbeln TYPE vbeln.
DATA: date TYPE dats.
READ TABLE in_par WITH KEY name = 'DOC_NUMBER'.
CHECK sy-subrc = 0.
vbeln = in_par-value.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'ID'
language = 'EN'
name = vbeln
object = 'OBJECT'
TABLES
lines = it_text
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
*** here you split the text into your 3 vars ...
READ TABLE out_par WITH KEY name = 'DATE'.
CHECK sy-subrc = 0.
out_par-value = date.
MODIFY out_par INDEX sy-tabix.
ENDFORM.
If you have doubts in perform statement, check this link:
http://help.sap.com/saphelp_nw70/helpdata/EN/d1/80318f454211d189710000e8322d00/frameset.htm
Regards.
Valter Oliveira. -
Question about simple script?
Hello,
I would like to write a small program/script and am looking for advice on how to do so. I do not have a preference about which method or language to use, hopefully looking for the simplest way to do this (if it works with Windows or DOS command line this is
preferable).
I have a program that runs on text files e.g. "program file1.txt file2.txt"
I have 20 folders that each have 5-10 text files. I want to automatically get the name of the largest size text file from each of the 20 folders, and then run the program on these 20 files as described above.
Ideally I could point my script to a folder, and it will automatically find the largest .txt file in each of the subdirectories and run "program file1.txt file2.txt file3.txt ..."
Any ideas on how to most efficiently accomplish this? Ideas or links to tutorials if applicable are helpful.
Thank youYes this is very helpful, thank you so much. I have a couple of questions:
What I am doing is actually running a perl wrapper that calls a java program, so my command looks something like this and it works fine if I enter multiple full path file names without quotes:
perl Program C:\Folder1\Subfolder1\file1.txt C:\Folder1\Subfolder2\file2.txt C:\Folder1\Subfolder3\file3.txt
The script as you described above does exactly what I am hoping for. For the $Path variable, I would like to either
1) have this script begin from the directory that is it run from so if I copied it to C:\Folder1\ then it would run the command as shown above, or
2) allow for a parameter to be passed to it with the path of the directory to begin from e.g. "powershellscript.ps C:\Folder1"
How would I go about doing this?
So I believe the last line of this script would be:
perl Program ($Results -join " ")
Does this make sense? If so I will give it a try. Thanks again.
Maybe you are looking for
-
Does anyone know what to do if the Ellipsis 7 is stuck on a welcome screen?
My Eliipsis 7 is stuck on a welcome screen (not the Verizon Wireless Welcome Screen) and will not start or shut down. I tried resetting by using a paperclip, but nothing happens. I also can't figure out how to open the thing up to remove the battery
-
Opening maximized window from embedded flash movie
Hi! I need your help! I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to ope
-
LotusXSL and WLS 5.1...
Is there anyone using the IBMs LotusXSL 1.0.1 package (Xalan.jar and Xeres.jar) with WLS 5.1 SP3? Because I can't make it work... Here's what I want to do my JSP: - Take XML stream - Take XSL stream (
-
The following trigger first fetch the record from paymaster. It will put the paymst_list cursor in loop, if transaction exists in the transaction(tran_list) file for the given period (form variable month) it will update the transaction file by calcul
-
Imac, aperture, sraw, 10.6.3 - problem
I have a problem after updating to 10.6.3 Picture under the reference http://i150.photobucket.com/albums/s103/uspehov-info/diff/2010-04-02120750.png I use imac 24 2.16 3GB aperture 3.0.2 canon eos 5d mk2 (shooting in!!!!!! sRAW!!!!!!!) Usual RAW - it