My 1st ABAP
I have just been trying to make a change suggested by a member in response to a previous post. When I add the code I get an error. Can someone check this and let me know what my problem is...this is my 1st ABAP code of any kind
CONSTANTS:
" pathes and connections:
" replaced by code below
"SERVER_PATH TYPE string VALUE '
bwdevt\bwdtemp',
*& Code to vary the server path depending on the system the code is being run on *
data : SERVER_PATH TYPE string .
case sy-sysid
when 'BWD'.
SERVER_PATH = '
bwdevt\bwdtemp'.
case 'BWP'.
SERVER_PATH = '
bwpsrv\bwdtemp'.
endcase.
" BW technical names for the verification of data uploads
" in :Confirm_Upload_MT and Confirm_Upload_IC
SALES_CUBE TYPE string VALUE 'IC_MMSALE' ,
FOREC_CUBE TYPE string VALUE 'IC_FORE' ,
LEGAL_CUBE TYPE string VALUE 'IC_INTE' ,
PRODREF_IO TYPE string VALUE 'IO_PR_ATTR_AB' ,
ENTITY_IO TYPE string VALUE 'IO_ENTITY_ATTR_AB' ,
FCTORY_IO TYPE string VALUE 'IO_FCTORY_ATTR_AB' ,
LOGCTR_IO TYPE string VALUE 'IO_LOGCTR_ATTR_AB' .
Hi,
I have not understood this piece of code but here is some suggestion -
<b>CONSTANTS:</b> Comment this line as you have not declared any constant.
" pathes and connections:
" replaced by code below
"SERVER_PATH TYPE string VALUE '
bwdevt\bwdtemp',
*& Code to vary the server path depending on the system the code is being run on *
data : SERVER_PATH TYPE string .
case sy-sysid
when 'BWD'.
SERVER_PATH = '
bwdevt\bwdtemp'.
case 'BWP'.
SERVER_PATH = '
bwpsrv\bwdtemp'.
endcase.
" BW technical names for the verification of data uploads
" in :Confirm_Upload_MT and Confirm_Upload_IC
<b>DATA:</b> Declare DATA statement before declaring the variables.
SALES_CUBE TYPE string VALUE 'IC_MMSALE' ,
FOREC_CUBE TYPE string VALUE 'IC_FORE' ,
LEGAL_CUBE TYPE string VALUE 'IC_INTE' ,
PRODREF_IO TYPE string VALUE 'IO_PR_ATTR_AB' ,
ENTITY_IO TYPE string VALUE 'IO_ENTITY_ATTR_AB' ,
FCTORY_IO TYPE string VALUE 'IO_FCTORY_ATTR_AB' ,
LOGCTR_IO TYPE string VALUE 'IO_LOGCTR_ATTR_AB' .
Hope this helps.
ashish
Similar Messages
-
Hi,
We want to understand a bit more on the RFC behaviour.
The RFC call is from a R/3 system to NW Java.
When the 1st ABAP function module calls the RFC on NW and then there is a 2nd ABAP
function module issue RFC call to NW before the 1st ABAP function module
calls complete. Would SAP puts the 2nd ABAP FM calls to RFC on queue
and wait for 1st FM calls to complete Or there isn't queuing, SAP just let both of the RFC call run simulteneously.
Thankskb,
Following links will help you. It depends on type of RFC you are using.
[http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/22/0424ba488911d189490000e829fbbd/content.htm]
Hope this helps.
Manoj -
Partitioning a cube in a Process chain
Hi,
How can I launch the partitioning of my cube in a process chain ?
Is there an ABAP program i can use with a variante ?
I have 3 cubes (one per Year : Y, Y-1, Y-2).
I would like to create a process chain for Shifting my data :
Delete data of cube Y-2
Load data Y-1 in cube Y-2
Delete data of cube Y-1
Load data in cube Y-1
Selective deletion in cube Y
When my cubes are empty I would like to make a new partitionning with the next year.
this | Next |
year | year | old part. | new partioning
cube Y_ 2007 | 2008 | 001.2007->012.2007 | 001.2008->012.2008
cube Y-1 2006 | 2007 | 001.2006->012.2006 | 001.2007->012.2007
cube Y-2 2005 | 2006 | 001.2005->012.2005 | 001.2006->012.2006
Thanks for any help.Hi,
run transaction delete_facts and generate a deletion program for your cubes with a select-option for the year. Create variants for that programs to delete the relevant years.
Create a chain with the following steps:
1st. abap to delete year - 3 from last cube
2nd. load year - 2 from previous cube to deleted cube
3rd. abap to delete year - 2 from previous cube
4th. load year - 1 from actual cube.
5th. delete year - 1 from actual cube.
Hope this helps!
kind regards
Siggi -
Get like 1st January 2008 OR 14th December 2008 in ABAP..
Hi Friends,
We need to generate a letter in Smartform and get date like 1st January 2008 OR 14th December 2008. Are there any function modules for this in SAP, where we can supply date like 01/01/2008 and FM should return back 1st January 2008 ?
We found function module MONTH_NAMES_GET which will return like January, February but we did not know how to get like 1st, 2nd, 3rd and so on.
Any help is appreciated and rewarded.
NiranjanThere are no function modules to do exactly what you want, the one which comes close is CONVERSION_EXIT_IDATE_OUTPUT
You can though right your own perform of the sort as below, which I am pasting from internet
FORM set_text_date.
DATA: month(9),
year(4),
date(2).
CASE p_frd+4(2).
WHEN '01'.
month = 'January'.
WHEN '02'.
month = 'February'.
WHEN '03'.
month = 'March'.
WHEN '04'.
month = 'April'.
WHEN '05'.
month = 'May'.
WHEN '06'.
month = 'June'.
WHEN '07'.
month = 'July'.
WHEN '08'.
month = 'August'.
WHEN '09'.
month = 'September'.
WHEN '10'.
month = 'October'.
WHEN '11'.
month = 'November'.
WHEN '12'.
month = 'December'.
WHEN OTHERS.
ENDCASE.
WRITE p_frd+0(4) TO year.
WRITE p_frd+6(2) TO date.
CONCATENATE month date ',' year INTO return_date SEPARATED BY space.
CONDENSE return_date.
ENDFORM. -
Issue in Creation of XML file from ABAP data
Hi,
I need to create a XML file, but am not facing some issues in creation of XML file, the in the required format.
The required format is
-<Header1 1st field= u201CValueu201D 2nd field= u201CValueu201D>
- <Header2 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 10 fields>
<Header3 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
<Header4 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 4 fields/.>
<Header5 1st field= u201CValueu201D 2nd field= u201CValueu201Du2026u2026. Upto 6 fields/>
</Header2>
</Header1>
Iu2019m using the call transformation to convert ABAP data to XML file.
So please anybody can help how to define XML structure in transaction XSLT_TOOL.
And one more thing, here I need to put the condition to display the Header 3, Header 4, Header 5 values. If there is no record for a particular line item in header 3, 4 & 5, I donu2019t want to display full line items; this is only for Header 3, 4 & 5.
Please help me in this to get it resolved.Hello,
you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
Regards Otto -
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input
Dear Friends,
We are facing a serious problem for debugging. Expecting valuable input for the same.
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
1st ] Within R/3
Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
2nd ] From webpage to R/3
Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
In Prod. Server the 1st case above is working but the 2nd case is not working.
In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
The setting which are done in Prod. server are,
1] RZ10 in parameters are set for port and host name.
2.1] In SMICM check for ICM.
2.2] Host file updated in Windows-System 32.
3] In SICF following services are active,
3.1] default_host/sap/bc/webdynpro
3.2] default_host/sap/public/bc
3.3] default_host/sap/public/bc/webdynpro/viewdesigner
3.4] default_host/sap/bc/wdvd
3.5] default_host/sap/public/icman
3.6] default_host/sap/bc/gui/sap/its/webgui
3.7] default_host/sap/public/ping
3.8] default_host/sap/bc/error
3.9] default_host/sap/bc/echo
4] In SE80
4.1] Internet services-System-are published
4.2] Internet services-WEBGUI-are published
4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
5] In Su01 for user profiles sap_all & sap_new is assigned and role SAP_BC_WEBSERVICE_DEBUGGER is assigned.
6] The support packages are also updated to latest level.
7] Gone through following links but not getting any clues.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
Thanks in Advance.
Best Regards,
Abhijit.No cross posting
Read the "Rules of Engagament"
Regards
Juan -
Hi All,
I am trying to implement an XSLT mapping on the ABAP Engine. I went to the Transformation Workbench(SE80).I have created 4 levels of packages (Structure->Main->then 2 more levels) and included Package Interface SAI_TOOLS in 'Use Accesses' tab.
I have also set com.sap.aii.repository.mapping.additionaltypes=R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
in the Exchange Profile.
Now I want to create the tranformation (ST or XSLT) so that I can see it in the Repository.
At which package level(1st to 4th), should I right-click and go to 'Create->More->Transformations' so that I can see this XSLT Mapping program in the repository?
I have followed all the links from help.sap.com but I am unable to get the desired result, i.e. see my Mapping in the Repository when I choose Mapping Program of type 'XSL->ABAP Engine', from the drop-down box in Interface Mapping.
Kindly help.
Regards,
Puloma.Hi Naveen,
I did as you told, i.e. keyed in the name of the ABAP Transformation program (mapping) name.I have not written any namespace for the Mapping program in the Interface Mapping Design, just the Program name.
When I execute my mapping from se80, it works perfectly.
I created this Transformation program at the topmost level (i.e. Structure package level).
But when I execute my scenario, I get the following runtime error in sxmb_moni:
Error in mapping program zpc_transfom2 (type R3_XSLT, kernel error ID UNCAUGHT_EXCEPTION).
What is wrong? Did I create the transformation program at the wrong level?
Regards,
Puloma. -
1) What is the reason for using infotypes with different way(not the same way as in ABAP) of saving the records the database is used in the ABAP-HR Programming?
2) What is the some reason for using Logical Database more ABAP-HR?
3) What is the reason for using precoded macro's in ABAP-HR?Matt,
I am trying to learn ABAP-HR and found that many things that sound different in HR-ABAP can be achieved through normal ABAP below are the some
1) Infotypes - I had read some where that records get saved horizantally (record1 record2 record3) instead in a vertial save ( record1
recordn).
Why is that this type of database design is adapted. Ofcourse these are called repeate structures I guess.
Why is that infotype need to have self built database table, internal table and structure?
This is being already handled in Normal ABAP by creating internal table refering database table/structure.
So my 1st question in the previous to know what is making infotype different than normal way of having a internal table.
2) Macro - is the precoded select query but that is already coded in TRMAC. My question over this when we can have select query what is the need for the precoded stuff?.
For example why to have "RP-READ-INFOTYPE" on some Infotype when this can done through Select * from TABLE pA0*** where field1 = 'xxxx' .
Any ways Thanks for your response,I have 2 years of experience in ABAP and want to shift my self to ABAP-HR. I always try to have strong foundation/understanding of the basics and post the questions to know the differents views (approach of thinking of other ABAPER's). Many times the response provide me very...very valuable stuff and this is the frist time that I have a response that is different from Grath & Sameer. But I guess any response that posted to question which is related always related to ABAP is definitely going to be helpful in one or the other way (may for having good understanding or for preinterview..or some thing else) .
If the post is found to be non sense there is responsible person "MODERATOR" to block the post. I Dont know what made these two guys bother them much.
That's great! that you gave me a repsonse that I was always expecting
Ty
SDN Powered -
ABAP Runtime Error while executing planning folder
Hi experts.
We have a situation where I can access our planning folders but that's not the case for one of our user. She encountered with an ABAP Runtime Error as follow:
Appreciate if anyone can help me out with this.
Runtime Error RAISE_EXCEPTION
Date and Time 20.04.2007 16:50:23
ShrtText
Exception condition "X_MESSAGE" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
A RAISE statement in the program "SAPLRSSBR" raised the exception
condition "X_MESSAGE".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
Cancel
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"RAISE_EXCEPTION" C
"SAPLRSSBR" or "LRSSBRU03"
"RSSB_AUTHORITY_IOBJVL_CHECK"
or
"SAPLRSSBR" "X_MESSAGE"
or
"UPB_PM_CUST_START " "X_MESSAGE"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "S53KJ165"
Network address.......... "10.1.53.165"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C3A11F4C00"
Character length......... 8 Bits
Pointer length........... 64 Bits
Work process number...... 3
Short dump setting....... "full"
Database server.......... "S53KJ170"
Database type............ "ORACLE"
Database name............ "BWP"
Database owner........... "SAPBWP"
Character set............ "en_US.ISO8859-1"
SAP kernel............... "640"
Created on............... "Oct 29 2006 20:42:11"
Created in............... "AIX 1 5 00538A4A4C00"
Database version......... "OCI_920 "
Patch level.............. "155"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory usage.............
Roll..................... 16128
EM....................... 16759712
Heap..................... 0
Page..................... 57344
MM Used.................. 10079624
MM Free.................. 2487240
SAP Release.............. "640"
User and Transaction
Client.............. 350
User................ "S51643"
Language key........ "E"
Transaction......... "UPSPL "
Program............. "SAPLRSSBR"
Screen.............. "SAPLUPB_PM_ALV 1000"
Screen line......... 2
Information on where terminated
The termination occurred in the ABAP program "SAPLRSSBR" in
"RSSB_AUTHORITY_IOBJVL_CHECK".
The main program was "UPB_PM_CUST_START ".
The termination occurred in line 416 of the source code of the (Include)
program "LRSSBRU03"
of the source code of program "LRSSBRU03" (when calling the editor 4160).
Source Code Extract
Line
SourceCde
386
l_s_range-low = l_activity.
387
APPEND l_s_range TO l_sx_auth_check_detail-range.
388
INSERT l_sx_auth_check_detail INTO TABLE <l_sx_auth_check>-auth_check_detail.
389
390
CALL FUNCTION 'RSSB_AUTHORITY_IOBJVL_REDUCED'
391
EXPORTING
392
i_infocube = g_sx_iobjvl_check-infocube
393
i_uname = l_uname
394
i_th_hierarchy = g_sx_iobjvl_check-hierarchy
395
i_message = i_message
396
i_activity_force_check = i_activity_force_check
397
CHANGING
398
c_tsx_auth_check_detail = <l_sx_auth_check>-auth_check_detail
399
c_tx_no_auth = l_tx_no_auth
400
c_ts_auth_tlevel = e_ts_auth_tlevel
401
EXCEPTIONS
402
user_not_authorized = 1
403
auth_check_failure = 2
404
auth_check_error = 3
405
inherited_error = 4
406
x_message = 5.
407
IF sy-subrc = 0.
408
REFRESH l_tx_no_auth.
409
CR 20050826 HW873685 SP29 Part 2/3 begin
410
SY-SUBRC = 2 means Auth-Obj missing in users profiles, we need this later
411
ELSEIF sy-subrc = 2.
412
ao_missing = rs_c_true.
413
e_subrc = 2.
414
CR 20050826 HW873685 SP29 Part 2/3 end
415
ELSEIF sy-subrc = 5.
>>>>>
RAISE x_message.
417
ELSE.
418
e_subrc = 2.
419
ENDIF.
420
421
correct the kid now
422
LOOP AT l_tx_no_auth INTO l_sx_no_auth.
423
l_sx_no_auth-kid = <l_sx_auth_check>-kid.
424
APPEND l_sx_no_auth TO e_tx_no_auth.
425
ENDLOOP.
426
427
ENDLOOP.
428
429
End LOOP: Check all SUBNR (FEMS)
430
431
432
CR 20050826 HW873685 SP29 Part 3/3 begin
433
If an Auth-Obj. is missing, no SUBNR can be authorized. Due to OLAP-logic
434
this means empty no_auth table
435
IF ao_missing = rs_c_true.
Contents of system fields
Name
Val.
SY-SUBRC
5
SY-INDEX
1
SY-TABIX
0
SY-DBCNT
0
SY-FDPOS
1
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
210
SY-UCOMM
SELECT
SY-TITLE
Execute All Cost Element
SY-MSGTY
E
SY-MSGID
R7
SY-MSGNO
057
SY-MSGV1
0CO_AREA
SY-MSGV2
A
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
40 FUNCTION SAPLRSSBR LRSSBRU03 416
RSSB_AUTHORITY_IOBJVL_CHECK
39 FORM SAPLRSDRC LRSDRCF15 113
AUTHORITY_CHECK
38 FORM SAPLRSDRC LRSDRCF27 57
BASIC_QUERY_DATA_GET_ROLAP
37 FUNCTION SAPLRSDRC LRSDRCU05 44
RSDRC_BASIC_QUERY_DATA_GET
36 FUNCTION SAPLRSDRC LRSDRCU15 189
RSDRC_BASIC_CUBE_DATA_GET
35 FORM SAPLRSDRC LRSDRCF25 373
DATA_GET
34 FUNCTION SAPLRSDRC LRSDRCU02 249
RSDRC_CUBE_DATA_GET
33 FUNCTION SAPLRSDRI LRSDRIU01 352
RSDRI_INFOPROV_READ
32 FORM /1SEM/UPCBW_350TMWPA01 UPC_BWINTERFC__FIX 174
DATA_READ
31 FUNCTION SAPLUPCBW LUPCBWU06 56
UPC_BW_DATA_READ
30 FUNCTION SAPLUPC1 LUPC1U06 67
UPC_DATA_READ
29 METHOD /1SEM/CL_DATA_350TMWPA01======CP UPC_DATA_READ_DB 25
/1SEM/CL_DATA_350TMWPA01=>IF_SEM_DATA_INTERNAL~READ_DB
28 METHOD /1SEM/CL_BUFFER_350TMWPA01====CP UPC_BUFFER_GET 167
/1SEM/CL_BUFFER_350TMWPA01=>IF_SEM_BUFFER~GET
27 METHOD /1SEM/CL_BUFFER_350TMWPA01====CP UPC_BUFFER_READ 5
/1SEM/CL_BUFFER_350TMWPA01=>IF_SEM_BUFFER~READ
26 METHOD /1SEM/CL_DATA_350TMWPA01======CP UPC_DATA_READ 46
/1SEM/CL_DATA_350TMWPA01=>IF_SEM_DATA~READ
25 FORM 45AJEHYBGH37F61DTX80Q9ZFP UPP_PLAN 395
READ_TRANSACTION_DATA
24 FORM 45AJEHYBGH37F61DTX80Q9ZFP UPP_PLAN 561
GET_DATA
23 FORM 45AJEHYBGH37F61DTX80Q9ZFP UPP_PLAN 800
EC500_SELECT_DATABASE
22 FORM SAPLUPP_PP_KERNEL LUPP_PP_KERNELF97 575
SELECT_DATABASE
21 FORM SAPLUPP_PP_KERNEL LUPP_PP_KERNELF97 464
SELECT_AND_FIND_HEADER_COMBI
20 FORM SAPLUPP_PP_KERNEL LUPP_PP_KERNELF97 217
LOGICAL_SCREEN_FILL_HEADER
19 FORM SAPLUPP_PP_KERNEL LUPP_PP_KERNELF97 60
LOGICAL_SCREEN_FILL
18 FUNCTION SAPLUPP_PP_KERNEL LUPP_PP_KERNELU01 114
UPP_PP_KERNEL_CONSTRUCTOR
17 METHOD CL_UPB_PL_ALV=================CP CL_UPB_PL_ALV=================CM01E 176
CL_UPB_PL_ALV=>CONSTRUCTOR
16 FORM SAPLUPB_PM_ALV LUPB_PM_ALVF01 623
OUTPUT_CREATE
15 FORM SAPLUPB_PM_ALV LUPB_PM_ALVF01 202
OUTPUT_INIT
14 FORM SAPLUPB_PM_ALV LUPB_PM_ALVF01 1062
OUTPUT_PROCESS
13 FORM SAPLUPB_PM_ALV LUPB_PM_ALVF01 1225
OUTPUT_SWITCH_TO_LAYOUT
12 FORM SAPLUPB_PM_ALV LUPB_PM_ALVF05 748
INIT_CONTROLS
11 MODULE (PBO) SAPLUPB_PM_ALV LUPB_PM_ALVO01 13
STATUS
10 FUNCTION SAPLUPB_PM_ALV LUPB_PM_ALVU01 24
UPB_PM_ALV_START
9 METHOD CL_UPB_PM_APPLC===============CP CL_UPB_PM_APPLC===============CM00A 88
CL_UPB_PM_APPLC=>EXECUTE_PM
8 METHOD CL_UPB_PM_ADMIN===============CP CL_UPB_PM_ADMIN===============CM00L 76
CL_UPB_PM_ADMIN=>PAI_ONE_NODE
7 METHOD CL_UPB_PM_ADMIN===============CP CL_UPB_PM_ADMIN===============CM00L 23
CL_UPB_PM_ADMIN=>PAI_ONE_NODE
6 METHOD CL_UPB_PM_ADMIN===============CP CL_UPB_PM_ADMIN===============CM003 121
CL_UPB_PM_ADMIN=>PAI
5 FORM SAPLUPB_PM LUPB_PMF04 80
USER_COMMAND_0210
4 MODULE (PAI) SAPLUPB_PM LUPB_PMI04 11
USER_COMMAND_0210
3 FUNCTION SAPLUPB_PM LUPB_PMU22 86
UPB_PM_MAIN
2 FORM UPB_PM_CUST_START UPB_PM_START_ADMIN 251
PM_START
1 EVENT UPB_PM_CUST_START UPB_PM_START_ADMIN 14
START-OF-SELECTION
Chosen variables
Name
Val.
No. 40 Ty. FUNCTION
Name RSSB_AUTHORITY_IOBJVL_CHECK
I_ACTIVITY
03
33
03
I_ACTIVITY_FORCE_CHECK
2
0
I_MESSAGE
X
5
8
I_SX_IOBJVL_CHECK
ZCTMWMA05 ####
5454544332222222222222222222222222222222222222222222222222222222222222222222222222222222220000
A34D7D1050000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_UNAME
S51643
533333222222
351643000000
E_SUBRC
0
0000
0000
E_TS_AUTH_TLEVEL
Table[initial]
E_TX_NO_AUTH
Table[initial]
RSSB_C_AUTH_KEYFIGURE
1KYFNM
3454442222
1B96ED0000
SY-REPID
SAPLRSSBR
5454555452222222222222222222222222222222
310C233220000000000000000000000000000000
SYST-REPID
SAPLRSSBR
5454555452222222222222222222222222222222
310C233220000000000000000000000000000000
%_SPACE
2
0
RS_C_RANGE_SIGN
IE
44
95
SY-SUBRC
5
0000
0005
L_TX_NO_AUTH
Table[initial]
SY-XFORM
CONVERSION_EXIT
444545544454545222222222222222
3FE65239FEF5894000000000000000
SYST
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1. ###################################################à##############
0000000000000000000000000002000000000000000000000000000000000000000000000000000E00000000000000
0001000000000000000000000000000000000000000000010001000000010000000000000000000000000000000000
L_SX_NO_AUTH
############ÿÿÿÿ
000000000000FFFF
000000000000FFFF
L_SX_NO_AUTH-KID
Table[initial]
<L_SX_AUTH_CHECK>-KID
Table IT_33029[1x4]
FUNCTION-POOL=RSSBRDATA=G_SX_IOBJVL_CHECK-AUTH_CHECK[1]-KID
Table reference: 2052
TABH+ 0(20) = 07000000908D2FD0000000000000000000000000
TABH+ 20(20) = 00000804000081050000000100000004FFFFFFFF
TABH+ 40(16) = 040002F1000003480001432821000000
store = 0x07000000908D2FD0
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 2052 (0x00000804)
label = 33029 (0x00008105)
fill = 1 (0x00000001)
leng = 4 (0x00000004)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000003
occu = 1 (0x00000001)
access = 2 (ItAccessSorted)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 2 (table_line)
cmpMode = 5 (cmpSingle)
occu0 = 0
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x07000000908E0CC8
pghook = 0x0000000000000000
idxPtr = 0x0000000000000000
refCount = 1 (0x00000001)
tstRefCount = 0 (0x00000000)
lineAdmin = 1 (0x00000001)
lineAlloc = 1 (0x00000001)
store_id = 6998 (0x00001B56)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
No. 39 Ty. FORM
Name AUTHORITY_CHECK
I_TH_SFC
Table IT_32090[14x128]
FUNCTION=RSDRC_BASIC_CUBE_DATA_GETDATA=L_TH_SFC
Table reference: 1757
TABH+ 0(20) = 070000009052D8F8070000009081372800000000
TABH+ 20(20) = 000006DD00007D5A0000000E00000080FFFFFFFF
TABH+ 40(16) = 040002DB000017C80010839401000000
store = 0x070000009052D8F8
ext1 = 0x0700000090813728
shmId = 0 (0x00000000)
id = 1757 (0x000006DD)
label = 32090 (0x00007D5A)
fill = 14 (0x0000000E)
leng = 128 (0x00000080)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000099
occu = 16 (0x00000010)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 3 (user defined)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x0700000090811F18
pghook = 0x0000000000000000
idxPtr = 0x070000009052D950
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x00000010)
lineAlloc = 16 (0x00000010)
store_id = 6872 (0x00001AD8)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0700000090813588
hsdir = 0x0000000000000000
ext2 = 0x0000000000000000
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
CL_RSO_REPOSITORY=>P_C_BAL_LOG_SUBOBJEC_INST
SY-REPID
SAPLRSDRC
5454554542222222222222222222222222222222
310C234230000000000000000000000000000000
L_S_RANGE-LOW
1ROWCOUNT
354544545222222222222222222222222222222222222222222222222222
12F73F5E4000000000000000000000000000000000000000000000000000
<L_S_SFK>-KYFNM
1ROWCOUNT
354544545222222222222222222222
12F73F5E4000000000000000000000
RSDRC_C_QUERYMODE-CUMULATIVE
C
4
3
S_S_COB_PRO
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
L_SX_SELDR-RANGE+8(8)
Table IT_32110[2x136]
FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_SX_SELDR
Table reference: 1902
TABH+ 0(20) = 0700000090813D10000000000000000000000000
TABH+ 20(20) = 0000076E00007D6E0000000200000088FFFFFFFF
TABH+ 40(16) = 040002DB00001AA00010254421000000
store = 0x0700000090813D10
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 1902 (0x0000076E)
label = 32110 (0x00007D6E)
fill = 2 (0x00000002)
leng = 136 (0x00000088)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000112
occu = 16 (0x00000010)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 2 (table_line)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x07000000908800F8
pghook = 0x0000000000000000
idxPtr = 0x0000000000000000
refCount = 1 (0x00000001)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x00000010)
lineAlloc = 16 (0x00000010)
store_id = 6876 (0x00001ADC)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
L_S_RANGE
IEQ1ROWCOUNT
4453545445452222222222222222222222222222222222222222222222222222222222222222222222222222222222
95112F73F5E40000000000000000000000000000000000000000000000000000000000000000000000000000000000
L_TSX_SELDR
Table IT_32094[13x120]
FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_TSX_SELDR
Table reference: 1870
TABH+ 0(20) = 0700000090813AE007000000908DF36800000000
TABH+ 20(20) = 0000074E00007D5E0000000D00000078FFFFFFFF
TABH+ 40(16) = 040002DB000018A8000C4B9C01000000
store = 0x0700000090813AE0
ext1 = 0x07000000908DF368
shmId = 0 (0x00000000)
id = 1870 (0x0000074E)
label = 32094 (0x00007D5E)
fill = 13 (0x0000000D)
leng = 120 (0x00000078)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000103
occu = 12 (0x0000000C)
access = 2 (ItAccessSorted)
idxKind = 1 (ItIndexLinear)
uniKind = 1 (ItUnique)
keyKind = 3 (user defined)
cmpMode = 3 (cmpSingleMcmpU)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x070000009087FB40
pghook = 0x0700000090813D68
idxPtr = 0x0700000090813DA0
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 36 (0x00000024)
lineAlloc = 36 (0x00000024)
store_id = 6875 (0x00001ADB)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x07000000908DED00
hsdir = 0x0000000000000000
ext2 = 0x0000000000000000
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
L_SX_SELDR
00001KYFNM ########300 0 ####ÿÿÿÿ#### 0 ######## ####ÿÿ
333334544422222222222222222222222222000000003332223222220000FFFF0000223200000000222222220000FF
00001B96ED00000000000000000000000000000000003000000000000000FFFF0000000000000000000000000000FF
G_RUNNING
0
0000
0000
L_BASICCUBE
ZCTMWMA05
545454433222222222222222222222
A34D7D105000000000000000000000
L_TH_FREE
Table IT_32093[6x30]
FUNCTION-POOL=RSDRCFORM=AUTHORITY_CHECKDATA=L_TH_FREE
Table reference: 1763
TABH+ 0(20) = 0700000090813760000000000000000000000000
TABH+ 20(20) = 000006E300007D5D000000060000001EFFFFFFFF
TABH+ 40(16) = 040002DB00001B800010831401000000
store = 0x0700000090813760
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 1763 (0x000006E3)
label = 32093 (0x00007D5D)
fill = 6 (0x00000006)
leng = 30 (0x0000001E)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000116
occu = 16 (0x00000010)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 2 (table_line)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x07000000908137B8
pghook = 0x0000000000000000
idxPtr = 0x07000000908139B0
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x00000010)
lineAlloc = 16 (0x00000010)
store_id = 6874 (0x00001ADA)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
SYST-REPID
SAPLRSDRC
5454554542222222222222222222222222222222
310C234230000000000000000000000000000000
L_SX_IOBJVL_CHECK
ZCTMWMA05 ####
5454544332222222222222222222222222222222222222222222222222222222222222222222222222222222220000
A34D7D1050000000000000000000000000000000000000000000000000000000000000000000000000000000000000
L_ACTIVITY
03
33
03
SY-UNAME
S51643
533333222222
351643000000
S_MULTICUBE
222222222222222222222222222222
000000000000000000000000000000
E_SUBRC
0
0000
0000
%_VIASELSCR
0
4
S_CHANM
222222222222222222222222222222
000000000000000000000000000000
I_RAISE_EXCEPTION
X
5
8
RS_C_TRUE
X
5
8
SCREEN
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
No. 38 Ty. FORM
Name BASIC_QUERY_DATA_GET_ROLAP
E_T_DATA
Table[initial]
E_END_OF_DATA
2
0
C_FIRST_CALL
X
5
8
S_S_QPARAM
XX 0 ##ÿÿÿÿ####DB-VIEW R ###dABAP-TABLE
25523200FFFF0000442544522222222222222222222222222222222222222222222222520006444525444422222222
08800000FFFF000042D6957000000000000000000000000000000000000000000000002000041210D412C500000000
C_S_QPARAM-AUTHORITY_CHECK
R
5
2
RSDRC_C_AUTHCHK-NONE
2
0
RSJOBINFO
00000000000000 ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RSD_C_DPANM
0REQUID 0CHNGID 0RECORDTP 0IOB
3545544222222222222222222222223444444222222222222222222222223544454552222222222222222222223444
025159400000000000000000000000038E794000000000000000000000000253F244000000000000000000000009F2
SPACE
2
0
I_BASICCUBE
ZCTMWMA05
545454433222222222222222222222
A34D7D105000000000000000000000
I_TH_SFC
Table IT_32090[14x128]
I_TH_SFK
Table IT_32091[2x128]
FUNCTION=RSDRC_BASIC_CUBE_DATA_GETDATA=L_TH_SFK
Table reference: 1767
TABH+ 0(20) = 0700000090887AC00700000090813CD800000000
TABH+ 20(20) = 000006E700007D5B0000000200000080FFFFFFFF
TABH+ 40(16) = 040002DB000018380010839421000000
store = 0x0700000090887AC0
ext1 = 0x0700000090813CD8
shmId = 0 (0x00000000)
id = 1767 (0x000006E7)
label = 32091 (0x00007D5B)
fill = 2 (0x00000002)
leng = 128 (0x00000080)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000101
occu = 16 (0x00000010)
access = 4 (ItAccessHashed)
idxKind = 0 (ItIndexNone)
uniKind = 1 (ItUnique)
keyKind = 3 (user defined)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x0700000090884C90
pghook = 0x0000000000000000
idxPtr = 0x0700000090827A98
refCount = 1 (0x00000001)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x00000010)
lineAlloc = 16 (0x00000010)
store_id = 6857 (0x00001AC9)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0700000090813B38
hsdir = 0x0000000000000000Have you check or trace Authorization??
In DUMP:
Information on where terminated
The termination occurred in the ABAP program "SAPLRSSBR" in
"RSSB_AUTHORITY_IOBJVL_CHECK".
The main program was "UPB_PM_CUST_START ". -
One of our abap report is extremely slow, this report is used by all
branches of our company
and we are facing serious performance problem in this report. I have
analyzed the problem
and noted following things.
1) The report used "BSIS" table for a query.
2) In peak times it is observed lot of IO wait is happening on that
particular report and on
"BSIS" table.
3) After analysis of table BSIS it is noted that table has more than 12
million records and
exceeding table class limit in technical setting of tables.
4) Size of table is 4 GB.
5) Table also does not have other indexes apart from one composite PK-
unique index. This
index is composed of 9 fields.
6) Update Stats is has been taken in 10 minutes of BSIS~0.
We are closely analyzing code and where clause of our report.
I want to ask do we need other indexes specially on DATE field which is
not included in
existing index?
Do we need index rebuild as stats are gathered in 10 minutes which is
quite a long time in
my opinion?
Do we need table partition right now as BSIS has 12 million records and
4 GB of size ?
Best Regards
WaqasHi,
1) table bsis is the table for open items (GL-accounts)
-> perfect state of such a table is that there are <b>zero</b> entries,
because all open items had to be cleared and are moved to table bsas
(cleared items)
-> so 1st there is an organisational problem in your company / account dept.
why there are so many open items?
2) analyse the select statements and the abaps, which fetch bsis-table with
st05
-> check, whether key-fields BUKRS and HKONT are filled in where-clause
3)-> look to wiki- ABAP Performance and Tuning
https://wiki.sdn.sap.com/wiki/display/HOME/ABAPPerformanceand+Tuning#ABAPPerformanceandTuning-Whattoolscanbeusedtohelpwithperformancetuning%3F
regards Andreas -
N4S: Web Dynpro for ABAP layout editor not working
Have problem in Layout editor in Web Dynpro for ABAP
I have installed NW04S Testdrive on 64bit Linux and able to login.
SE80 is working alright.
Next I create a Web Dynpro Comp. / Intf. and create a component.
I double click on the View name "V_Default" . The Layout editor opens on the right side. Change into Edit Mode.
The "View Elements" panel on the left side of layout editor is missing. This is where we select the various elements like "Textview" etc.
Even the right click on the "ROOTUIELEMENTCONTAINER" to insert elements using context menu does not work.
In summary I am not able to add any element in WD4A Layout screen.
Is there any special plugin required to be installed?
How to solve this problem?you cannot develope Webdynpro for ABAP using ECC5
This is available with netweaver 2004s (WAS7.0) for which ramp up is going on right now and the general availability is expected sometime around 1st quarter for 2006.
Regards
Raja -
Hi All,
My Screen consist of 3 Input/Output Field and a Radio button group which consist of 8 radio button.
Problem 1:
When select a radio button, 2 of the Input/Output Field data that was define previously was clear and 1 of the Input/Output Field data still remain.
Problem 2:
Data was enter in the 3 Input/Output Field. When i submit, the program will validate the 1st Input/Output Field. When it validate, the 2 of the Input/Output Field data was clear off.
How to prevent the data being clear off?
Code Sample:
==============================================================
Flow Logic
==============================================================
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
PROCESS AFTER INPUT.
CHAIN.
FIELD:
TB_OBJECTID,
TB_LOADID,
TB_LOADDESC.
MODULE USER_COMMAND_9000.
ENDCHAIN.
==============================================================
==============================================================
ABAP Program
==============================================================
REPORT ZTEST_RADIOBTN.
DATA: TB_OBJECTID(20) TYPE c,
TB_OBJECTDESC(100) TYPE c,
RB_STEP1(1) TYPE c,
RB_STEP2(1) TYPE c,
RB_STEP3(1) TYPE c,
RB_STEP4(1) TYPE c,
RB_STEP5(1) TYPE c,
RB_STEP6(1) TYPE c,
RB_STEP7(1) TYPE c,
RB_STEP8(1) TYPE c.
START-OF-SELECTION.
CALL SCREEN 9000.
" Main Screen - PBO.
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'MAIN_SCREEN'.
SET TITLEBAR 'MAIN_SCREEN'.
ENDMODULE.
" Main Screen - PAI.
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'BACK'.
Leave to SCREEN '0'.
WHEN 'EXECUTE'.
CASE TB_OBJECTID.
WHEN '1'.
TB_OBJECTDESC = '1'.
WHEN '2'.
TB_OBJECTDESC = '2'.
WHEN OTHERS.
TB_OBJECTDESC = 'Invalid Input'.
ENDCASE.
PERFORM validate_ObjectID.
ENDCASE.
ENDMODULE.
FORM validate_ObjectID.
IF TB_OBJECTID IS INITIAL.
SET CURSOR FIELD 'TB_OBJECTID'.
MESSAGE e000(ZSCSDM_MSG) WITH 'Please define Object ID'.
ENDIF.
ENDFORM.
Best Regards,
RaydenHi Ray,
The issue seems to be that there is no varaible decalred in your top include to hold the values of the screen variables.
Concept is that on any user actio like an 'Enter' etc causes the flow logic ( PBO & PAI ) to be executed. So during these first the system transfers the screen field values to the available variables ( Only if it finds any .. so declare variables in Top Include with same name.)
Later during PBO execution it transfers the values back from variables in Top include ( Local variables ) to the screen field.
<b>On User Action :
PAI Executed => Screen Values --> Local Var.
then
PBO Executed => Local Var --> Screen Values.
This is the flow concept.</b>
<i><b>Reward Points if useful .</b></i> -
Increase the column lengths of excel sheet through abap
I developed a abap program and it was displayed the output.
So i need to display this out put in excel sheet.
for that I read the out put and placed in the excel,
the only problem is the column lengths are small
after download i am dragging the each column,
But i need to increase the each column by the program
How can I ?
I am using the following code
lastline = new_line_c + 13.
DO .
READ LINE sy-index LINE VALUE INTO it_read-excel.
APPEND it_read.
IF sy-index > lastline.
EXIT.
ENDIF.
ENDDO.
lastline = new_line_c - 38.
colm = ( length - 37 ) / 18.
colm = colm + 4.
FOR THE EXCEL CONVERTION
INCLUDE ole2incl.
DATA: w_cell1 TYPE ole2_object,
w_cell2 TYPE ole2_object.
*--- Ole data Declarations
DATA: h_excel TYPE ole2_object, " Excel object
h_mapl TYPE ole2_object, " list of workbooks
h_map TYPE ole2_object, " workbook
h_zl TYPE ole2_object, " cell
h_f TYPE ole2_object, " font
gs_interior TYPE ole2_object, " Pattern
worksheet TYPE ole2_object,
h_cell TYPE ole2_object,
h_merge TYPE ole2_object,
h_cell1 TYPE ole2_object,
range TYPE ole2_object,
h_sheet2 TYPE ole2_object,
h_sheet3 TYPE ole2_object,
gs_font TYPE ole2_object,
flg_stop(1) TYPE c.
*DATA: t_excel_bckord LIKE t_excel OCCURS 0 WITH HEADER LINE,
*t_excel_bcklog LIKE t_excel OCCURS 0 WITH HEADER LINE,
*t_excel_blkord LIKE t_excel OCCURS 0 WITH HEADER LINE.
TYPES: data1(1500) TYPE c,
ty TYPE TABLE OF data1.
DATA: it TYPE ty WITH HEADER LINE,
it_2 TYPE ty WITH HEADER LINE,
it_3 TYPE ty WITH HEADER LINE,
rec TYPE sy-tfill,
deli(1) TYPE c,
l_amt(18) TYPE c.
DATA: BEGIN OF hex,
tab TYPE x,
END OF hex.
FIELD-SYMBOLS: <fs> .
CONSTANTS cns_09(2) TYPE n VALUE 09.
ASSIGN deli TO <fs> TYPE 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
DATA gv_sheet_name(20) TYPE c .
M A C R O Declaration
DEFINE ole_check_error.
if &1 ne 0.
message e001(zz) with &1.
exit.
endif.
END-OF-DEFINITION.
DATA: xy TYPE i,
xz TYPE i,
yz TYPE i,
ab TYPE i,
pterm TYPE i.
IF h_excel-header = space OR h_excel-handle = -1.
start Excel
CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
ENDIF.
PERFORM err_hdl.
*--- get list of workbooks, initially empty
CALL METHOD OF h_excel 'Workbooks' = h_mapl.
PERFORM err_hdl.
SET PROPERTY OF h_excel 'Visible' = 1.
add a new workbook
CALL METHOD OF h_mapl 'Add' = h_map.
PERFORM err_hdl.
*GV_SHEET_NAME = '1st SHEET'.
gv_sheet_name = 'Price Comparison List'.
GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
SET PROPERTY OF worksheet 'Name' = gv_sheet_name .
index1 = 3.
LOOP AT it_read.
heading
IF sy-tabix < 4.
it_item = it_read.
IF it_item CS '-----'.
CLEAR it_item.
APPEND it_item.
ELSE.
IF sy-tabix = 1.
it_item+0(1) = deli.
ENDIF.
APPEND it_item.
ENDIF.
ENDIF.
headear data and item
IF sy-tabix > 4 AND sy-tabix < descline1.
it_item = it_read.
IF it_item CS '----'.
ELSE.
REPLACE ALL OCCURRENCES OF sy-vline IN it_item WITH deli.
APPEND it_item.
ENDIF.
ENDIF.
xy = 2.
xz = 38.
discount etc
IF sy-tabix >= descline1 AND sy-tabix < descline.
it_item = it_read.
it_item+12(1) = deli.
it_item+22(1) = deli.
it_item+43(1) = deli.
WHILE xy < colm.
xz = xz + 18.
it_item+xz(1) = deli.
xy = xy + 1.
ENDWHILE.
APPEND it_item.
ENDIF.
payment terms
xy = 2.
xz = 37.
pterm = descline + 6.
IF sy-tabix > descline AND sy-tabix < pterm.
it_item = it_read.
IF it_item CS '-----'.
CLEAR it_item.
APPEND it_item.
ELSE.
it_item+12(1) = deli.
it_item+15(1) = deli.
it_item+36(1) = deli.
WHILE xy < colm.
xz = xz + 17.
it_item+xz(1) = deli.
xy = xy + 1.
ENDWHILE.
APPEND it_item.
ENDIF.
ENDIF.
prepared by
lastline = pterm + 3.
IF sy-tabix >= pterm AND sy-tabix <= lastline.
it_item = it_read.
IF it_item CS '-----'.
ELSE.
it_item+0(1) = deli.
it_item+54(1) = ' '.
it_item+16(1) = deli.
APPEND it_item.
ENDIF.
ENDIF.
remaarks
yz = lastline + 10.
IF sy-tabix > lastline AND sy-tabix <= yz.
it_item = it_read.
it_item+0(1) = deli.
it_item+54(1) = ' '.
APPEND it_item.
ENDIF.
approved by
ab = yz + 5.
IF sy-tabix > yz AND sy-tabix < ab.
it_item = it_read.
IF it_item CS '-----'.
ELSE.
it_item+0(1) = deli.
it_item+54(1) = ' '.
it_item+14(1) = deli.
APPEND it_item.
ENDIF.
ENDIF.
ENDLOOP.
*--Formatting the area of additional data 1 and doing the BOLD
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the second row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 2
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the fourth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 4
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the fifth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 5
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
*Bold for the sixth row
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 6
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = colm.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
DATA l_rc TYPE i.
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it_item[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 1.
PERFORM err_hdl.
CALL METHOD OF h_excel 'Range' = range
EXPORTING
#1 = w_cell1
#2 = w_cell2.
CALL METHOD OF range 'Select'.
PERFORM err_hdl.
CALL METHOD OF worksheet 'Paste'.
PERFORM err_hdl.
CALL METHOD OF h_excel 'QUIT'.
FREE OBJECT h_zl.
FREE OBJECT h_mapl.
FREE OBJECT h_map.
FREE OBJECT h_excel.Hello Ravi,
Thank you very much for your suggestions.. but still have some more doubts:
What i want to do is :
-->call report in background job with a selection criteria.
-->the output of the report should be trasnsfered to excel sheet
-->then the excel sheet should be sent to XI..
My doubts are:
-> is it possible with every report or we need some extra code to achieve this
-> If yes, then how exactly it should be done. can you please explain in more detail.
Thank you very much for your help.
Best Regards,
Jasmeet -
ABAP DUMP - DYNPRO_FIELD_CONVERSION !!!
Hii SAP Expert,
I having a problem when diplaying the material document using reservation number, below is the abap dump error from sap, could anyone tell me what is the problem ?
Runtime Error DYNPRO_FIELD_CONVERSION
Date and Time 31.12.2007 17:49:41
<removed by moderator as the content doesnt help to understand the problem>
Error analysis
The program flow was interrupted and could not be resumed.
Program "SAPLMIGO" tried to display fields on screen 0370. However, an
error occurred while this data was being converted.
How to correct the error
A conversion error occurred while the program was trying to
display data on the screen.
The ABAP output field and the screen field may not have the
same format.
Some field types require more characters on the screen than
in the ABAP program. For example, a date field on a screen needs
two characters more than it would in the program. When attempting to
display the date on the screen, an error will occur that triggers the
error message.
Screen name.............. "SAPLMIGO"
Screen number............ 0370
Screen field............. "GOITEM-VMENG"
Error text............... "FX015: Sign lost."
Further data:
<removed by moderator as the content doesnt help to understand the problem> |
"DYNPRO_FIELD_CONVERSION" " "
"SAPLMIGO" bzw. "LMIGOPBO"
"PBO_DETAIL_RESERVATION"
System environment
SAP Release.............. "640"
Application server....... "pecprd00"
Network address.......... "192.168.1.122"
Operating system......... "HP-UX"
Release.................. "B.11.23"
Hardware type............ "ia64"
Character length......... 16 Bits
Pointer length........... 64 Bits
Work process number...... 2
Short dump setting....... "full"
Database server.......... "pesbdbci"
Database type............ "ORACLE"
Database name............ "ECP"
Database owner........... "SAPECP"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Mar 21 2007 20:14:03"
Created in............... "HP-UX B.11.23 U ia64"
Database version......... "OCI_920 "
Patch level.............. "175"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "HP-UX B.11"
Memory usage.............
Roll..................... 16192
EM....................... 33518720
Heap..................... 0
Page..................... 425984
MM Used.................. 7977808
MM Free.................. 399024
SAP Release.............. "640"
User and Transaction
Client.............. 900
User................ "GHAZALM"
Language key........ "E"
Transaction......... "/DBM/ORDER03 "
Program............. "SAPLMIGO"
Screen.............. "SAPLMIGO 0370"
Screen line......... 0
Information on where terminated
The termination occurred in the ABAP program "SAPLMIGO" in
"PBO_DETAIL_RESERVATION".
The main program was "MB_CALL_MIGO_DIALOG ".
The termination occurred in line 296 of the source code of the (Include)
program "LMIGOPBO"
of the source code of program "LMIGOPBO" (when calling the editor 2960).
Source Code Extract
Line
SourceCde
266
ENDMODULE. " PBO_DETAIL_ORDER OUTPUT
267
268
*& Module PBO_DETAIL_TRANSFER OUTPUT
269
270
MODULE pbo_detail_transfer OUTPUT.
271
CALL METHOD oref_detail_transfer->pbo.
272
ENDMODULE. " PBO_DETAIL_TRANSFER OUTPUT
273
274
*& Module PBO_BOM_POPUP OUTPUT
275
276
MODULE pbo_bom_popup OUTPUT.
277
CALL METHOD oref_bom->pbo.
278
ENDMODULE. " PBO_BOM_POPUP OUTPUT
279
280
*& Module PBO_DEFAULTS_LOOP OUTPUT
281
282
MODULE pbo_defaults_loop OUTPUT.
283
CALL METHOD oref_defaults->pbo_loop.
284
ENDMODULE. " PBO_DEFAULTS_LOOP OUTPUT
285
286
*& Module PBO_SEARCH_RES OUTPUT
287
288
MODULE pbo_search_res OUTPUT.
289
CALL METHOD oref_search->pbo.
290
ENDMODULE. " PBO_SEARCH_RES OUTPUT
291
292
*& Module PBO_DETAIL_RESERVATION OUTPUT
293
294
MODULE pbo_detail_reservation OUTPUT.
295
CALL METHOD oref_detail_reservation->pbo.
>>>>>
ENDMODULE. " PBO_DETAIL_RESERVATION OUTPUT
297
298
299
*& Module PBO_DETAIL_TAKEIT OUTPUT
300
301
MODULE pbo_detail_takeit OUTPUT.
302
CALL METHOD oref_detail_takeit->pbo.
303
ENDMODULE. " PBO_DETAIL_TAKEIT OUTPUT
304
305
*& Module PBO_DETAIL_PARTNERS OUTPUT
306
307
Detail Tabstrip Partners
308
309
MODULE pbo_detail_partners OUTPUT.
310
CALL METHOD oref_detail_partners->pbo.
311
ENDMODULE. " PBO_DETAIL_PARTNERS OUTPUT
312
313
*& Module PBO_DETAIL_DEST_SUB_SELECT OUTPUT
314
315
MODULE pbo_detail_dest_sub_select OUTPUT.
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
0
SY-DBCNT
1
SY-FDPOS
40
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
MIGO_STATUS
SY-UCOMM
SY-TITLE
Display Material Document 4901380914 - Ghazali Musa
SY-MSGTY
E
SY-MSGID
DA
SY-MSGNO
300
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
3 MODULE (PBO) SAPLMIGO LMIGOPBO 296
PBO_DETAIL_RESERVATION
2 FUNCTION SAPLMIGO LMIGOU02 225
MIGO_DIALOG
1 EVENT MB_CALL_MIGO_DIALOG MB_CALL_MIGO_DIALOG 37
START-OF-SELECTION
Chosen variables
Name
Val.
No. 3 Ty. MODULE (PBO)
Name PBO_DETAIL_RESERVATION
%_DUMMY$$
0000
0000
2222
0000
OREF_DETAIL_RESERVATION
A0000005
70000008
No. 2 Ty. FUNCTION
Name MIGO_DIALOG
I_ACTION
A04
000
000
433
104
I_DEADEND
X
0
0
5
8
I_EBELN
0000000000
0000000000
2222222222
0000000000
I_EBELP
00000
00000
00000
33333
00000
I_INBOUND_DELIV
0000000000
0000000000
2222222222
0000000000
I_LEAVE_AFTER_POST
0
0
2
0
I_MBLNR
4901380914
0000000000
0000000000
3333333333
4901380914
I_MJAHR
0000
0000
0000
3333
0000
I_NEW_ROLLAREA
0
0
2
0
I_NOTREE
X
0
0
5
8
I_NO_AUTH_CHECK
0
0
2
0
I_OKCODE
OK_GO
00000000000000000000
00000000000000000000
44544222222222222222
FBF7F000000000000000
I_ORDER_ITEM
0000
0000
0000
3333
0000
I_ORDER_NUMBER
000000000000
000000000000
222222222222
000000000000
I_OUTBOUND_DELIV
0000000000
0000000000
2222222222
0000000000
I_REFDOC
R02
000
000
533
202
I_RESERVATION_ITEM
0000
0000
0000
3333
0000
I_RESERVATION_NUMB
0000000000
0000000000
0000000000
3333333333
0000000000
I_SKIP_FIRST_SCREEN
X
0
0
5
8
I_SYTCODE
/DBM/ORDER03
00000000000000000000
00000000000000000000
24442454453322222222
F42DFF24520300000000
I_TRANSPORT
0000000000
0000000000
2222222222
0000000000
I_TRANSPORTIDENT
00000000000000000000
00000000000000000000
22222222222222222222
00000000000000000000
I_TRANSPORT_MEANS
0000
0000
2222
0000
I_ZEILE
0000
0000
0000
3333
0000
SY
#######################(###############j#########(#################################(#### C####
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100
0000000000000000000000020000000000000006000000000200000000000000000000000000010900020008240000
000000010000000000000108010001000000000A0000000008000000000000000000000000000A000008000003000C
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_EBELP
00000
00000
00000
33333
00000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_MBLNR
4901380914
0000000000
0000000000
3333333333
4901380914
SPACE
0
0
2
0
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_MJAHR
0000
0000
0000
3333
0000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_ZEILE
0000
0000
0000
3333
0000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_TRANSPORT
0000000000
0000000000
2222222222
0000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_ORDER_NUMBER
000000000000
000000000000
222222222222
000000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_ORDER_ITEM
0000
0000
0000
3333
0000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_TRANSPORT_MEANS
0000
0000
2222
0000
RL50E
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_TRANSPORTIDENT
00000000000000000000
00000000000000000000
22222222222222222222
00000000000000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_INBOUND_DELIV
0000000000
0000000000
2222222222
0000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_OUTBOUND_DELIV
0000000000
0000000000
2222222222
0000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_RESERVATION_NUMB
0000000000
0000000000
0000000000
3333333333
0000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_RESERVATION_ITEM
0000
0000
0000
3333
0000
SY-REPID
SAPLMIGO
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454444422222222222222222222222222222222
310CD97F00000000000000000000000000000000
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_ACTIVE
X
0
0
5
8
ABAP_TRUE
X
0
0
5
8
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_LEAVE_AFTER_POST
0
0
2
0
LCL_MIGO_GLOBALS=>EXTERNAL_CALL_FIRST_ROUND
0
0
2
0
GOSEARCH_RES
00000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222333333332222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
No. 1 Ty. EVENT
Name START-OF-SELECTION
I_NOTREE
X
0
0
5
8
I_IN_DEL
0000000000
0000000000
2222222222
0000000000
I_LEAVE_
0
0
2
0
VARI
###00000000000000 ############
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2222222222222222222222222222222222222222222222222222222222200033333333333333222222000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_MBLNR
4901380914
0000000000
0000000000
3333333333
4901380914
I_MJAHR
0000
0000
0000
3333
0000
I_NEW_RO
0
0
2
0
I_NO_AUT
0
0
2
0
I_OKCODE
OK_GO
00000000000000000000
00000000000000000000
44544222222222222222
FBF7F000000000000000
%_I_ACTION_%_APP_%
I_ACTION
000000000000000000000000000000
000000000000000000000000000000
454454442222222222222222222222
9F1349FE0000000000000000000000
I_ORDERI
0000
0000
0000
3333
0000
I_ACTION
A04
000
000
433
104
I_ORDERN
000000000000
000000000000
222222222222
000000000000
%_I_NOTREE_%_APP_%
I_NOTREE
000000000000000000000000000000
000000000000000000000000000000
454455442222222222222222222222
9FEF42550000000000000000000000
I_OUT_DE
0000000000
0000000000
2222222222
0000000000
SY-XFORM
CONVERSION_EXIT
000000000000000000000000000000
000000000000000000000000000000
444545544454545222222222222222
3FE65239FEF5894000000000000000
I_REFDOC
R02
000
000
533
202
%_I_NO_AUT_%_APP_%
I_NO_AUT
000000000000000000000000000000
000000000000000000000000000000
454454552222222222222222222222
9FEFF1540000000000000000000000
I_RES_IT
0000
0000
0000
3333
0000
I_RES_NU
0000000000
0000000000
0000000000
3333333333
0000000000
I_SKIP_F
X
0
0
5
8
I_SYTCOD
/DBM/ORDER03
00000000000000000000
00000000000000000000
24442454453322222222
F42DFF24520300000000
SY-LDBPG
SAPDB__S
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454455522222222222222222222222222222222
31042FF300000000000000000000000000000000
I_TRANSP
0000000000
0000000000
2222222222
0000000000
%_I_REFDOC_%_APP_%
I_REFDOC
000000000000000000000000000000
000000000000000000000000000000
455444442222222222222222222222
9F2564F30000000000000000000000
I_TR_IDE
00000000000000000000
00000000000000000000
22222222222222222222
00000000000000000000
I_TR_MEA
0000
0000
2222
0000
I_ZEILE
0000
0000
0000
3333
0000
%_DUMMY$$
0000
0000
2222
0000
%_I_SKIP_F_%_APP_%
I_SKIP_F
000000000000000000000000000000
000000000000000000000000000000
455445542222222222222222222222
9F3B90F60000000000000000000000
SY-REPID
MB_CALL_MIGO_DIALOG
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
4454444544445444444222222222222222222222
D2F31CCFD97FF491CF7000000000000000000000
SY-SUBRC
0
0000
0000
%_SSCR[]
Table IT_0[24x492]
\PROGRAM=MB_CALL_MIGO_DIALOG\DATA=%_SSCR[]
Table reference: 0
TABH+ 0(20) = C000000251801770000000000000000000000000
TABH+ 20(20) = 000000000000000000000018000001ECFFFFFFFF
TABH+ 40(16) = 04000000000003B000202CC021000000
store = 0xC000000251801770
ext1 = 0x0000000000000000
shmId = 0 (0x00000000)
id = 0 (0x00000000)
label = 0 (0x00000000)
fill = 24 (0x00000018)
leng = 492 (0x000001EC)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000006
occu = 32 (0x00000020)
access = 1 (ItAccessStandard)
idxKind = 1 (ItIndexLinear)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 0
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0xC0000002518A66C0
pghook = 0x0000000000000000
idxPtr = 0xC000000251801B50
refCount = 2 (0x00000002)
tstRefCount = 0 (0x00000000)
lineAdmin = 32 (0x00000020)
lineAlloc = 32 (0x00000020)
store_id = 2 (0x00000002)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
Internal notes
The termination occurred in the function "dynpconv.c" of the SAP
Basis System, specifically in line 701 of the module
"//bas/640_REL/src/krn/dynp/dybas.c#5".
The internal operation just processed is "ENDM".
The internal session was started at 20071231174940.
Application server....... "pecprd00"
Network address.......... "192.168.1.122"
Operating system ........ "HP-UX"
Release.................. "B.11.23"
Hardware type............ "ia64"
Database server.......... "pesbdbci"
Database type............ "ORACLE"
Database name............ "ECP"
Database user ID......... "SAPECP"
triggers this error message.
Screen name.............. "SAPLMIGO"
Screen number............ 0370
Screen field............. "GOITEM-VMENG"
Error text............... "FX015: Sign lost."
Additional data:
Application server....... "pecprd00"
Network address.......... "192.168.1.122"
Operating system......... "HP-UX"
Release.................. "B.11.23"
Hardware type............ "ia64"
Database server.......... "pesbdbci"
Database type............ "ORACLE"
Database name............ "ECP"
Database user ID........ "SAPECP"
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
(0) 0x40000000017dab60 CTrcStack2 + 0x1b0 [dw.sapECP_DVEBMGS10]
(1) 0x40000000017da970 CTrcStack + 0x30 [dw.sapECP_DVEBMGS10]
(2) 0x4000000002373150 Z16rabaxCStackSavev + 0x1d0 [dw.sapECP_DVEBMGS10]
(3) 0x400000000236f3b0 ab_rabax + 0x2d20 [dw.sapECP_DVEBMGS10]
(4) 0x40000000017efdf0 dyHandleError + 0x300 [dw.sapECP_DVEBMGS10]
(5) 0x40000000018ec770 dypcnvoXt + 0x3410 [dw.sapECP_DVEBMGS10]
(6) 0x40000000018e9330 dypcnvo + 0x30 [dw.sapECP_DVEBMGS10]
(7) 0x40000000018b29c0 dynpdco0 + 0x1e0 [dw.sapECP_DVEBMGS10]
(8) 0x40000000018b91c0 dynprctl + 0x390 [dw.sapECP_DVEBMGS10]
(9) 0x40000000018a5c30 dynpen00 + 0x910 [dw.sapECP_DVEBMGS10]
(10) 0x4000000001513620 Thdynpen00 + 0x460 [dw.sapECP_DVEBMGS10]
(11) 0x40000000014e3b60 TskhLoop + 0x46d0 [dw.sapECP_DVEBMGS10]
(12) 0x40000000014da820 tskhstart + 0x3a0 [dw.sapECP_DVEBMGS10]
(13) 0x40000000013b6e50 DpMain + 0x490 [dw.sapECP_DVEBMGS10]
(14) 0x40000000013b1b40 main + 0x70 [dw.sapECP_DVEBMGS10]
(15) 0xc00000000002fb20 main_opd_entry + 0x50 [/usr/lib/hpux64/dld.so]
List of ABAP programs affected
Index
Ty.
Program
Group
Date
Time
Size
Lang.
0
Prg
MB_CALL_MIGO_DIALOG
0
18.09.2001
10:17:04
55296
E
1
Prg
SAPMSSY0
1
10.08.2006
17:27:06
83968
E
2
Prg
SAPMSSYD
1
10.08.2006
17:30:43
20480
E
3
Prg
SAPFSYSCALLS
1
06.11.2003
20:52:59
7168
E
4
Prg
RSDBRUNT
0
12.11.2004
14:03:37
254976
E
5
Typ
RSSCR
0
: m:15
5120
6
Prg
RSDBSPBL
0
06.11.2003
20:56:48
72704
E
7
Prg
SAPDB__S
0
06.11.2003
20:52:58
18432
E
8
Typ
VARID
0
12.05.1997
16:51:30
5120
9
Prg
%_CSYDB0
0
06.11.2003
20:52:42
35840
E
10
Prg
RSDBSPVA
0
10.08.2006
17:09:03
129024
E
11
Typ
RSVAMEMKEY
0
07.05.1997
13:07:49
2048
12
Prg
RSDBSPMC
0
10.08.2006
16:45:25
78848
E
13
Typ
DDSHDESCR
0
03.09.1997
03:05:16
4096
14
Typ
SPPARAMS
0
07.05.1997
13:10:38
2048
15
Typ
SPPARAMS
0
07.05.1997
13:10:38
2048
16
Prg
SAPLICON
16
12.11.2004
13:50:21
27648
E
17
Prg
%_CICON
16
16.03.2004
20:13:52
100352
E
18
Prg
SAPLSABE
18
06.11.2003
20:53:04
13312
E
19
Prg
SAPLSECU
19
10.08.2006
17:27:59
76800
E
20
Typ
RSSUBINFO
0
14.10.1999
22:01:03
3072
21
Typ
RSEXFCODE
0
13.08.1997
12:52:57
2048
22
Prg
SAPLDSYA
22
06.11.2003
20:53:01
45056
E
23
Prg
SAPFSDS1
22
06.11.2003
20:53:24
52224
E
24
Typ
TDCLD
0
02.11.1998
09:51:35
5120
25
Prg
SAPLSDOD
25
10.08.2006
17:29:56
45056
E
26
Typ
DOKIL
0
12.05.1997
16:46:17
3072
27
Prg
SAPCNVE
27
06.11.2003
20:52:58
8192
E
28
Prg
SAPLLANG
28
06.11.2003
20:53:03
10240
E
29
Typ
T002
0
14.02.1998
10:24:58
2048
30
Prg
SAPFSPOR
0
11.08.2006
10:35:34
14336
E
31
Typ
RSPARINT
0
10.04.1995
09:58:38
2048
32
Prg
SAPLKGJH
32
06.11.2003
20:53:03
10240
E
33
Prg
SAPLSCNT
33
06.11.2003
20:53:04
30720
E
34
Typ
DYCBOX
0
20.08.1998
11:16:53
3072
35
Prg
SAPLSVSM
35
10.08.2006
17:26:59
29696
E
36
Prg
SAPLSGUI
36
12.11.2004
13:59:56
76800
E
37
Prg
SAPLSTTM
37
10.08.2006
16:44:18
86016
E
38
Prg
SAPLSBDC
38
10.08.2006
16:54:12
45056
E
39Hi,
In the screen 370 of your module pool, go to the properties of the field which is having a negative value displayed.. (Ex: Currency fields), we see a text with all underscores. ___________
Change it to _________V
Remove last underscore and put V
Hope it solves your problem.
Regards
Sailaja. -
Calling a webservice from webdynpro ABAP.
Hi,
Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls ) with clear steps ?
Thanks in advance. Ponts will not be a constraint for right answers
Praveen
Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AMHi Praveen,
1st Step : configure Logical Port
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
2nd Step : Generate Proxy Object
http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
data: sys_exception type ref to cx_ai_system_fault,
sys_exception2 type ref to cx_ai_application_fault,
client_proxy type ref to zco_myesa, "MY PROXY CLASS
lv_ret_code type int4,
lv_input type zsend_email_input,
lv_response type zsend_email_response.
data: lv_from type string,
lv_from_address type string,
lv_to type string,
lv_to_address type string,
lv_subject type string,
lv_msg type string.
lv_input-from = 'MYSAPTEST'.
lv_input-from_address = '<someAddress>'.
lv_input-to = 'Prashant'.
lv_input-to_address = '<someAddress>'.
lv_input-subject = ' TEST'.
lv_input-msg_body = ' Hi this is wonderfull to see it work'.
try.
create object client_proxy
exporting
logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
call method client_proxy->send_email
exporting
input = lv_input
importing
output = lv_response .
catch cx_ai_system_fault into sys_exception .
data lv_err type string.
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
catch cx_ai_application_fault into sys_exception2 .
lv_err = sys_exception->if_message~get_text( ).
write: / lv_err.
endtry.
if lv_response is initial.
write: /'Not Executed'.
else.
write: /'Did Execute'.
endif.
Greetings
Prashant
Maybe you are looking for
-
Unable to install itunes o n my dell notebook running windows 7 32 bit , Itunes 10.3.1 I get unablet o install message and an Appcrash ..blah blah blah . New pc newly configuered ! Did work before my hard drive replacement
-
Any options for hyperthreading? Envy 17/i7
Hi, not sure which forum to post this in, but since we're talking about hardware level concurrency... are there any options configurable for hyperthreading on the envy 17 (3002ea)? Processor is an i7. I have an intensive application that
-
How to purge data cache table using command line
Hi: Is there a way to purge the data cache table using command line? thanks!
-
Why does the screen shut off and I have to re enter my password after a few seconds?
WHen I am using my MacBook Air, writing down some notes, the screen shuts off after a few seconds. I have to re-enter my password again. This is happening every few seconds. It is driving me crazy! Help!
-
ADF - Collections with Arrays Not Displaying
I am using JDeveloper 10.12. Within the applicaiton I am developing I have the following: nominalRecord - Java Bean nominalRecordCollection - Collection of nominalRecords I have generated a data control from the nominalRecordCollection. The data with