Tricky SAPscript issue
We have a form which writes out the description of a material:
<b>&MAKT-MAKTX&</b>
Usually this is fine but sometimes materials include '&' in this text: eg
<b>Complete 2&2&1 R 1.0TBAG</b>
The users are complaining that materials like these have their descriptions changed when printed by this form: eg
<b>Complete 22.1 R 1.0TBAG</b>
I think what is happening is that the form is interpreting the embedded &2& as a symbol and of course replaces it in the description with '2.'.
I want to know if there is any way I can tell the form to inhibit placeholder replacement so that the description can be printed correctly.... or has anybody got another way to print the description properly?
Hi Srikanth,
as it turns out there IS something we can do to fix this issue in SAPscript! I did some digging in OSS and found note 658270 - Deactivating low-level symbols replacement for individual symbols. This note was already applied at my site. All I had to do was insert the following in my form:
/: PERFORM OSS_NOTE_0658270 IN PROGRAM SAPLSTXC
/: USING &MAKT-MAKTX&
/: ENDPERFORM
This turned 'off' symbol replacement only for field MAKT-MAKTX and therefore the embedded ampersands printed out.
Technically this was satisfying to find the solution and it could prove useful in the future but in fact in this case we are going to get the users to change their descriptions,
eg, 'Complete 2&2 &1 R1.0t Bag' will print out correctly whereas 'Complete 2&2&1 R1.0t Bag' will not.
The main reason being that although users have only complained about the issue in one sapscript it will occur in all sapscripts so the best approach is to get the source data fixed.
Similar Messages
-
Chinese Language in EN SAPScript issue
I had to make changes on an existing Sapscript (EN), which had some chinese characters. These chinese characters were appearing as '#' in Normal Editor but were appearing fine in PC Graphical Editor and also in Print Preview.
I made changes (removed a tab space) between 2 chinese characters in column header, all chinese characters only in that line became '#', also in Print Preview. Rest of the chinese characters elsewhere were displaying fine in print preview.
I downloaded the copy of the form from test system (having previous setting) and uploaded in development to overwrite my changes.Now all chinese characters are displayed as '#' in Print Preview. If I copy pasted chinese characters manually it shows '?'.
Can anyone tell me why the characters changed to '#' when I removed a tab space ? And how I can rectify this ?
I am not sure if its Font issue or something as the characters were displayed initially.
Thanks and Regards
Vivek
Edited by: Vivek Prabhu on Dec 9, 2011 10:48 AMYes. I changed the datastore to default.
I used both method: ODBC driver and IBM iseries access to connect to AS400. ODBC is the same in BODI. In universe, I used default, I can see data. But in BODI, I can't.
My machine is BOE client software. But I created universe in my machine, export it. And then from my machine, I created WI report, also export to CMS. And then I view it in ViewInfo. Everything runs well for both connections.
But in BODI, I use it to migrate data to Oracle. I can't see data in DataView of Designer too. Although, I changed locale, set codepage to default as you told, it didn't work.
Any suggestions please.
Anh
Edited by: Anh Phan on Mar 30, 2010 4:45 AM -
SAPSCRIPT issue - F140_CUS_STAT_O2
I am able to make changes in this module using SE71. Save to a transport and have it transported to our quality region. Transport shows no errors, but when I look in the quality region my changes are not there. The only thing that has changed on the HEADER tab (in SE71 quality) is that the sapscript now has a status of 'TRANSLATE' instead of 'ACTIVE'. Does anyone have an idea how to get around this?
When you did the translation in development system, do youloged into the system in the same language(original)? the translation can me possible for standard copied scripts in the original language.
I think you dont have the change authorization in quality,
so try to do the translation using the original language and activate it in develoment and then transport. it might solve your issue. -
PU19 PDF/SAPScript issue in upgrade between 4.7 to ECC6.0
We are upgrading from 4.7 to ECC6.0. ADS is setup for PDF format. When I run Tax reporter, in the log, I see W2 is getting generated under both PDF format and SAPScript format. Actually creates spool for W2 on both formats (Forms generated in PDF and also in SAPScript format). How do I stop the W2 statement NOT to create in SAPScript format. and Create only in PDF format. Any help please.
Thanks, RajConfig view V_T5UX7 for tax form 'HR_F_W2' . Delimit alternate form HR_F_W2' (having Sapscript radio button selected) and any forms you no longer want Sapscript to create with an early end date (e.g. 12/31/2007).
Rgds. -
Need help brainstorming a tricky IMAGE issue
Hi,
I've been trying to figure out a simple way around an issue, but as i simply cannot come up with an answer, i thought I'd put it out to the community to see if i can get some ideas back.
I'm putting a Mobile game together, and I'm still establishing the foundations of it. One element is the idea of having all creatures and character to be able to look different. To this end, my proposal is to have a set of various frames of say different creatures, and with other items (like armour and weapons) in matching poses. For example, You would have say a person running in 4 frames. For each frame, there is a matching set of clothes frames for each pose. One coule be normal clothes, and another armour so when the character is wearing normal clothes, the system would draw to the screen the naked character and then place the clothes over the top. Proper transparency (using the PNG alpha channel) makes this masking effect work as it should and it seems to work okay here.
Here is the problem. What i want to do is to be able to represent say, a hiding creature as being partially transparent wether through alpha blending or dithering. I have put an efficient class together than can quickly resize and recolour any image and draw it to the screen, and can also modify the transparency via either alpha blending or dithering. Here is the issue: This will NOT work when building the characters onto the screen! the problem if no-one notices here is lets say you then make the system draw the person at 50% opacity to the screen.Great, it works, but now we need to put the clothers on top so we draw THAT at 50% transparency. Uh-oh... Because the clothers are transparent, we get an artifact of the naked character shining through the clothers we just placed on top. So, the solution WOULD be simple: create an offscreen image for buffering, draw the character to it, then draw the results to the screen at 50% opacity... WRONG. The only Mutable off-screen image you can make is one filled with white pixels! Useless: we get an ugly white box around the character.
The only two solutions i can think of are the following:
1) Take a snapshot of the box around where we intend to draw the character. This should capture the background. We now build the character onto the screen as we normally would but if we want to make them transparent, we then paste the original background image over the top at a sertain opacity. I see problems with this being a) The design on the game is already very lean on memory requirements. I have built my own image handling classes that only load stuff when needed and discards it when no longer needed and also block wasteful reloading of images into memory, but having to always take a snapshot of a box around a character prior to drawing will slow it all down immensly.
2) the class i use for transformations, recolouring and resizing does so by copying the image data into an array and then manipulating it. I've designed it very well so that it only ever holds one image at a time and loading a new image into it uses the same array and thus, never creates a new array in memory and then relying on the Garbage collector to reclaim it. Using this, i could render the characters to it, and then draw it to screen but the problem as i see it is that this would be very processor intensive and would most likely slow the entire system down.
Naturally, the ideal solution is to draw to an offscreen image buffer and go from there, but i think the only way to do that is to use the BufferedImage which is on an API that isn't widely available (at least, it's not on my phone and it is pretty new). I need this to be as compatible as possible, so i don't want to access any optional API's i don't need to. I would prefer to be able to do this transparency trick, but if i can't, i guess i would have to find another way to represent a hiding character in the game (I guess a Black silouette).
Any help, hints or ideas would be greatly appreciated!Okay, imagine you have a character running. The whole purpose of my design idea is to have it so the characters look different based on the gear they are equipped with (+Image a common game like Neverwinter nights, or WoW. Your character looks different based on what they are equipped with and no, I am not trying to create a game of that scale on a Mobile phone+). Naturally, the character isn't a static figure, so they move, run, attack and so fourth. My plan is to have a set of character frames in all the different frames, and matching clothes and equipment frames matching each cell (+we KNOW where their arm will be in the 2nd frame of a run-right action, so we would position say, a shield in the right spot. A clever appraoch is to be taken here for example, a right handed person would weild their shield in their left hand, and if they are running right, the shield would appear behind them and would be facing out, so the system would draw it in the order of "Left_Hand_Item->Character_in_the_Nude->Clothes_for_the_Character->Right_Hand_Item". Simple mirroring can handle any left/right directions as the frames for running in the different directions are also mirrored+). Essentially, the look of the character would need to be built on a per-frame basis. I am hessitant to build all of the frames of the character in memory at load time as I have the following action factors:
- The character can face in 8 directions being all the diagonals, Vertical and horizontal directions.
- The character needs the following actions to be available: Running, Standing, Dying -> On the ground (+This also counts falling down or sleeping+), Attacking / Swinging, Ranged attacks (+bow and arrow+).
- To at least offer some kind or animateable look, there should be at least 2 frames for each action.
As you can see, there is quite a lot. The approach i have already taken is fairly powerful. I decided to scrap the Java Sprites as it couldn't do what i needed it to do so i created my own caching system. A special MAP file stores the information on all the frames, and another class retrieves this on demand from the file, but only takes certain chunks. A initial class manages file access and loads the entire image into memory, and another uses this class to extract the frame it wants. When the other class is finished, the file-opening class then drops the full file from memory and attempts to reclaim the used memory. So far, it works well. The reason i have taken this appraoch is there is just too much data to have it all laoded into memory, it has to be done on demand and store as little information as possible. If i can represent 5 different characters by using a combination of other frames, i should have excellent results. I am trying to find a good balance between memory consumption and CPU usage. So, in a long winded answer:
--There are a LOT of frames that may need to be transparent at any one time.
--The amount of memory I'll need is still in the air at this point. As i build it, I am keeping a hawk-like eye on memory consumption and watching for anything being wasted (+using boolean where possible, If i don't need the capacity of an int, i use byte instead, etc+). This incidently ran me into the strong desire to utilize unsigned values as i don't need negatives anywhere, but I will have to live with that wasted bit.
--I am aware that not all devices support Alpha blending which is why I also aim to support dithering. For example at 50% transparency, more than half the pixels are fully transparent (+Some may already be transparent, so we're not going to go and make them visible!)+
--The transparent character is used to represent a character that is hiding. For example, you may have an Ally character being stealthy, so to make sure YOU the player can still see them, but represent clearly that they are in a special state, i wanted them to be transparent. Also, if there is an enemy stealthing, but you have detected them. I need to be able to represent that they have indeed been detected and that they can be seen, but they are still trying to be stealthy. So yes, one substitute would be to make them entirely black pixels and maybe even just draw the naked character black without any armour or equipment as a stealthing character would assume reduced detail. -
Sapscript Issue . Same line appears in all the line
Hi All ,
By using the logic below , i am able to find the 4 diffrenet line item in my window .
Now i am getting the same line in all the lines in sapscript.
Pls suggest , how to avoid this .
In my final table it_excdtl , all diffrent line item are shown ( shown while debugging )
Thanks & Regards
Kiro
below is the code
CLEAR WA_EXCDTL .
Loop at it_excdtl INTO WA_EXCDTL.
IF WA_excdtl-menge NE 0.
wa_excdtl_amt_unit = ( WA_excdtl-exbed / WA_excdtl-menge ).
WA_EXCDTL_ED_UNIT = ( WA_excdtl-ecs / WA_excdtl-menge ).
WA_EXCDTL_CVD_UNIT = ( WA_excdtl-exaed / WA_excdtl-menge ).
modify it_excdtl from wa_excdtl.
ENDIF.
PERFORM write_form2.
FORM write_form2 .
loop at it_excdtl.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'EMAIN2'
function = 'APPEND'
function = 'SET'
type = 'BODY'
window = 'MAIN2'
IMPORTING
PENDING_LINES =
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
OTHERS = 9
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
ENDFORM. " WRITE_FORM2ok guys i found the solution thanks to steve muench and his "upload text file and image example" on his weblog..
thanks steve :)
insted of:
<adf:render model="bindings.Pic"/>
it should be
<adf:render model="Row.Pic"/> -
SAPScript issues - J_1B_BORDERO
Hi all,
I am having a hard time figuring out where the data for the SAPScript form J_1B_BORDERO is begin collected. I need to modify the form by adding additional data to it, but unless I figure out which program to modify I can not do it. I have been looking at ABAP report RFFOBR_U, but I have had no luck so far in location the bits and pieces of code that I need.
Also, in the J_1B_BORDERO form there is a PERFORM statement that appearently is calling UPDATE_PAY_DOC and GET_BORDERO_NUMBER in the RFFOBR_U program, but these subroutines does not exist in RFFOBR_U.
I am confused..
Does anyone have any clues?
Any help is greatly appreciated!
Regards,
ThomasHi,
I am in 4.6C, pasting the following code that is available in line number mentioned by me,
form empfbank_daten_lesen.
Empfängerbank-Anschriftsdaten lesen ----------------------------------
read address of payee ------------------------------------------------
clear bnka.
select single * from bnka
where banks eq reguh-zbnks
and bankl eq reguh-zbnky.
regud-zbnka = bnka-banka.
regud-zbstr = bnka-stras.
regud-zbort = bnka-ort01.
regud-zbank = bnka-banka.
regud-zbank+61 = bnka-ort01.
condense regud-zbank.
regud-zbrch = bnka-brnch.
Bankleitzahl ohne Aufbereitungszeichen für Begleitliste und DTA ------
store numerical bank number ------------------------------------------
hlp_zbnkl = reguh-zbnkl.
regud-ozbkl = reguh-zbnkl.
endform. "EMPFBANK_DATEN_LESEN
Hope this helps, you can search for FORM EMPFBANK_DATEN_LE in your version,
Rgds, -
hi
in sapscript function:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = device
language = sy-langu "language
form = 'Z_SHOPPING_LIST'
OPTIONS = itcpo
dialog = ' '.
how to set: just to send spool not print out.
thank you very much!hi !
who can give me a idea!
just let sap form generate in spool ,so can view use SP02 don't print immediate! -
Hi
I want to move some value from main window to address window without use of abap code.
Is it possible to have a sort of 'global variable" which can get a value in main window, and then assign that value to a field in fx. header window.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Thanks
Turan
Edited by: Egemen_Turan on Sep 13, 2011 12:41 PM
Edited by: Alvaro Tejada Galindo on Sep 28, 2011 3:34 PMAll variable can be used by every windows
So If you print a variable in the main, you can print it in a secondary window
Max -
hi, everyone. i am new here but hoping someone can help. i'm
working on a flash site that is 99% vector based but also contains
an image gallery. i'd like to scale the site 100% in browsers
without pixelating the jpeg images. how do i do that? is there a
noscale command for jpegs? thanks in advance!see the stage class for details .it has various options for
scaling n yes noscale is one of them... -
Hi,
Pls reply back if you have come across such a sapscript issue before.
Sometimes(Not always) all the contents in a sapscript print out (also the print preview) prints all characters as # . Each and every character on the form prints as '#### .....' .
Printer used - Xerox WorkCenter
Printer Driver - HP Laserjet 4 Series PCL - 5
Let me know the soln in case anybody has come across such an issue before.
Thanks,
ashokHi Ashok,
Can you give some details, like is this happening for only specific printers or font+font size combination as SAPScript recognizes fonts with specific sizes for e.g. Font HELV has font sizes recognized by 10 and 8, 9 - HELV is not recognized by the Script.
As for me I think this problem might be solved by changing Printer Configuration.
Thanks
Anirban M. -
Issues with deploying BC4J/JSP applications on OC4J
To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
Issue 1: Classpath problems
People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
one.
Issue 3:JSP SCRIPTABLE VARIABLE NULL
A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
NullPointerException, because the scriptlet cannot access the value of resultRow:
<jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
<%
session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
%>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
example:
<jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
<%
resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
%>
What we plan to do
To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
Thanks
BlaiseHi, I have been trying desparately to deploy
a simple example JDeveloper application for months and months.
I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
I don't know much about webservers and I am relying
on the instructions from JDeveloper help and this website.
I have already tried Apache, and WebLogic
because there are instructions in the JDev help.
No luck.
Now I am trying to use OC4J on 9ias because there are instructions.
I have read the instructions about how to install a BC4J
app on OC4J about 25 times, but I can't get this thing to work.
It works fine inside of JDeveloper.
I create a BC4J project using the scott
schema (just the dept and emp tables).
Then I create an empty project for my JSP client.
I choose JSP Application from the web
objects and it connects to my BC4J project.
As I say, when I run it in JDeveloper, there is no problem.
In the instructions for installing BC4J
in OC4J, it first says install JDev 3.2.3 and OC4J.
This is done, and it tested fine.
Then it says to install the deployment software.
No problem.
But when I deploy the app according to the instructions,
it just hangs (like Rick Wang's program did).
The main.jsp page loads and displays correctly,
but when I click on the links to the DeptView.jsp
or EmpView.jsp it just hangs.
Here is the entire batch file I'm using
to start OC4J: cd c:\oracle_9ias\j2ee\home
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
com.evermind.server.ApplicationServer
pause
The file al_BC4J.jar contains my application.properties file
and my connections.properties file, as well as my business components.
All of the files referenced in my classpath are
present in my c:\oracle_9ias\j2ee\home\lib directory.
I noticed that Raghu's classpath contains a file called jdev.jar
So does the classpath of another fellow who says
he was successful in deployment (his name is Jeffrey Jackson).
I searched my JDev_3.2.3 for this file and found it nowhere.
I also searched my OC4J home and my 9iAS for this file and
found it nowhere.
It is nowhere on my C:\.
Is this file necessary?
I will also try removing my application.properties file
and my connections.properties file from my BC4J .jar file
and put them in a separate .jar file at the root level (as Raghu did).
However, Jeffery Jackson did not do this and says he was
successfull in deployment.
***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
FOLDER IN JDevHome\myhtml???***
***or place them in the classpath?***
I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
many, many times.
Can anyone help me? -
Dunning in ECC 6.0 UC_OBJECTS_NOT_CHARLIKE Dump
Hi,
We are doing an upgrade from 4.6 to ECC 6.0 and when we execute transaction F150 for dunning we get the following runtime error does anyone have any idea what might cause this or how to resolve it.
Runtime Errors UC_OBJECTS_NOT_CHARLIKE
Date and Time 03.10.2007 11:26:12
Short text
The current statement is only defined for character-type data objects.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTXV" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
For the statement
"IF ... op1 CO op2 ..."
only character-type data objects are supported at the argument position
"op1".
In this case. the operand "op1" has the non-character-type "P". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UC_OBJECTS_NOT_CHARLIKE" " "
"SAPLSTXV" or "LSTXVFXX"
"FORMAT_SYMBOLVALUE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "sapqs2"
Network address...... "10.1.11.40"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 8 Bits
Pointer length....... 64 Bits
Work process number.. 22
Shortdump setting.... "full"
Database server... "SAPQS2"
Database type..... "ORACLE"
Database name..... "QS2"
Database user ID.. "SAPSR3"
Char.set.... "English_United State"
SAP kernel....... 700
created (date)... "May 21 2007 22:16:42"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "OCI_10201_SHARE (10.2.0.2.0) "
Patch level. 111
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Memory consumption
Roll.... 16128
EM...... 12569712
Heap.... 0
Page.... 24576
MM Used. 2814704
MM Free. 1372640
User and Transaction
Client.............. 400
User................ "DALY_M"
Language key........ "E"
Transaction......... " "
Transactions ID..... "0F9B71DCFFA7F10BBB8A001A4BB0243C"
Program............. "SAPLSTXV"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "SAPLSTXV" - in "FORMAT_SYMBOLVALUE".
The main program was "SAPF150D2 ".
In the source code you have the termination point in line 599
of the (Include) program "LSTXVFXX".
The program "SAPLSTXV" was started as a background job.
Job Name....... "F150-20071001-HO001 -5"
Job Initiator.. "DALY_M"
Job Number..... 11261200
Source Code Extract
Line
SourceCde
569
570
Bereitet Symbol entsprechend den Angaben auf
571
572
form format_symbolvalue using fs_line
573
fs_value
574
fs_valuelength.
575
576
field-symbols:
577
<work>.
578
data:
579
fs_vallen like integer,
580
fs_techlen type i,
581
fs_vis_len type i.
582
583
valpos = 0.
584
valoffset = 0.
585
clear: fs_value,fs_valuelength.
586
587
*... Pruefen Initialwert und Initialwertunterdrueckung .................
588
if value_initial = true and value_noinit = true.
589
exit.
590
endif.
591
592
*... Wert komprimieren .................................................
593
if value_condense = true.
594
condense val. if val(1) = space. shift val. endif.
595
endif.
596
597
*... Local date format .................................................
598
if value_ldate = true. "JPN
>>>>>
if <value_raw> co '0123456789 '. "JPN
600
write <value_raw> to val using edit mask '==JPDAT'. "JPN
601
endif. "JPN
602
endif. "JPN
603
604
*... Offset bearbeiten .................................................
605
if offlen > 0.
606
assign fs_line+offpos(offlen) to <work>.
607
valpos = <work>.
608
endif.
609
610
*... Laenge bearbeiten .................................................
611
if lenlen > 0. "...angegebene Wertlaenge
612
assign fs_line+lenpos(lenlen) to <work>.
613
vallen = <work>.
614
if vallen > val_max. " B20K079471
615
message a799 with val_max itcvd-name vallen. " B20K079471
616
endif. " B20K079471
617
elseif value_dictlen = true. "...Dictionary-Laenge
618
vallen = itcvd-outputlen.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
2
SY-TABIX
4
SY-DBCNT
267
SY-FDPOS
5
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
FI Dunning - Print Program
SY-MSGTY
S
SY-MSGID
B!
SY-MSGNO
015
SY-MSGV1
00001040
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20071003
SY-UZEIT
112612
SY-XPROG
SAPCNVE
SY-XFORM
CONVERSION_EXIT
Active Calls/Events
No. Ty. Program Include Line
Name
13 FORM SAPLSTXV LSTXVFXX 599
FORMAT_SYMBOLVALUE
12 FUNCTION SAPLSTXV LSTXVU02 73
GET_TEXTSYMBOL
11 FORM SAPLSTXC LSTXCFSC 1256
SC_GET_TEXTSYMBOL
10 FORM SAPLSTXC LSTXCFSC 495
SC_TOKEN
9 FORM SAPLSTXC LSTXCFPA 310
PA_ACTUAL
8 FORM SAPLSTXC LSTXCFPA 156
PA_BODY
7 FUNCTION SAPLSTXC LSTXCU03 147
WRITE_FORM
6 FORM SAPLF150 LF150U07 1151
WRITE_LINE
5 FUNCTION SAPLF150 LF150U07 242
PRINT_DUNNING_NOTICE
4 FUNCTION SAPLF150 LF150U19 29
FI_PRINT_DUNNING_NOTICE
3 FUNCTION SAPLBFFM LBFFMU65 54
OPEN_FI_PERFORM_00001720_E
2 FORM SAPF150D2 SAPF150D2 556
OFI_DUN_ACT
1 EVENT SAPF150D2 SAPF150D2 139
START-OF-SELECTION
Chosen variables
Name
Val.
No. 13 Ty. FORM
Name FORMAT_SYMBOLVALUE
FS_VALUE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
FS_VALUELENGTH
0
0000
0000
VALUE_INITIAL
2
0
TRUE
X
5
8
SYST-REPID
SAPLSTXV
5454555522222222222222222222222222222222
310C348600000000000000000000000000000000
VALUE_NOINIT
2
0
VALUE_CONDENSE
2
0
SYST
####################################################D#######x###############$#################
0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
VAL
2,925.00
2222222223233323322222222222222222222222222222222222222222222222222222222222222222222222222222
0000000002C925E0000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-REPID
SAPLSTXV
5454555522222222222222222222222222222222
310C348600000000000000000000000000000000
VALUE_LDATE
X
5
8
SY
####################################################D#######x###############$#################
0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
<VALUE_RAW>
####P#
0000950
000220C
C_TOKEN_URL_END
)U
25
95
INACTIVE_FCODES[]
Table[initial]
OFFLEN
0
0000
0000
FS_LINE
&MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
24444255544242222244442444452222444425455424222
6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
<WORK>
2
0
OFFPOS
0
0000
0000
No. 12 Ty. FUNCTION
Name GET_TEXTSYMBOL
*RSTXV
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
TX2EMPTY
2
0
%_DUMMY$$
2222
0000
LINE
&MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
24444255544242222244442444452222444425455424222
6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
ITCVD
MHND-WRSHB
4444255544222222222222222222222222222222222222222222222222222222222222222222222222222222222222
D8E4D72382000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-FLENG
47
2000
F000
ITCVD[]
Table IT_166[5x292]
FUNCTION-POOL=STXVDATA=ITCVD[]
Table reference: 127
TABH+ 0(20) = 309F3D57FE070000000000000000000000000000
TABH+ 20(20) = 7F000000A60000000500000024010000FFFFFFFF
TABH+ 40(16) = 04DC0000100B000010000000C9248001
store = 0x309F3D57FE070000
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 127 (0x7F000000)
label = 166 (0xA6000000)
fill = 5 (0x05000000)
leng = 292 (0x24010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000040
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 1 (ItIndexLinear)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x40B73D57FE070000
pgHook = 0x0000000000000000
idxPtr = 0x90033E57FE070000
shmTabhSet = 0x0000000000000000
id = 135 (0x87000000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
collHook = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
VALUE_SIGN_RIGHT
2
0
SCROLL_LINES
13
0000
D000
NAM
MHND-WRSHB
4444255544222222222222222222222222222222222222222222222222222222222222222222222222222222222222
D8E4D72382000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-SUBRC
0
0000
0000
SUM
2
0
ITCVD-SUM
2
0
ZEROLEN
2
0
VALUE_RAW
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VALUE_RIGHT
2
0
VALUE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
VALUE_LENGTH
0
0000
0000
VAL_MAX
255
F000
F000
SY-MSGID
B!
42222222222222222222
21000000000000000000
TTDTG
22222222222222222222222222222222222222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000000000000000000000000000000000000
SPACE
2
0
SY-MSGNO
015
333
015
SY-MSGV1
00001040
33333333222222222222222222222222222222222222222222
00001040000000000000000000000000000000000000000000
SY-MSGV2
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
No. 11 Ty. FORM
Name SC_GET_TEXTSYMBOL
SY-REPID
SAPLSTXC
5454555422222222222222222222222222222222
310C348300000000000000000000000000000000
UNRESOLVED
2
0
C_PC_BARCROT_270
270
333
270
RSTXC-TDDEBUG
2
0
TRUE
X
5
8
SY
####################################################D#######x###############$#################
0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
OP_ERROR_OFFS
0
0000
0000
DBABAPBREAK
2
0
FCODE_PRINT
PRNT
55452222222222222222
02E40000000000000000
PC_ID_CODEPAGE
CP
45
30
PC_ID_ULINE
UL
54
5C
TX_CATALOG-TDSPRAS
E
4
5
PROTPAGE_ALL
ALL
444
1CC
<SC_LINE>
&MHND-WRSHB(L)&,,&MHND-FAEDT&,,&MHND-VERZN(L)&
24444255544242222244442444452222444425455424222
6D8E4D723828C96CC6D8E4D615446CC6D8E4D652AE8C960
PROTPAGE_OFF
OFF
444
F66
%_PRINT
HOFI001SAPF150D2_ X X8 ¼ÿ
44443335454333435222222222222222222222222222222222222222222222222222222222222222222222252532BF
8F69001310615042F000000000000000000000000000000000000000000000000000000000000000000000080880CF
POS
0
0000
0000
C_AMP_SYM_MAXLEN
132
8000
4000
NAME
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SUM
2
0
PROTNEXT_SAME_PAGE
SAME-PAGE
5444254442
31D5D01750
FT_STRING
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
FT_STRING_LEN
0
0000
0000
VALUE_RAW
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
OSS_NOTE_0658270
2
0
G_IS_CFONT
2
0
APPLICATION_NORMAL
TN
54
4E
FCODE_PRINTER_FONTS
PFON
54442222222222222222
06FE0000000000000000
OFF
2
0
No. 10 Ty. FORM
Name SC_TOKEN
BOTLINES-TDLINE+0(8)
22222222
00000000
SPACE
2
0
PC_ID_BOX_BEGIN
BB
44
22
APPLICATION_NORMAL
TN
54
4E
L_LENGTH
47
2000
F000
SYST-REPID
SAPLSTXC
5454555422222222222222222222222222222222
310C348300000000000000000000000000000000
UNIT_POINT
PT
55
04
EVENTS-TDSCANSTAT
1
3
1
FCODE_CATALOG
CATA
44542222222222222222
31410000000000000000
%_VIASELSCR
0
4
FCODE_CREATE
CREA
45442222222222222222
32510000000000000000
IS_ESCAPE
2
0
SYMBOL
000000000000000000
2223333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
FCODE_PREVIEW
PREV
55452222222222222222
02560000000000000000
OTF-TDPRINTPAR
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FCODE_DOCU
ODOC
44442222222222222222
F4F30000000000000000
No. 9 Ty. FORM
Name PA_ACTUAL
SYST-REPID
SAPLSTXC
5454555422222222222222222222222222222222
310C348300000000000000000000000000000000
DEVICE_TELEX
TELEX
54445222
45C58000
PA-INTERRUPT
2
0
FALSE
2
0
PA-EXIT
2
0
ARCHIVE_ONLY
2
3
2
FCODE_EDIT_MAIN
MAIN
44442222222222222222
D19E0000000000000000
OP_SYMBOL
2
0
PA_TOKEN
3
0000
3000
SCREEN
%_17SNS0000149933_%_%_%_%_%_%_
2533545333333333352525252525252222222222222222222222222222222222222222222222222222222222222222
5F173E30000149933F5F5F5F5F5F5F0000000000000000000000000000000000000000000000000000000000000000
C_BMP_BACKGROUND_NOPRI
2
3
2
STATUS_CUSTOMER
CUS
455
353
TRANSTAT_ACTIVE
0
3
0
ATTRIBUTES_FONT
002
333
002
No. 8 Ty. FORM
Name PA_BODY
%_DUMMY$$
2222
0000
PC_OUT_PAGE
P
5
0
PC_ID_PRINT_CONTROL
PC
54
03
FCODE_PRINTER
PATT
54552222222222222222
01440000000000000000
PA-INTERRUPT
2
0
PC_ID_BOX_BEGIN
BB
44
22
TRANSLATION_WANTED
0
3
0
FLAG_RDI_ACTIVE
2
0
%_SPACE
2
0
G_BITMAP_TABL
##########ÿÿÿÿ
2222222222222222222222222222222222222222220000000000FFFF
0000000000000000000000000000000000000000000000000000FFFF
SYST-REPID
SAPLSTXC
5454555422222222222222222222222222222222
310C348300000000000000000000000000000000
G_BITMAP_TABL[]
Table[initial]
WTYPE_VARIABEL
VAR
54522
61200
PC_ID_BOX_END
BE
44
25
FALSE
2
0
PC_ID_LINK_END
LE
44
C5
No. 7 Ty. FUNCTION
Name WRITE_FORM
ELEMENT
531
333
531
FUNCTION
SET
545
354
TYPE
BODY
4445
2F49
WINDOW
MAIN
4444
D19E
PENDING_LINES
2222
0000
PC_ID_TELECOM
/T
25
F4
RSJOBINFO
00000000000000 ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
OP_PAGE_MAX
99999
33333
99999
%_DUMMY$$
2222
0000
ELEMENTS-TDFROMLINE
157
9000
D000
SYSTEM_WINDOW_MAIN
MAIN
44442222
D19E0000
BOOLEAN
2
0
ETYPE
3
3
3
ETYPE_CURRENT
3
3
3
C_PC_INFO_FORM
04
33
04
SY-XFORM
CONVERSION_EXIT
444545544454545222222222222222
3FE65239FEF5894000000000000000
ETYPE_BOTTOM
2
3
2
SYST
####################################################D#######x###############$#################
0000000000000000000000001000000000000000000000000000400000007000000000000000200000000000000000
2000000040005000000000004000000000000000B10050001000400010008000000000000000410000000000000000
C_PC_INFO_PAGE
05
33
05
APPLICATION_NORMAL
TN
54
4E
PC_BOTTOM_HEIGHT
0
0000
0000
FT-BOT_HEIGHT
0
0000
0000
SYST-REPID
SAPLSTXC
5454555422222222222222222222222222222222
310C348300000000000000000000000000000000
No. 6 Ty. FORM
Name WRITE_LINE
%_DUMMY$$
2222
0000
No. 5 Ty. FUNCTION
Name PRINT_DUNNING_NOTICE
I_F150D2
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_F150V
20071001HO001 00000000
3333333344333233333333222222222222222222222222222222222222222222222222222222222222222222222222
200710018F001000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_ITCPO
#HOFI XLIST1S HO00107
2222222222222222222222222222222222222222222222222222222222220444422222222222544553522224433333
00000000000000000000000000000000000000000000000000000000000008F69000000000008C9341300008F00107
I_MAHNV
40020071001HO001 F A
33333333333443332424
400200710018F0010601
I_MHNK
40020071001HO001 DFAS 0000000028 0 2007100120071001
3333333333344333244452333333333322222222222222222222222222222222222222322333333333333333322222
400200710018F001046130000000002800000000000000000000000000000000000000000200710012007100100000
I_MOUT
X
5
8
I_OFI
X
5
8
I_UPDATE
2
0
T_FIMSG[]
Table IT_63[0x236]
PROGRAM=SAPF150D2FORM=OFI_DUN_ACTDATA=T_FIMSG[]
Table reference: 46
TABH+ 0(20) = 0000000000000000C0501D57FE07000000000000
TABH+ 20(20) = 2E0000003F00000000000000EC000000FFFFFFFF
TABH+ 40(16) = 04000000301F000002000000C1048001
store = 0x0000000000000000
ext1 = 0xC0501D57FE070000
shmId = 0 (0x00000000)
id = 46 (0x2E000000)
label = 63 (0x3F000000)
fill = 0 (0x00000000)
leng = 236 (0xEC000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000132
occu = 2 (0x02000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
shmTabhSet = Not allocated
id = Not allocated
refIt's a SAPscript issue, and it depends whether it's standard SAP or something you've done yourself. Looking at the call stack it appears to be standard SAP so I'd suggest searching on OSS. Avoid searching on "SAPLSTXV" , "LSTXVFXX" or
"FORMAT_SYMBOLVALUE" as these are generic SAPscript terms. -
hi experts.
we are 3 plants for our concern and we are prepared the sales invoice through t-code j1ip , when we are shifted the materials from one plant to another plant ie inter-plant .it could not print the customer address in the to block. of sales invoice .but when we are shifted the material to other external concern. it could printed the customer address in the to block..
pls somebody rectify this prob.
regards
surenderhi jignesh ..
basically am a abaper. i knew this is the smartform/sapscript issue. in the top left of the sales invoice the customer address should be print. but it could not be printed while we use the t-code j1ip.. plz resolve this.
and one more ques. is how to retrieve the abap and smartforms/sapscript program for the particular sales invoice.
i think u understood what am ask..?
see our plant name is x. and i want to shift the materials to x1.
x1,
2/3 cambridge road,
banglore.
the above address should be printed in the top-right corner of the delivery challan *** invoice.
regards
surender -
hi
while am taking the sales invoice printout through j1ip. it does not print the *company nameie vendor name* in the to block of the dc. *** invoice paper.
there are three plants in our concern. the problem is arised only in , when we shift the material to our plants . not to other company.
pls resolve the problem
regards
surender.shi jignesh ..
basically am a abaper. i knew this is the smartform/sapscript issue. in the top left of the sales invoice the customer address should be print. but it could not be printed while we use the t-code j1ip.. plz resolve this.
and one more ques. is how to retrieve the abap and smartforms/sapscript program for the particular sales invoice.
i think u understood what am ask..?
see our plant name is x. and i want to shift the materials to x1.
x1,
2/3 cambridge road,
banglore.
the above address should be printed in the top-right corner of the delivery challan *** invoice.
regards
surender
Maybe you are looking for
-
From Exchange 2007 to exchange 2013
hi everyone,, I need a video with brief description of how to deploy exchange 2007 to four servers exchange 2013 please to help, thnx
-
How can I access my iPhone 5 videos that I record?
I took a couple of videos, including one long video (about 30 minutes) to test the quality and it was wonderful! The problem is that I can't do anything with them. They are (obviously) too large to send to people via things like email. I tried connec
-
Unable to install update iOS 5.1.1 iPad
I tried to update my iPad (first version) with iOS 5.1.1. It failed, and I received the following error message: "Unable to Install Update - An error occurred installing iOS" Now what? Thanks in advance for any help you can offer.
-
N97 Camera switches on & off continuously
Help! For no apparent reason ie not connected with anything I've done to the phone, the camera has started turning on & off almost randomly, regardless of whther the slide cover or the lock key are engaged. Sometimes the cycle is a few seconds, som
-
Model session not in sync with Http Session
Hi All, I have an application developed in JDev 11.1.1.4 and we are not using ADF Security for login. The problem occurring is randomly some of the LOV on my home page are getting null (having no data). These LOVs are populated using the values passe