Abap Dump in Solman - Create Data Unknown Type - CX_SY_Create_Data_Error
Hi Gurus, I have installed Solution Manager EHP1 with Db2 database and windows operating system with all 64 bit. Solution manager have been successfully installed and configured and it's ready to use. But i'm getting an abap dump in the solution manager system. Approximately 30 abap dump a day which is the same error message. I've tried to find the error message in market place but couldnt find a solution. Can anyone help me to solve this problem. Thanks.
Runtime Errors CREATE_DATA_UNKNOWN_TYPE
Exception CX_SY_CREATE_DATA_ERROR
Date and Time 15.04.2010 00:31:09
Short text
CREATE DATA: The specified type "/BI0/V0SDB_C02M2" is no valid data type.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_SMD_AGGREGATE_MDX==========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Hello Ram,
Is your issue resolved.Currently i am getting the same issue ,After I have upgraded Solution Manager from EHP1SP20 to SP23.I am getting the Short Dumps.
Runtime Errors CREATE_DATA_UNKNOWN_TYPE
Exception CX_SY_CREATE_DATA_ERROR
Date and Time 08/03/2010 00:30:41
Short text
CREATE DATA: The specified type "/BI0/V0SDB_C02M2" is no valid data type.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_SMD_AGGREGATE_MDX==========CP" 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
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CREATE_DATA_ERROR', was not
caught in
procedure "INITIALIZE" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The dynamically specified type "/BI0/V0SDB_C02M2" at CREATE DATA is no valid
data type.
The type is either unknown or an object type.
How to correct the error
If the specified type "/BI0/V0SDB_C02M2" is an object type, then new objects of
this
type (instances) are not created with CREATE DATA, but with
CREATE OBJECT.
If the type is unknown, then it must be created in the program or in the
ABAP dictionary.
Probably the only way to eliminate the error is to correct the program.
Thank you,
khanth
Similar Messages
-
ABAP dump Error while creating service order in PCUI.
Hi Experts,
We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
Runtime Errors RAISE_EXCEPTION
Date and Time 02.01.2008 14:55:38
Short text
Exception condition "TYPE_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
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
A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
exception
condition "TYPE_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
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.
We have added custom fields in the service application. these custom fields with Z-structure & data elements are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
Helpful answers would be rewrded max points as it is high priority issue.
Regards,
Basavaraj PatilHi Thirumala,
Thnaks for the reply.
I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields) created while doing EEWB is not included in BSP structure.
I f transports are missed to move to target system, Is there any other alternative to solve this problem?
Regards,
Basavaraj Patil -
How to (in 40B) CREATE DATA dref TYPE??
How can I dynamically define a working storage area to be like a structure in a 40B environment?
The "CREATE DATA dref TYPE" works great in 46C and on.
Ken
[email protected]Horst,
This is a bit esoteric, but I thought you would be interested. It seems that you must have a "PARAMETERS" statement in the code you are using BEFORE declaring the variables/field-symbols in the following code. In our 46C system, the program aborts without this. Bizarre! Try it. Remove the parameters for P_ZJOB (the parm before the declarations and it will not compile:
report zsimplecasting .
must have a parameters statement before the declaration of variables
parameters :
p_job default 'ZSDORDP040' no-display.
data tab(30) type c.
data dg(1000) type x.
field-symbols <g> type any.
parameters :
p_job1 default 'ZSDORDP040' no-display.
clear dg.
tab = 'KONV'.
if <g> is assigned.
unassign <g>.
endif.
assign dg to <g> casting type (tab).
data:
ct type i.
describe field <g> length ct.
write:/ 'LENGTH OF KONV RECORD:', ct. -
ABAP DUMP While doing GI Through Zmovement type in MIGO Transaction
Hi ,
We have migrated from FM FBS to BCS from 12.01.2015.
And we are using 101 profile with GR and IR update.
We received blow ABAP Dump while doing the GI through MIGO Transaction.
Can you please help on this.
Dump detatils
Category ABAP Programming Error
Runtime Errors MESSAGE_TYPE_X
ABAP Program CL_BUAVC_ENTRY================CP
Application Component PSM-FM-BCS-AC
Date and Time 13.01.2015 09:10:00
Operating system..... "AIX 1 6, AIX 1 7" |
| |
| Memory consumption |
| Roll.... 0 |
| EM...... 33518336 |
| Heap.... 0 |
| Page.... 196608 |
| MM Used. 21989120 |
| MM Free. 3145840 |
|User and Transaction |
| Client.............. 256 |
| User................ "MM_BUX00_ZZ" |
| Language key........ "R" |
| Transaction......... "MIGO_GI " |
| Transaction ID...... "54AEDD9E3EE60710E10080000A15C616" |
| |
| EPP Whole Context ID.... "54B35F7088300910E10080000A15C616" |
| EPP Connection ID....... 00000000000000000000000000000000 |
| EPP Caller Counter...... 0 |
| |
| Program............. "CL_BUAVC_ENTRY================CP" |
| Screen.............. "SAPLMIGO 0001" |
| Screen Line......... 18 |
| Debugger Active..... "none" |
|Information on where terminated |
| Termination occurred in the ABAP program "CL_BUAVC_ENTRY================CP" - |
| in "POST". |
| The main program was "SAPLMIGO ". |
| |
| In the source code you have the termination point in line 82 |
| of the (Include) program "CL_BUAVC_ENTRY================CM00J". |
|Source Code Extract |
|Line |SourceCde |
| 52|*--- method has provided some errors!): |
| 53| |
| 54|* Note 1499464: |
| 55|* IF cl_abap_aab_utilities=>is_active( id = 'BUAVC_GROUP' |
| 56|* mode_assert_dump = 'X' ) = 'X'. |
| 57| MOVE 'X' TO l_flg_dump. |
| 58|* ENDIF. |
| 59| |
| 60|*--- Check if the entry buffer of the AVC ledger contains data records |
| 61|*--- from previous COLLECT events: |
| 62| IF ( l_f_avc_ledger-ref_ledger->entry_buffer_lines_count( ) > 0 ). |
| 63|*--- Sorry, must dump: |
| 64| ASSERT ID buavc_group |
| 65| FIELDS c_avc_text 'POSTING_NOT_ALLOWED' |
| 66| CONDITION l_flg_dump <> 'X'. |
| 67| IF l_flg_dump = 'X'. |
| 68| MESSAGE x002(buavc) WITH c_avc_text space |
| 69| 'POSTING_NOT_ALLOWED' space. |
| 70| ENDIF. |
| 71| ENDIF. |
| 72| ENDIF. |
| 73|*---------------------------------------------------------------------- |
| 74|* Note 1666556: |
| 75| IF me->g_commit_before_post EQ 'X'. |
| 76|*--- An unauthorized COMMIT WORK occurred before calling this POST |
| 77|*--- method. This COMMIT WORK has refreshed the AVC entry buffer and |
| 78|*--- would thus create a database inconsistency! |
| 79| MOVE 'X' TO l_flg_dump. |
| 80| IF l_flg_dump = 'X'. |
| 81|*--- Sorry, must dump (see note 1666556): |
|>>>>>| MESSAGE x002(buavc) WITH c_avc_text space |
| 83| 'INVALID_COMMIT' space. |
| 84| ENDIF. |
| 85| ENDIF. |
| 86|*---------------------------------------------------------------------- |
| 87| |
| 88| |
| 89|*--- Call the POST method of the corresponding ledger instance: |
| 90| CALL METHOD l_f_avc_ledger-ref_ledger->post |
| 91| EXPORTING |
| 92| i_ref_appl_log = me->g_ref_appl_log |
| 93| i_doc_ref = i_doc_ref. |
| 94| |
| 95| ENDLOOP. |
| 96|
Thanks Advance.
SAMHi Sam,
Please check if there is any commit statement written in badi or enhancement before calling this method for posting which is leading to update termination.
Regards,
Prakash. -
ABAP DUMP while loading master data
hi Gurus,
I am trying to load master data but I am getting the following dump , I cannot infer anything from the Dump message, I would be grateful if anyone could throw some light on it..
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Occurred on 11/13/2006 at 13:17:57
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in ABAP application program.
The current ABAP program "CL_RSDMD_UPDATE_MASTER_DATA===CP " had to be
terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
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.
rror analysis
n exception occurred. This exception is dealt with in more detail below
The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
aught nor passed along using a RAISING clause, in the procedure "_DB_FIRE"
"(METHOD)"
ince the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
he reason for the exception is:
f you use an ABAP/4 Open SQL array insert to insert a record in
he database and that record already exists with the same key,
his results in a termination.
With an ABAP/4 Open SQL single record insert in the same error
ituation, processing does not terminate, but SY-SUBRC is set to 4.)
ow to correct the error
he exception must either be prevented, caught within the procedure "_DB_FIR
(METHOD)", or declared in the procedure's RAISING clause.
o prevent the exception, note the following:
se an ABAP/4 Open SQL array insert only if you are sure that none of
he records passed already exists in the database.
ou may able to find an interim solution to the problem
n the SAP note system. If you have access to the note system yourself,
se the following search criteria:
APSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
L_RSDMD_UPDATE_MASTER_DATA===CP " or "CL_RSDMD_UPDATE_MASTER_DATA===CM00Y "
DB_FIRE"one of the response says " In the infopackage set processing as 'Only PSA' and tick the checkboxes for 'Update subsequently in data targets' and 'delete duplicate records'.then try to reload."
I do not find the Delete duplicate records check box in the IP...cananyonepls tell me where to find thid check box?
thanks -
ABAP Dump ITAB_DUPLICATE_KEY deleting ODS data
Hi,
We've got an abap dump while trying to delete the ODS data content. The abap dumps registers a ITAB_DUPLICATE_KEY in the program SAPLRSAODS function module RSAR_ODS_GET. We're using BW3.5 patch 4.
Tried looking at the OSS notes but could not find any relevant oss notes that is on BW3.5. Has anyone manage to solve/experience this issue ?look at these previous threads
What does this runtime error mean?
"Runtime Error ITAB_DUPLICATE_KEY"
ITAB_DUPLICATE_KEY dump in the PSA tree or search
Hope it helps.
Regards -
Creating data dictionary type using custom java class
Hi Experts,
I have a situation involving the TableSorter mechanism as described here:
In order to do my sorting correctly, I've created my own Java class implementing the Comparable interface. Based on this class, I need to define my own data dictionary type to be used in a context/table.
However, I cannot se how this could be achieved as standard Data Dictionary elements can only be based on simple built-in types. Any ideas?
Kind regards,
Rasmus Røjkjær ØrtoftHi,
have you tried to use the following steps while creating your attribute
1) Right click on the context
2) New->Attribute
3) Manually-> Provide a name for the attribute
4) Browse->Select java native type and select your class
regards
Ayyapparaj -
ABAP dump(SAPSQL_ARRAY_INSERT_DUPREC) while creating a delivery
Hello Friends,
I am getting the dump while creating the delivery .The error details are as follows.
The ABAP/4 Open SQL array insert results in duplicate database record
What happened?
The current ABAP/4 program "SAPLV05I " had to be terminated because
one of the statements could not be executed.
How to correct the error
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"SAPSQL_ARRAY_INSERT_DUPREC"
"SAPLV05I " or "LV05IU15 "
"SD_PARTNER_UPDATE"
Source code extract
004500 POSNR = I_XVBPA-POSNR
004510 PARVW = I_XVBPA-PARVW.
004520 IF I_YVBPA-STCD1 <> I_XVBPA-STCD1 OR
004530 I_YVBPA-STCD2 <> I_XVBPA-STCD2 OR
004540 I_YVBPA-STCD3 <> I_XVBPA-STCD3 OR
004550 I_YVBPA-STCD4 <> I_XVBPA-STCD4 OR
004560 I_YVBPA-STCDT <> I_XVBPA-STCDT OR
004570 I_YVBPA-STKZN <> I_XVBPA-STKZN OR
004580 I_YVBPA-J_1KFREPRE <> I_XVBPA-J_1KFREPRE OR
004590 I_YVBPA-J_1KFTBUS <> I_XVBPA-J_1KFTBUS OR
004600 I_YVBPA-J_1KFTIND <> I_XVBPA-J_1KFTIND.
004610 MOVE-CORRESPONDING I_XVBPA TO WA_XVBPA3I.
004620 APPEND WA_XVBPA3I TO DA_XVBPA3I.
004630 ENDIF.
004640 ENDIF.
004650 ENDIF.
004660 WHEN UPDKZ_OLD.
004670 IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD OR
004680 DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
004690 YADR-ADRNR = DA_VBPA-ADRNR. COLLECT YADR.
004700 ENDIF.
004710 IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD OR
004720 DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
004730 XADR-ADRNR = DA_VBPA-ADRNR. COLLECT XADR.
004740 ENDIF.
004750 ENDCASE.
004760 ENDLOOP.
004770 UPDATE (OBJECT) FROM TABLE DA_XVBPAU.
004780 UPDATE VBPA3 FROM TABLE DA_XVBPA3U.
004790
> INSERT (OBJECT) FROM TABLE DA_XVBPAI.
004810 INSERT VBPA3 FROM TABLE DA_XVBPA3I.
004820
004830 IF SY-SUBRC > 0.
Could you please suggest me ,what could be the reason for dump and how to avoid dump?
<REMOVED BY MODERATOR>
Thank you in advance,
Arvind.
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PM
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PMHello, I have very same error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Transaction......... "VL01N "
Program............. "SAPLV05I"
Screen.............. "RSM13000 3000"
Screen line......... 2
SAP kernel....... 700
Patch level. 75
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
The ABAP/4 Open SQL array insert results in duplicate database records.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING clause.
I use SAP_APPL SAPKH60006 Support Package
The NUMBER RANGE OBJECT HAS NO ERRORS!
I went trough the zillions of notes all of them affect the old releases.... Please advice.
Patiently yours,
SAP User -
Hello,
I'am experiencing some problems with a Z-Class.
I want to read data from HR-Infotypes. Normaly you can use log. database PNP, macro PROVIDE, GET PERNR and so on.
This you can not use in a class (if there is a way, I would be happy to know how).
So far, I decided to use the function module:
HR_READ_INFOTYPE
So I need a different internal table every time I want to read/check a knew infotype.
Therefore I use the following attributes:
DDIC_TABLENAME;Instance Attribute;Private;Type TABNAME16
ITAB;Instance Attribute;Private;Type Ref To DATA
ITAB should be my dynamic internal table, DDIC_TABLENAME the name of the infotype in use.
Coding in my method:
FIELD-SYMBOLS: <ITAB> TYPE ANY TABLE,
<W_TAB> TYPE ANY.
CREATE DATA: ITAB TYPE (ME->DDIC_TABLENAME).
ASSIGN: ME->ITAB->* TO <ITAB>.
But I'am getting the following dump:
CREATE DATA: The type entered (" ") is not a valid data type.
What's wrong with that?
Regards
MaikHi,
I tried this way already, but I'am getting a dump too:
GENERATE_SUBPOOL_DIR_FULL
What does this mean?
I used the same coding as I already used in productive programms:
DATA: I_FCAT TYPE LVC_T_FCAT,
ITABREF TYPE REF TO DATA,
WTABREF TYPE REF TO DATA.
FIELD-SYMBOLS: <S> TYPE ANY, "Structure
<T> TYPE STANDARD TABLE, "Table
<FCAT> TYPE LVC_T_FCAT.
FREE: I_FCAT, ITABREF.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_STRUCTURE_NAME = DDIC_TABLENAME
CHANGING
CT_FIELDCAT = I_FCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3.
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = I_FCAT
IMPORTING
EP_TABLE = ITABREF.
ASSIGN ITABREF->* TO <T>. "Tab
ASSIGN I_FCAT TO <FCAT>. "Fieldcat
CREATE DATA WTABREF LIKE LINE OF <T>. "Structure
ASSIGN WTABREF->* TO <S>.
Regards
Maik -
Hi Colleagues,
regarding my IDOC viewer project I'm facing a question regarding the SAP release. I started with some success on Release 471, now I tried to continue on 46C.
CREATE DATA gr_ref
TYPE lvc_t_fcat."STANDARD TABLE OF LVC_S_FCAT.
works in both releases, while
CREATE DATA ls_seg_dat-ref
TYPE STANDARD TABLE OF (<edid4>-segnam).
compiles on 471, but generates syntax error in 46C.
The error message "Unable to interpret "TABLE". Possible causes of error: Incorrect spelling or comma error."
does not help too much.
Does this mean that there is no way to create tables dynamically on release 46C?
Hope for a solution!
regards,
C.Hello,
the only possibility I found was to use available table types in the dictionary. This works on a 4.6C system:
DATA: lf_type(20) TYPE c VALUE 'MARA',
lf_table_type(20) TYPE c VALUE 'MARA_TAB'.
DATA: wa_data TYPE REF TO data,
lt_data TYPE REF TO data.
FIELD-SYMBOLS: <structure> TYPE ANY,
<field> TYPE ANY,
<table> TYPE TABLE.
CREATE DATA wa_data TYPE (lf_type).
ASSIGN wa_data->* TO <structure>.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <structure> TO <field>.
<field> = 'My Material'.
CREATE DATA lt_data TYPE (lf_table_type).
ASSIGN lt_data->* TO <table>.
APPEND <structure> TO <table>.
Little curious: An internal table type defined with "TYPES ty_mara_tab TYPE TABLE OF mara" is not accepted by CREATE DATA, but the dictionary type is. So even generating a little top include dynamically with the needed type as a table type will not work on 4.6C
Best regards,
Stefan Kozlowski -
Hi
Quick one, can I dynamically create tables in 46B using the 'create data dref type table of ty_table' in 46B. It seems not but I just wanted to check. Otherwise I will resort to using the construct below:
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING it_fieldcatalog = gt_fieldcat
IMPORTING ep_table = gp_table.
From what I can see the RTTS has not been fully implemented yet.
Cheers
IanThanks Svetlin but I can already create my table like this. What I wanted was a 'cleaner' version so that I can have for example:
if p_plant = 'X'.
create data dref type table of ty_plant.
elseif p_workcentre = 'X'.
create data dref type table of ty_workcentre.
endif.
assign dref->* to <gt_output>.
However I get a syntax error when I use the above or even when I create a table such such as;
begin of ty_gbp,
plant TYPE qals-werk,
insp_end TYPE qals-paendterm,
workcentre TYPE QAQEE-PRPLATZ,
lwr TYPE qals-zz_lwr,
insp_lot TYPE qals-prueflos,
end of ty_gbp,
ty_gbp_table type table of ty_gbp.
create data dref type ty_gbp_table.
It says the type specification of ty_gbp_table is incomplete.
Ian -
HI
There is a way to create date type string using the command
Create data type "string"...
I know that I can create data type C but string dont have any restrication so how I can hanlde it ?
Regards
JoyHi,
You can use the create data statement:
DATA: lo_data TYPE REF TO data.
FIELD-SYMBOLS: <str> TYPE ANY.
CREATE DATA lo_data TYPE string.
ASSIGN lo_data->* TO <str>.
Here <str> will be of type string.
Kr,
m. -
ABAP dump during workstatus chaning in SAP BPC 7.5
Hi, Experts
We are working with SAP BPC 7.5 Ramp-up version. We faced a problem - during changing workstatus the system generates ABAP Dump.
We checked ST22 with ABAP Dumps. It contains the following:
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_UJW_WORK_STATUS_DAO========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
ABAP errors are created in the following code:
FIELD-SYMBOLS:
<fs_line> TYPE ANY.
CREATE DATA lr_line TYPE (i_tabname).
ASSIGN lr_line->* to <fs_line>.
l_where = 'APPSET = i_appset'. "#EC NOTEXT
LOOP AT it_dim_mem INTO ls_dim_mem.
CONCATENATE
l_where ' AND ' ls_dim_mem-dimension ' = ''' ls_dim_mem-member ''''
INTO l_where RESPECTING BLANKS.
ENDLOOP.
*SELECT SINGLE * INTO CORRESPONDING FIELDS OF es_lock_info FROM (i_tabname) WHERE (l_where).*
* fill lock information
CLEAR ls_ujw_statcode.
CALL METHOD me->read_status_code(
EXPORTING i_appset = i_appset
i_status = es_lock_info-status
i_spras = 'E'
IMPORTING es_ujw_statcode = ls_ujw_statcode ).
ABAP dump says that in "SELECT SINGLE * INTO CORRESPONDING FIELDS OF es_lock_info FROM (i_tabname) WHERE (l_where).*" exist a dynamically specified column name which is unknown.
Does somebody have the same problems?
Regards,
PavelHi Pavel,
This is obviously a bug and it looks like from the code block you copied into the forum that there is an issue with the actual select statements dynamic where clause. I haven't specifically seen this bug but I recommend you do an SAP Note search on the following component EPM-BPC-NW-WS (for work status) in your search criteria put the class name that you found in the dump. This should help you find whether or not a correction has been created (i.e. an SAP note) that solves your issue.
Cheers, Scott -
ABAP Proxy does not send data to XI system.
I have a very simple program to test an ABAP Proxy:
REPORT Z_TEST_PERSON_OB.
DATA prxy TYPE REF TO Z996CO_PERSON_OB2.
CREATE OBJECT prxy.
DATA person TYPE Z996PERSON_MT .
*TRY.
person-person_mt-first_name = 'Ken and Kenneth'.
person-person_mt-Series = 'The Fast Show'.
person-person_mt-motto = 'Ooh, suit you Sir!'.
CALL METHOD prxy->execute_asynchronous
EXPORTING
output = person.
commit work.
I removed any exception handling to see if it would dump. Nothing. Seems to work fine, but no data appears in the XI Integration Engine monitor. I checked the scenario in XI and tested it; again, seems to work fine.
Could I have missed something in setting up the system? Any pointers highly appreciated.
BR,
Tony.Try the Message Monitoring -> Messages from component 'Proxy Runtime <...>'.
That's where I found my Messages back (Status: To Be Delivered...)
If this is the case, probably your Proxy Runtime does send the messages to the Integration Engine.
Check the queues:
Transaction SXMB_ADM on the Business system (the system that sends the Proxy)
Integration Engine > Administration > Manage Queues
All queues should be checked
Click Register Queues. Status bar should display a Success message.
Click Activate Queues. Status bar should display a Success message.
If it still does not work, maybe the is no connection between Integration Builder and Runtime Workbench.
Check SM59 on your ECC-business system (the system that sends the Proxy). It should have the Connection INTEGRATION_DIRECTORY_HMI (type H). If not, this is the problem.
Create a new connection INTEGRATION_DIRECTORY_HMI, type H.
Tab Technical settings:
Target Host is your XI-host
Service No. 5xx00 (xx is the instance number of your XI-system)
Path Prefix is "/dir/hmi_cache_refresh_service/ext" (without quotes)
Tab Logon & Security
Logon Procedure is "Basic Authentication"
Logon using XIISUSER (or PIISUSER)
Tab special Options
Specify timeout: set to 900 msec.
Compression Status should be 'inactive'
Compressed response: No
Accept Cookies: Yes (all)
Save configuration and test connection. Popup about cookies appears. Check the "Accept All Further Cookies"option.
The response should have HTTP/1.1 200 OK in the first line of the response header.
Now your Proxy Runtime should be able to connect the Integration Engine.
Greetings, Frank -
ABAP Dump while doing total(summing up)
Hello Experts
I have a report:
This program reads Sales Order and Delivery information. When i tried to sum the Order Quantity, an ABAP Dump is coming. Can anyone help me in correcting my Code?
Program looks like following and DUMP follows.
Global data declaration
TYPE-POOLS: slis.
TABLES: vbap, vbrk, vbfa, vbak, vbrp, konv, kna1, bkpf, bsad, bkpf_bsad,
knvv, pa0002, t005u, mvke, lips, likp, vbpa, vbep.
DATA: BEGIN OF i_list OCCURS 0,
vbeln LIKE vbak-vbeln,
posnr LIKE vbap-posnr,
etenr like vbep-etenr,
matnr LIKE vbap-matnr,
erdat LIKE vbap-erdat,
mvgr1 LIKE mvke-mvgr1,
wadat_ist LIKE likp-wadat_ist,
days TYPE i,
werks LIKE vbap-werks,
lgort LIKE vbap-lgort,
kwmeng LIKE vbap-kwmeng," CH01+
lfimg LIKE lips-lfimg," CH01+
pstyv LIKE vbap-pstyv," CH01+
obd LIKE lips-vbeln," CH01+
obd_pos LIKE lips-posnr," CH01+
soldto LIKE vbaK-kunnr," JR+
shipto LIKE vbpa-kunnr," JR+
edatu like vbep-edatu," PR+
END OF i_list.
DATA: i_list2 LIKE i_list OCCURS 0 WITH HEADER LINE,
i_list3 LIKE i_list OCCURS 0 WITH HEADER LINE.
DATA: i_list4 LIKE vbap OCCURS 0 WITH HEADER LINE.
*ALV Output Header
DATA: gt_list_top_of_page TYPE slis_t_listheader,
prognm LIKE sy-repid,
gc_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
gt_events TYPE slis_t_event,
is_layout TYPE slis_layout_alv,
is_variant LIKE disvariant,
it_sort TYPE slis_t_sortinfo_alv WITH HEADER LINE.
DATA:gt_fieldcat TYPE slis_t_fieldcat_alv.
DATA:gt_outtab LIKE i_list OCCURS 0 WITH HEADER LINE.
DATA: g_repid LIKE sy-repid,
g_count LIKE sy-tabix.
SELECTION-SCREEN BEGIN OF BLOCK block0 WITH FRAME TITLE text-t01.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(79) text-t10.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(79) text-t11.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(79) text-t12.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN END OF BLOCK block0.
*/ Selection and Input Parameters
SELECTION-SCREEN BEGIN OF BLOCK blocko WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_vbeln FOR vbap-vbeln, "SO
s_auart FOR vbak-auart DEFAULT 'KB' OBLIGATORY,
s_matnr FOR vbap-matnr," obligatory,
s_mvgr1 FOR mvke-mvgr1,
s_erdat FOR vbap-erdat OBLIGATORY,
s_werks FOR vbap-werks,
s_lgort FOR vbap-lgort,
s_edatu FOR vbep-edatu.
PARAMETERS: p_vkorg LIKE vbak-vkorg DEFAULT '5010'.
SELECTION-SCREEN SKIP 2.
+EC1
Addition +EC1
+EC1
PARAMETERS: p_vari LIKE disvariant-variant.
+EC1
End Addition +EC1
+EC1
SELECTION-SCREEN END OF BLOCK blocko.
+EC1
Addition +EC1
+EC1
DATA: g_save(1) TYPE c,
g_default(1) TYPE c,
g_exit(1) TYPE c,
gx_variant LIKE disvariant,
g_variant LIKE disvariant.
+EC1
End Addition +EC1
+EC1
Initialization fieldcatalog
INITIALIZATION.
PERFORM clear_tables.
g_repid = sy-repid.
PERFORM fieldcat_init USING gt_fieldcat[].
+EC1
Addition +EC1
+EC1
g_save = 'A'.
PERFORM variant_init.
Get default variant
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant.
AT SELECTION-SCREEN.
PERFORM auth_check. "+ESC
PERFORM pai_of_selection_screen.
+EC1
End Addition +EC1
+EC1
START-OF-SELECTION.
PERFORM get_data.
PERFORM alv.
END-OF-SELECTION.
FORM get_data *
FORM get_data.
*CH01 - Added kwmeng(order qty) to selection, excluded rejects
*JR -added soldto and shipto code
SELECT avbeln aposnr amatnr aerdat awerks algort
akwmeng apstyv bkunnr cedatu
CH01+
INTO
(i_list-vbeln, i_list-posnr, i_list-matnr, i_list-erdat, i_list-werks,
i_list-lgort,
i_list-kwmeng , i_list-pstyv, i_list-soldto,i_list-edatu)
CH01+
FROM vbap AS a INNER JOIN vbak AS b ON avbeln = bvbeln
INNER JOIN vbep AS c ON avbeln = cvbeln
WHERE b~vkorg = p_vkorg
AND a~werks IN s_werks
AND a~lgort IN s_lgort
AND b~auart IN s_auart
AND a~vbeln IN s_vbeln
AND a~erdat IN s_erdat
AND a~abgru = ''" CH01+
AND a~matnr IN s_matnr
AND c~edatu IN s_edatu.
APPEND i_list.
ENDSELECT.
COMMIT WORK AND WAIT.
SORT i_list BY VBELN POSNR EDATU.
DELETE ADJACENT DUPLICATES FROM i_list COMPARING vbeln posnr.
LOOP AT i_list.
SELECT SINGLE mvgr1 INTO i_list-mvgr1 FROM mvke
WHERE matnr = i_list-matnr.
MODIFY i_list.
CLEAR: i_list.
ENDLOOP.
COMMIT WORK AND WAIT.
LOOP AT i_list.
IF i_list-mvgr1 IN s_mvgr1.
CONTINUE.
ELSE.
DELETE i_list.
COMMIT WORK AND WAIT.
ENDIF.
ENDLOOP.
CH01 - commented these lines out and redid logic below
LOOP AT i_list.
select single vbeln into lips-vbeln from lips
where vgbel = i_list-vbeln
and vgpos = i_list-posnr.
select single wadat_ist into i_list-wadat_ist from likp
where vbeln = lips-vbeln.
SELECT b~wadat_ist INTO i_list-wadat_ist
FROM lips AS a INNER JOIN
likp AS b ON avbeln = bvbeln WHERE a~vgbel = i_list-vbeln
AND a~vgpos = i_list-posnr.
MODIFY i_list.
CLEAR: i_list, lips-vbeln.
ENDSELECT.
ENDLOOP.
CH01 - Changed to select multiple delivery lines & del qty
summing the total deliveries per OBD# and date
LOOP AT i_list.
SELECT avbeln sum( alfimg ) b~wadat_ist
INTO (i_list-obd , i_list-lfimg , i_list-wadat_ist)
FROM lips AS a INNER JOIN
likp AS b ON avbeln = bvbeln WHERE a~vgbel = i_list-vbeln
AND a~vgpos = i_list-posnr
AND a~pstyv = i_list-pstyv
group by avbeln bwadat_ist.
i_list2 = i_list.
APPEND i_list2.
ENDSELECT.
IF sy-subrc <> 0.
i_list2 = i_list.
APPEND i_list2.
ENDIF.
ENDLOOP.
i_list[] = i_list2[].
*End CH01
COMMIT WORK AND WAIT.
LOOP AT i_list.
IF i_list-wadat_ist IS INITIAL.
CONTINUE.
ELSE.
i_list-days = i_list-wadat_ist - i_list-erdat.
ENDIF.
MODIFY i_list.
CLEAR: i_list.
COMMIT WORK AND WAIT.
ENDLOOP.
COMMIT WORK AND WAIT.
LOOP AT i_list.
IF i_list-vbeln IS INITIAL.
DELETE i_list.
ENDIF.
ENDLOOP.
COMMIT WORK AND WAIT.
*JR
LOOP AT i_list.
SELECT SINGLE KUNNR INTO i_list-shipto FROM vbpa
WHERE vbeln = i_list-vbeln
AND parvw = 'WE'.
MODIFY i_list.
ENDLOOP.
*END JR
gt_outtab[] = i_list[].
COMMIT WORK AND WAIT.
ENDFORM.
FORM alv *
FORM alv.
PERFORM e03_eventtab_build USING gt_events[]. "+EC1
PERFORM e04_comment_build USING gt_list_top_of_page[]. "+EC1
prognm = sy-repid. "+EC1
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_user_command = 'USER_COMMAND'
i_callback_program = g_repid
it_fieldcat = gt_fieldcat[]
it_events = gt_events[] "+ESC
it_sort = it_sort[]
+EC1
Addition +EC1
+EC1
is_variant = g_variant
i_save = g_save
+EC1
End Addition +EC1
+EC1
TABLES
t_outtab = gt_outtab.
COMMIT WORK AND WAIT.
ENDFORM.
FORM fieldcat_init *
--> I_FIELDCAT *
FORM fieldcat_init
USING i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: ls_fieldcat TYPE slis_fieldcat_alv.
DATA: pos TYPE i VALUE 1.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'VBELN'.
ls_fieldcat-ref_tabname = 'VBAK'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'POSNR'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'MATNR'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'MVGR1'.
ls_fieldcat-ref_tabname = 'MVKE'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'WERKS'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'LGORT'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'ERDAT'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'WADAT_IST'.
ls_fieldcat-ref_tabname = 'LIKP'.
ls_fieldcat-key = 'X'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'DAYS'.
ls_fieldcat-ref_fieldname = 'DAYS'.
ls_fieldcat-seltext_s = '# Of Days'.
ls_fieldcat-seltext_m = '# Of Days'.
ls_fieldcat-seltext_l = '# Of Days'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
*Begin CH01
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'KWMENG'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-outputlen = 7.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'LFIMG'.
ls_fieldcat-ref_tabname = 'LIPS'.
ls_fieldcat-outputlen = 7.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'OBD'.
ls_fieldcat-seltext_s = 'OBD'.
ls_fieldcat-seltext_m = 'Outbound Del'.
ls_fieldcat-seltext_l = 'Outbound Delivery'.
ls_fieldcat-outputlen = 10.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'OBD_POS'.
ls_fieldcat-seltext_s = 'OBD Ln'.
ls_fieldcat-seltext_m = 'Outbound Del Ln'.
ls_fieldcat-seltext_l = 'Outbound Del Line'.
ls_fieldcat-outputlen = 10.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
*End CH01
*JR
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'SOLDTO'.
ls_fieldcat-ref_tabname = 'VBAP'.
ls_fieldcat-seltext_m = 'Sold To'.
ls_fieldcat-seltext_l = 'Sold To'.
ls_fieldcat-outputlen = 10.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'SHIPTO'.
ls_fieldcat-ref_tabname = 'VBPA'.
ls_fieldcat-seltext_m = 'Ship To'.
ls_fieldcat-seltext_l = 'Ship To'.
ls_fieldcat-outputlen = 10.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'ETERN'.
ls_fieldcat-ref_tabname = 'VBEP'.
ls_fieldcat-seltext_m = 'Schedule line number'.
ls_fieldcat-seltext_l = 'Schedule line number'.
ls_fieldcat-key = 'Schedule line number'.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
*END JR
pos = pos + 1.
ls_fieldcat-col_pos = pos.
ls_fieldcat-fieldname = 'EDATU'.
ls_fieldcat-ref_tabname = 'VBEP'.
ls_fieldcat-seltext_m = 'Requested Delivery date'.
ls_fieldcat-seltext_l = 'Requested Delivery date'.
ls_fieldcat-outputlen = 20.
APPEND ls_fieldcat TO i_fieldcat.
CLEAR ls_fieldcat.
*FOR ALV SORT & SUBTOTAL
CLEAR it_sort.
it_sort-spos = '0'.
it_sort-fieldname = 'VBELN'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '1'.
it_sort-fieldname = 'POSNR'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '2'.
it_sort-fieldname = 'MATNR'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '3'.
it_sort-fieldname = 'MVGR1'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '4'.
it_sort-fieldname = 'ERDAT'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '5'.
it_sort-fieldname = 'WADAT_IST'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-down = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '6'.
it_sort-fieldname = 'PERNR'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '7'.
it_sort-fieldname = 'VORNA'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '8'.
it_sort-fieldname = 'NACHN'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '9'.
it_sort-fieldname = 'VKGRP'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '10'.
it_sort-fieldname = 'VBELN'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '11'.
it_sort-fieldname = 'ERDAT'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
CLEAR it_sort.
it_sort-spos = '12'.
it_sort-fieldname = 'BEZEI'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
it_sort-subtot = 'X'.
APPEND it_sort.
clear it_sort.
it_sort-spos = '1'.
it_sort-fieldname = 'BELNR'.
it_sort-tabname = 'GT_OUTTAB'.
it_sort-up = 'X'.
append it_sort.
ENDFORM.
+EC1
Addition +EC1
+EC1
*& Form VARIANT_INIT
text
--> p1 text
<-- p2 text
FORM variant_init.
CLEAR g_variant.
g_variant-report = g_repid.
ENDFORM. " VARIANT_INIT
FORM f4_for_variant *
FORM f4_for_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = g_save
it_default_fieldcat =
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
ENDFORM.
*& Form PAI_OF_SELECTION_SCREEN
text
FORM pai_of_selection_screen.
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
PERFORM variant_init.
ENDIF.
ENDFORM. " PAI_OF_SELECTION_SCREEN
+EC1
End Addition +EC1
+EC1
FORM e03_eventtab_build *
--> E03_LT_EVENTS *
FORM e03_eventtab_build USING e03_lt_events TYPE slis_t_event.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = e03_lt_events.
READ TABLE e03_lt_events WITH KEY name = slis_ev_top_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE gc_formname_top_of_page TO ls_event-form.
APPEND ls_event TO e03_lt_events.
ENDIF.
ENDFORM.
FORM e04_comment_build *
--> E04_LT_TOP_OF_PAGE *
FORM e04_comment_build USING e04_lt_top_of_page TYPE slis_t_listheader.
DATA: ls_line TYPE slis_listheader.
*Report Title
CLEAR ls_line.
ls_line-typ = 'H'.
ls_line-info = text-007.
APPEND ls_line TO e04_lt_top_of_page.
**Doc Type Desc.
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = text-008.
ls_line-info = p_matnr.
append ls_line to e04_lt_top_of_page.
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = text-009.
ls_line-info = p_werks.
append ls_line to e04_lt_top_of_page.
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = text-010.
ls_line-info = p_stlan.
append ls_line to e04_lt_top_of_page.
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = text-011.
ls_line-info = p_stlal.
append ls_line to e04_lt_top_of_page.
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = text-012.
ls_line-info = p_stlal.
append ls_line to e04_lt_top_of_page.
ENDFORM.
FORM top_of_page *
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gt_list_top_of_page.
ENDFORM.
FORM auth_check *
FORM auth_check.
AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
ID 'VKORG' FIELD p_vkorg.
IF sy-subrc NE 0.
MESSAGE e054 WITH p_vkorg.
ENDIF.
ENDFORM. " auth_check
*& Form USER_COMMAND
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
PERFORM display_so_order USING r_ucomm
rs_selfield.
ENDCASE.
ENDFORM.
*& Form display_sales_order
text
-->P_R_UCOMM text
-->P_RS_SELFIELD text
FORM display_so_order USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE rs_selfield-sel_tab_field.
WHEN '1-VBELN'.
SET PARAMETER ID 'AUN' FIELD rs_selfield-value.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
WHEN '1-MATNR'.
SET PARAMETER ID 'MAT' FIELD rs_selfield-value.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
WHEN '1-OBD'.
SET PARAMETER ID 'VL' FIELD rs_selfield-value.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
WHEN OTHERS.
MESSAGE i000(z1) WITH 'Please Click on the Valid Selection'.
EXIT.
ENDCASE.
ENDFORM. " display_sales_order
FORM EDit_table *
-do_sum = 'C'.
009350 * save the actual grouplevel information
009360 gs_grouplevels = rs_grouplevels.
009370 clear g_lines.
009380
009390 * get number of lines of the collect table
009400 describe table rt_data lines g_lines.
009410 * if there is only one line or the field has no references so
009420 * that only the first line has to be considered
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 4 SY-INDEX 1
SY-TABIX 15 SY-DBCNT 1
SY-FDPOS 1 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+....4
%_ARCHIVE
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 40
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 80
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 120
44444444
0000000
-FIELDNAME ETERN
CECDD4444444444444444444444444
535950000000000000000000000000
T_DATA 00004082920002000000 00
FFFFFFFFFFFFFFFFFFFF444444444444444444FF
0000408292000200000000000000000000000000
.. + 40 000000 00000000####### ########
FFFFFF444FFFFFFFF00000004444444400000000
000000000000000000000000000000000000000C
.. + 80 ####### 000000
000000044444444444444FFFFFF4444444444444
000000C000000000000000000000000000000000
.. + 120 00000000#
4444444F
0000000
S_DRAGDROP ####
444444444444444444444444444444440000
000000000000000000000000000000000000
000000000000000000000000000000000000
SY-SUBRC 4
0000
0004
SY-XPROG SAPCNVE
ECDCDEC444444444444444444444444444444444
2173555000000000000000000000000000000000
%_SPACE
0
0
SY-MSGID 0K
FD444444444444444444
02000000000000000000
%_PRINT 000
4444FFF444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 40
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 80 0 ########
4444444444F40000000044444444444444444444
0000000000000000000000000000000000000000
... + 120
44444444
0000000
SY-MSGNO 000
FFF
000
000
%_ITAB_MODIFY_LIST ###########################ø##Èø########
0000000000000000000000000007007700000000
0000000000000000000000004000004000000000
... + 40 ###################################Ø#²#0
0001000100010000FFFF00000000020000083E0F
0009000900090000FFFF04000002900000000A50
... + 80 ########################################
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
... + 120 ################################
00000000
0000000
SY-MSGV1
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 40
4444444444
0000000000
SY-MSGV2
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
... + 40
4444444444
0000000000
SY-MSGV3
4444444444444444444444444444444444444444
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
... + 40
4444444444
Hi Experts,
I tried with OUTPUT length, still Dump Persists, Any Ideas??
<b>Source code extract on the dump is:</b>
Thanks
SP
008930 gs_roid-row_id = rs_row-index * -1.
008940 endif.
008950 gs_roid-sub_row_id = rs_row-rowtype+7(10).
008960 gs_poid-row_id = gs_roid-row_id.
008970 gs_poid-sub_row_id = gs_roid-sub_row_id.
008980 gs_poid-rowtype = rs_row-rowtype.
008990 gs_poid-index = rs_row-index.
009000 insert gs_poid into table rt_poid.
009010 endif.
009020 append gs_roid to rt_roid.
009030
009040 loop at rt_fieldcat assigning <ls_fieldcat>
where tech ne 'X' and
009050
no_out ne 'X'.
009060
009070 if gflg_invisible = 'X'.
009080 if <ls_fieldcat>-do_sum is initial.
009090 clear gflg_invisible.
009100 continue.
009110 else.
009120 clear g_col_counter.
009130 clear gflg_invisible.
009140 endif.
009150 endif.
009160
009170 clear gs_lvc_data.
009180 clear g_style.
009190
009200 assign component
009200 assign component
009210 <ls_fieldcat>-fieldname of structure
rt_data to <g_field>.
009220 if sy-subrc ne 0.
> message x000(0k).
009240 endif.
009250
009260 g_col_counter = g_col_counter + 1.
009270
009280 gs_lvc_data-row_pos = r_row_counter.
009290 gs_lvc_data-col_pos = g_col_counter.
009300 gs_lvc_data-row_id = gs_roid-row_id.
009310 gs_lvc_data-sub_row_id = gs_roid-sub_row_id.
009320
009330 * Endtotal and average
009340 if rs_row-rowtype(1) ca 'T' and
<ls_fieldcat>-do_sum = 'C'.
009350 * save the actual grouplevel information
009360 gs_grouplevels = rs_grouplevels.
009370 clear g_lines.
009380
009390 * get number of lines of the collect table
009400 describe table rt_data lines g_lines.
009410 * if there is only one line or the field has
no references so
009420 * that only the first line has to be
considered
Maybe you are looking for
-
Out of the blue, syncing my iPod crashes my PC.
Had this iPod for about two years, and other than some minor click wheel issues, I haven't had any problems. The other day, I plugged the iPod in and Windows told me that I would have to format the iPod. At first I ignored it and tried to see if it w
-
Hi All, I have a custom BAPI developed within the ECC 6.0 system which is then exposed as a web service. I have accessed this wsdl file from WSADMIN tcode and imported that into my WD Model. Now when I execute the WD Component I get a deserialisation
-
The Box said it will work on Mac 10.5 and higher, I have a Mac Mini running 10.6.7 and can't get it to work. I tried the assigning it to the USB port, it see's it, and it still doesn't work. It works just fine on my wife's windows but not my Mac. Any
-
I am trying to get a free app on the app store. But every time I try it says I need a credit card. I tried searching it up before and it says that there should be a none button to say that i don't have a credit card. When I went to select this option
-
7912 Phone Ring Settings Question
I notice when I go to configure the line settings on a 7912 phone that I don't have the option to configure the ring setting (when active). Is there any work around to this? When the second call comes in, I have some customers that want it to ring (a