User Email Id on the SAP script for the balance confirmation
User needs mail id on the SAP script for the balance confirmation
I have checked the AR-->Correspondence but not able to figure out.
Thanks
Hi,
Actually the issue is:
User(Witty Lam) wants his official Email id while generating the SAP Script on header.
We are able to get the Fax and Telephone number but Email id is not coming.
Can you help me out in finding the place where we maintain the USER's phone, fax number and email id.
I have identified the Structure and field i.e FSABE-INTAD
My project is production support project..
Thanks,
Jittesh
Similar Messages
-
How do we enable cutter option in the SAP Script for Zebra Label Printer
Hi Gurus,
We use Zebra Label(ZM400) printers to print the material documents(SAP Script). Could someone please tell me how do we enable the cutter option in the Zebra printer for the SAP Script?
Your vaulable answers will be highly appreciated.
Thanks in advance.
Regards,
Manoj.Hi Manoj,
In Script you dont want to add any logic for Label Cutter, It should be in the Zebra printer settings if the printing is over it should cut the paper. If the print area is predefined for your material label then you can make use of standard label papers (Like 2"x4", 3"x4"....)
Regards
GK. -
Apply the SAP license for the HA from the Application itself
Hi Experts,
i want to apply the SAP license for HA installation from the application itself i mean from the transaction slicense
but my question is:
should i run the SAP application on node A and apply license there useing tcode SLICENSE
and then switchover the resources and run the application on the node B and apply another one there or what?
Note: this installation based on ABAP AS only
if there are any other ways please let me know?
Thanks
Sherif
Edited by: Sherif Eid on Jan 24, 2008 10:54 AMSherif,
First, Install the license to CI;
Second,Swich CI to another node (backup server), and install another licence.
Joseph -
Find the SAP Script name for the Output type RD00 and Appli V3
Hi Gurus,
My requirement was to copy the Std SAP Script for the output type RD00 and application name V3 and to do some modification.
Please any one suggest me how to find the Std SAP script based on the above Output type and Appl ?
Regards
paulHi,
The script Name is LB_BIL_INVOICE
You can find byNACE>V3>Output Types>RD00-->Processing Routines
In thje output type Press Change button and select New entries.
Regards
Sandipan
Edited by: Sandipan Ghosh on Mar 31, 2008 12:06 PM -
URGENT: Where are the upgrade scripts for Tier1 ?
I found the upgrade scripts for 3.0.6/3.0.7 to 3.0.8 for Windows NT and Solaris here on Technet, but where are the upgrade scripts for the Tier 1 platforms ? I urgently need the ugrade script for Tru64. Please help.
Sorry for the confusion - the page should be updated very
shortly. In the meantime, you can download the 3.0.6/3.0.7/3.0.8
to 3.0.9 scripts for NT/2000 at:
http://download.oracle.com/otn/nt/portal/p1831355_309_WINNT.zip
and 3.0.6/3.0.7/3.0.8 to 3.0.9 scripts for UNIX at:
http://download.oracle.com/otn/solaris/portal/p1831348_309_UNIX.z
ip
Note that these are the same scripts that are accessible from
Metalink (NT/2000 - Patch:1831355) and (UNIX - Patch:1831348) -
Script for the SAP report - download to excel - problem
Hi all
I know that similar problem had already been discussed but going through the solution presented in
any of that topic I was not able to be successful (I am beginner in terms of VBA and SAP scripting)
What I would like to do is simply create the SAP script which based on the parameters filled
in in the excel sheet (user form created) will connect to SAP and make the report which I would like to have saved on my local drive as an excel file.
Everything is ok till the moment I would like to save it. As you know SAP records the macro only till the moment some window pops up (where and under what name you would like to have your report saved)
Could you please advise ?
As a screen I attached also point where macro stops (maybe this makes difference)
Thank you in advance for any suggestions.
Below my code.
Private Sub CommandButton1_Click()
Dim MojaData
MojaData = ComboBox2.Value
Dim Companycode
Companycode = ComboBox1.Value
Dim Depreciation_area
Depreciation_area = ComboBox3.Value
If Not IsObject(Application1) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set Application1 = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(Connection) Then
Set Connection = Application1.Children(0)
End If
If Not IsObject(session) Then
Set session = Connection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject Application1, "on"
End If
Dim sbar As String
sbar = session.findById("wnd[0]/sbar").Text
session.findById("wnd[0]").maximize
session.findById("wnd[0]/tbar[0]/okcd").Text = "/n s_alr_87011990"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/ctxtBUKRS-LOW").Text = Companycode
session.findById("wnd[0]/usr/ctxtSO_ANLKL-LOW").Text = ""
session.findById("wnd[0]/usr/ctxtBERDATUM").Text = MojaData
session.findById("wnd[0]/usr/ctxtBEREICH1").Text = Depreciation_area
session.findById("wnd[0]/usr/ctxtSRTVR").Text = "0003"
session.findById("wnd[0]/usr/radSUMMB").SetFocus
session.findById("wnd[0]/tbar[1]/btn[8]").press
session.findById("wnd[0]/mbar/menu[0]/menu[1]/menu[1]").SelectMJ MJ - I cannot replicate a screen like you have to test it but here's what I would suggest:
Immediately above the command that brings up the SAVE AS dialog, insert these lines:
... your code up to here.....
FileName = "C:\Apps\Notifications.txt" '<----- enter your save file path/name
Wshell.run "C:\Apps\DataLoad.vbs " & FileName,1,False '<-- call up the loader program
... then continue with your code....
Then build a program "dataload.vbs" as follows:
Dim FileNam2
Set Wshell = CreateObject("WScript.Shell")
Do
bWindowFound = Wshell.AppActivate("Save As")
WScript.Sleep 1000
Loop Until bWindowFound
bWindowFound = Wshell.AppActivate("Save As")
if (bWindowFound) Then
Wshell.appActivate "Save As"
WScript.Sleep 100
Wshell.sendkeys "{TAB}"
Wshell.sendkeys "{TAB}"
Wshell.sendkeys "{TAB}"
Wshell.sendkeys "{TAB}"
Wshell.sendkeys "{TAB}" 'make 4 or 5 depending on the platform 4:XP, 5:Win7
WScript.Sleep 100
FileNam2 = WScript.Arguments.Item(0)
Wshell.sendkeys FileNam2
WScript.Sleep 100
Wshell.sendkeys "{ENTER}"
WScript.Sleep 100
end if
This should do the trick of copying your filename into the filename box in the SAVE AS dialog.As I said, I did not get to test it but that is the theory.
Trial-and-error is the only way in many cases.
Good luck
Regards
Umur -
Problem in Sap script for Check printing
Hi all,
I have problem in Check printing for FI Module. In Tcode f-58 i am taking the printout of checks. For my user they want to move the main window in upwards, but the sap script <b>F110_PRENUM_CHCK</b> not allowing to move upwards. how to do this, its urgent. plz
point wil be sure.
GowriHi
Copy the script F110_prenum_chek to some ZCHECK and do the changes.
Why you can't change the MAIN window towards up?
You can changes ths ize of it by adjusting the setting of it .
generally we use some pre printed stationary for this in which all the line item data with doc numbers is printed on top and the check will be in bottom
and in check we just print the few fields in the right positions.
<b>Reward points for useful Answers</b>
Regards
Anji -
How to create the Sap script & Layout Set (wants sample code)
Hi All ,
Can you please provide me the step by step procedure
to create the Sap script & Layout Set .(please provide sample
code/links /docs for layout & print program).
Regards
Rahulhi,
go through the following links what i found to create sap script.
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
http://abapliveinfo.blogspot.com/2008/01/free-sapscript-made-easy-46-book.html
http://www.thespot4sap.com/articles/SAPscript_example_code.asp
http://idocs.de/www3/cookbooks/sapscript/sapscript_1/docu.htm
http://idocguru.com/www5/cookbooks/sapscript/sapscript_1/example.htm
www.geocities.com/wardaguilar25/sapscript-tutorial.html
http://logosworld.de/www3/cookbooks/sapscript/sapscript_8/docu.htm
how to create a scripts?give steps?
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653
https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402
http://www.sap-img.com/sapscripts.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
http://www.sap-basis-abap.com/sapabap01.htm
http://www.sap-img.com/sapscripts.htm
http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
Other Links -
How to add a page in the SAP Scripts
Hi All,
I want to know how to add a page in the sap scripts. there is already sap script developed by some other person.
Now I have to add a page in front of that and have to add some more data.I added a page in page windows but thats not at all working.
Please help me out in this.
Thanks,
Praveennew page will create in sap scripts using new page command.
you have to set condition like after some number of records displayed in page new page has to be trigger.
ex:YOU HAVE SO MANY RECORDS FOR PRINTING BUT YOU WANT TO DISPLAY 100 RECORDS IN FIRST PAGE REMAINING IN SECOND PAGE LIKE THAT.
Here you can use NEW PAGE COMMAND .
IT IS OPPOSITE PURPOSE OF PROTECT AND ENDPOTECT.
Reward if useful. -
I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
"An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
Administrators
CSAdministrator
Domain Admins
Domain Users
Enterprise Admins
Group Policy Creator Owners
RTCComponentUniversalServices
RTCHSUniversalServices
RTCUniversalConfigReplicator
RTCUniversalServerAdmins
Schema Admins
I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value lync.lctbu.com\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
Found Parameter: Role Value master.
Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName rtcxds validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase rtcxds validated.
DbPath D:\CsData\BackendStore\rtc\DbPath validated.
Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
LogPath D:\CsData\BackendStore\rtc\LogPath validated.
Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
Checking state for database rtcxds.
Checking state for database rtcxds.
State of database rtcxds is detached.
Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
Attaching database failed because one of the files not found. The database will be created.
State of database rtcxds is DbState_DoesNotExist.
Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
Clean installing database rtcxds.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
Initializing DbSetupBase
Parsing parameters...
Found Parameter: SqlServer Value lync.lctbu.com\rtc.
Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
Sql version: Major: 11, Minor: 0, Build 2100.
Sql version is acceptable.
Validating parameters...
DbName rtcshared validated.
SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
DbFileBase rtcshared validated.
DbPath D:\CsData\BackendStore\rtc\DbPath validated.
Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
LogPath D:\CsData\BackendStore\rtc\LogPath validated.
Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
Checking state for database rtcshared.
Reading database version for database rtcshared.
Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
Thanks and Regards,
Thanh LeThanks Lạc
Phạm 2
I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue.
If any one using KVM here is detail article
We just give this option cache=‘writeback
using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks -
How to create table in the sap script
Hi,
How to create a table in the sap script layout, i Have to use table in the main window with 7 columns. can any one send sample code.
How to calculate the number of line items which are displaying in the main window, if the number of line items are exceed in the main window then the amount has to be calculate and print as "BALANCE FORWARD" and the next page had to be displayed as "CARRY FORWARD" that amount. if this is the last page not subsequent page the amount had to be calculated the carry forward amount and total amount and print as "TOTAL AMOUNT". i am creating the new layout and the program is the standrad driver program i have to use and i have to use the standard Text elements only, can any one help me on this issuehi
good
there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.
thanks
mrutyun -
Need to add a new page in the SAP Script as last page
Hello,
I need to add a new page in the SAP Script as last page.
Currently I have three pages in the form(FIRST,NEXT,LAST). For this I created one more page END.
FIRST page next page is NEXT
NEXT page next page is NEXT
LAST page next page is LAST
END page next page is END.
I used NEW-PAGE END in the main window but it is not working and also I trired with CONTROL_FORM this also not working.
Thanks,
Ravi.Hello,
I need to add a new page in the SAP Script as last page.
Currently I have three pages in the form(FIRST,NEXT,LAST). For this I created one more page END.
FIRST page next page is NEXT
NEXT page next page is NEXT
LAST page next page is LAST
END page next page is END.
Create the text element in the main wondow of your form
/E ENDPAGE
/: NEW-PAGE END
and call the element from your print program by using write_form, where you want the END page in your print.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ENDPAGE'
EXCEPTIONS
element = 1
window = 2.
Thanks,
Ravi. -
My question is that How to add a report into the SAP-SCRIPT .
by using PERFORM ......ENDPERFORM
I don't know how to used it .Hi Sandeep,
Please check this link
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
http://www.allinterview.com/showanswers/37425.html
Calling ABAP Subroutines: PERFORM
You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = u2018|u2019. "First page
ELSE.
OUT_PAR-VALUE = u2018||u2019. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Best regards,
raam -
The next page in not displaying in the SAP Script
Hello,
I had one SAP script. There were two pages in the script and i mentioned the next page also for the FIRST and NEXT page as
First - next page --> next
and next -- next page --> next
Now, I am having 3 items which needs to be gets displayed using SAP script.
The first two items displayed properly but the third item is not getting displayed, as of the size of main window is small.
Whenver i am increasing the size of main window the third item gets displayed propely.
But i guess whenever the data will get overflow in main window then it should gets displayed in the next page, this is not happening in my case.
Can any one tell me, how to display the next page whenver the data will get overflow in main window?
Please help me with this.
Thanks in advance
Regards,
DarshanaHi Darshana,
if you use text element for the item output, you will need same text element on NEXT page. Check for Typos. Switch on sapscript debugger and check what happens.
Regards,
Clemens -
Dear ABAPer's ,
I am working on a SAP Script for Delivery.The requirement is I need a print out for each line item in a delivery in a seperate page.
For example if the delivery has 3 line items.I should print each line items details in 3 seperate pages.
I have modified the routine RVADDN01 according to my requirements.
How to do this...Hi Sapient,
In order to create a page for each line item what you have to do is in the script part where you have written the values.
for eg: if the line item details(VALUE) are in an internal table "<b>I_DETAILS</b>"
<b>Script:</b>
/E DET
P1 &I_DETAILS-VALUE&
/: NEW-PAGE
<b>Driver program:</b>
Loop at i_details.
CALL FUNCTION 'WRITE_FORM'
ELEMENT = 'DET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
Endloop.
Try this it would work.
Reward if helpful.
Regards,
Tushar
Maybe you are looking for
-
Hi Friends There are aggregates Build on an Infocube. There is a delta load on the cube.We are doing rollup and compression automatically. If i want to delete any request should i drop the aggregates and then delete the request or is it not necessary
-
I cannot see all preferences options
Hello I'm new to flash pro CC but I've already worked in flash... I'm animating a sequence and would like to activate the span based selection but I cannot see all the options in the preferences menu. How can I get to see all the options in the prefe
-
OID and BPA Suite (publisher module) Compatibility?
I'd like to know if BPA Suite Publisher can use the OID/SSO as user repository and provide security. Our idea is to publish this module through Oracle Portal. Best regards. Edited by: [email protected] on Oct 10, 2008 10:11 AM
-
SD order confirmation customization
Hi, Im new to ABAP and SAPScript. Right now I'm customizing the standard form order confirmation for SD. The requirement is to get/display the total ordered/confirmed qty for regular items and free/promotional items in the customized form. How cou
-
TP4: I was playing around trying to learn ADF using the tutorial: "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces Purpose" Step 5 of "Creating a Master-Detail JavaServer Faces Page" says: "Open the Data Controls comp