Questions tagged [sapscript]

NOT TO BE CONFUSED WITH "SAP GUI Scripting"! In that case, use [sap-gui] instead! "SAPscript", on the other hand, is a text handler in classic SAP systems, predominantly used to produce forms and other formatted output for printing.

SAPScript is a text handling system within SAP, predomenantly used to produce formatted output for printing.

17 questions
2
votes
1 answer

Asian 2bytes fonts are not supported Error during add font files

I'm trying to add a Japanese font file (.ttf) via SE73, but it gave me an error : Asian 2bytes fonts are not supported I would like to know if there is a way to fix this issue ?
Hamza Chioua
  • 135
  • 3
  • 11
2
votes
2 answers

How do I Transport SAP Standard Texts?

SAP Standard text is not automatically added to a transport request. What do I have to do to add it?
Esti
  • 3,677
  • 8
  • 35
  • 57
1
vote
1 answer

Dynamic text for SO10 texts in SapScript

Im trying to change some texts in SO10. I´d like to check a variable and (depending on the result) would like to use different lines of the text. Is it possible to use: /: IF &variable& is initial. ** Text1 /: ELSE. ** Text2 /: ENDIF. in…
mxstml
  • 95
  • 2
  • 7
1
vote
1 answer

Put graphics behind the text in the same window of SapScript

I need to put a .bmp of a stamp behind some text in a sapscript form - in one window. I've uploaded the bitmap of the stamp by using the se78, I uploaded it as standard text. I'm already done some testing. This is what I got so far: /: INCLUDE…
flohdieter
  • 130
  • 4
  • 15
1
vote
2 answers

In SAP scripts how do you define which data is sent to an element

I need to make some changes to an SAPScript. I have the program and form name Program: RBOSORDER01 Form: RBOSORDER02 I am looking to change some of the data shown in the form. I have debugged the program and I get see the call to write to the form,…
Malorrr
  • 11
  • 1
  • 6
1
vote
2 answers

How to find a standard text within a SapScript or SmartForm?

I need to track down where within a large number of custom sapscripts and smartforms a specific standard text (SO10) is being used. Apart from the equivalent of "check the code for each print script", I've not found a workable solution online. Any…
Tim Radcliffe
  • 1,883
  • 2
  • 20
  • 29
1
vote
2 answers

Using XML to generate SAP ABAP and/or SAPScript?

Has anyone got examples and/or experience of generating SAP ABAP or SAPScript form code from XML that came from an external application? This would help: creation of SAP-based applications in a data-driven way by automating the knowledge to do so…
therobyouknow
  • 6,604
  • 13
  • 56
  • 73
1
vote
1 answer

In SAP SCRIPT, how to add a page break or print the records in a new page

I would like to print the records in a new page every time the contract number changes. What is the syntax for new page in the SAP SCRIPT. Kindly let me know if you know how to achieve this.
AMM
  • 17,130
  • 24
  • 65
  • 77
1
vote
1 answer

How to find literals in source code of Smartforms and in SAPScripts (or reports, if the others can't be done)

I'd like to check hardcoded values in (a lot of) Smartforms and SAPScript forms. I have found a way to read the source code of both of these, but it seems that i will have to go through a lot of parsing before I get anything reliable. I've come…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
0
votes
0 answers

How do I add or edit the texts in a billing document form/template?

I was trying to edit a billing document template/form. I need to rename and add some fields like add a VAT field, currency field, and so on. I tried using SE71 but I can't seem to see the fields I'm trying to edit/add. The details I only have is…
Bigflatfoot
  • 45
  • 2
  • 13
0
votes
1 answer

Making changes to SAP SCRIPT

I am trying to change a part of form that was already created, and more specifically the sender address that is on the head of the form. In the requirements of the changes that need to be done, it is said to take the address from the accounting…
Frank
  • 153
  • 3
  • 17
0
votes
2 answers

Error when showing the value of VBDKR-WAERK in Form Painter ABAP

I am trying to fix a bug in the Form Painter which is related to the VBDKR-WAERK. The problem is as shown in the screenshot below: So in place of VBDKR-WAERK should be EUR. The code in Form painter for this part…
Frank
  • 153
  • 3
  • 17
0
votes
1 answer

Draw box with dynamic with x and y position in SAP Script?

I would like to draw a box dynamically in SAP Script, whereas the POSITION YORIGIN for the box will be changing constantly depending on the availability of data for print. For more Detail , Please have a look on the pic. On page2 marked area, I want…
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37
0
votes
1 answer

In sapscript, how do I trim/offset from the right of a string?

I have a need in SAPScript to trim a string from the right. There doesn't appear to be a function to accomplish this. &myfield+3& only trims from the left. Is there a way to trim from the right? Can offset accept a negative value?
Captain Betty
  • 360
  • 3
  • 10
0
votes
1 answer

How do I view and edit this text in SAPScript?

INCLUDE &T001G-TXTAB& OBJECT TEXT ID ADRS LANGUAGE &T001-SPRAS& This is the line of code in my SAPScript I am editing. I need to change this text, but I can't find it in the transaction SO10? How do I view and edit this text?
Sound of Speed
  • 61
  • 1
  • 2
  • 6
1
2