BADI ecc6 throws dump
Dear All,
We are getting a dump while calling a badi through our Z program.
We have created a Enhancement spot through SE18 -> z_es_spot
where I have defined badi definition as Z_BADI_DEF and interface as
ZIF_EX_LE_SHP_TAB_CUST_ITEM.
I have defined a method as ADD there.
After that we have created a enhancement implemention through Se19 ->Z_ENHANCE_IMP
there we have given badi implementation as ZTEST_BADI_IMPL and implementing class is ZIMPL_CL.
Afterwards I have created a program through Se38 ->zbadi.
class cl_exithandler definition load.
data: var2 type ref to ZIF_EX_LE_SHP_TAB_CUST_ITEM.
CALL METHOD var2->add
when the program call the method ADD it throws a dump as Access via 'NULL' object reference not possible.
Any help will be appreciated.
i am still stuck can any one help or give some advice.
thanx in advance
regards
Similar Messages
-
Function module ISR_GET_DATA_FROM_XML throwing dump.
Hi All,
Function module ISR_GET_DATA_FROM_XML throwing dump.
The dump says,
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "ISR_GET_DATA_FROM_XML" "(FUNCTION)", 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:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Can you please help me in resolving this error.
PERFORM set_tag_constants.
set size of XML document
ld_size = id_size.
create the input stream
lr_stream = ir_ixml_stream_factory->create_istrea
table = it_xml
size = ld_size ). create XML document object
lr_dom = ir_ixml_factory->create_document( ).
create parser
lr_parser = ir_ixml_factory->create_parser(
stream_factory = ir_ixml_stream_factory
istream = lr_stream
document = lr_dom ).
Thanks
Rohini.Hi,
SELECT MBLNR
MJAHR
FROM MSEG
INTO TABLE I_MKPF
WHERE MBLNR IN S_MBLNR AND
MJAHR IN S_MJAHR.
IF I_MKPF IS NOT INITIAL.
SELECT * FROM MSEG INTO TABLE O_MSEG FOR ALL ENTRIES IN I_MKPF
WHERE MBLNR = I_MKPF-MBLNR
AND MJAHR = I_MKPF-MJAHR
AND MATNR IN I_MATNR
AND WERKS IN I_WERKS
AND LGORT IN I_LGORT.
ENDIF.
ALSO CHECK FM u2018/BEV2/ED_REA_MSEG_MKPFu2019.
Regards,
Deepa Kulkarni -
Archiving Transaction SARA throws dumps.
S0003731475
Hi Gurus
I am trying to run archiving transaction SARA but it throws dumps and I canu2019t seem to find the reasonu2026u2026
Here is the dumpu2026u2026..Anyone who faced similar problemu2026u2026.Please help.
Runtime errors SYNTAX_ERROR
Occurred on 12/08/2009 at 13:45:09
Syntax error in program "SAPLARCH ".
What happened?
The following syntax error occurred in the program SAPLARCH :
"Method "GET_DATA" is unknown or PROTECTED or PRIVATE."
Error in ABAP application program.
The current ABAP program "SAPMAADM" 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?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLARCH ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
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.
Error analysis
The following syntax error was found in the program SAPLARCH :
"Method "GET_DATA" is unknown or PROTECTED or PRIVATE."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "620"
Application server....... "M3SAPA01"
Network address.......... "136.133.230.177"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "M3SAPA01"
Database type............ "MSSQL"
Database name............ "RDS"
Database owner........... "rds"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Mar 10 2009 01:13:21"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "274"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2,
Windows NT 6.0"
User, transaction...
Client.............. 220
User................ "RHEMNANI"
Language key........ "E"
Transaction......... "SARA "
Program............. "SAPMAADM"
Screen.............. "SAPMAADM 0001"
Screen line......... 2
Information on where terminated
The termination occurred in the ABAP program "SAPMAADM" in "D0001_DISPLAY".
The main program was "SAPMAADM ".
The termination occurred in line 278 of the source code of the (Include)
program "MAADMO01"
of the source code of program "MAADMO01" (when calling the editor 2780).
Source code extract
002480 * check if parameters exists
002490 progname = arch_obj-retrie_prg.
002500 answer = 'YES'.
002510 CALL FUNCTION 'RS_SELSCREEN_EXISTS'
002520 EXPORTING
002530 report = progname
002540 IMPORTING
002550 answer = answer
002560 EXCEPTIONS
002570 no_report = 01
002580 program_incorrect = 02
002590 program_not_found = 03.
002600 IF sy-subrc EQ 0.
002610 IF answer EQ 'NO'.
002620 LOOP AT SCREEN.
002630 CHECK screen-group1 = 'VAR'.
002640 screen-active = 0.
002650 MODIFY SCREEN.
002660 ENDLOOP.
002670 ENDIF.
002680 ENDIF.
002690 ENDMODULE. " D0300_DISPLAY OUTPUT
002700
002710 *&---------------------------------------------------------------------*
002720 *& Module D0001_DISPLAY OUTPUT
002730 *&---------------------------------------------------------------------*
002740 * text *
002750 *----------------------------------------------------------------------*
002760 MODULE d0001_display OUTPUT.
002770 SUPPRESS DIALOG.
-----> CALL FUNCTION 'ARCHIVE_DISABLE_MONITORING'.
002790 ENDMODULE. " D0001_DISPLAY OUTPUT
002800 *&---------------------------------------------------------------------*
002810 *& Module INIT_0120 OUTPUT
002820 *&---------------------------------------------------------------------*
002830 * text
002840 *----------------------------------------------------------------------*
002850 MODULE d0120_display OUTPUT.
002860 DATA: format1(12) TYPE c.
002870 DATA: format2 TYPE i.
002880 LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
002890 SET PF-STATUS 'SPACE'.
002900 SET TITLEBAR '105'.
002910 WRITE: / 'Archivverzeichnis:'(060), file_path.
002920 ULINE.
002930 MOVE freespace TO format2. "to format with points
002940 WRITE format2 TO format1.
002950 WRITE: / 'Verfügbarer Freiplatz:'(061),format1 NO-ZERO,'KB'.
002960 LEAVE SCREEN.
002970
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 0 SY-DBCNT 0
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1 SY-PFKEY
SY-UCOMM SY-TITLE Archive Management Module Pool
SY-MSGTY SY-MSGID
SY-MSGNO 000 SY-MSGV1
SY-MSGV2 SY-MSGV3
SY-MSGV4
Active calls / events
No.... Type........ Name..........................
Program
Include Line
Class
2 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
1 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
Chosen variables
2 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
%_DUMMY$$
2222
0000
0000
0000
1 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
No dump information available
Application Calls
No dump information available
Application Information
No dump information available
Internal notes
The termination occurred in the function "ab_genprog" of the SAP
Basis System, specifically in line 1423 of the module
"//bas/640_REL/src/krn/runt/abgen.c#14".
The internal operation just processed is "FUNC".
The internal session was started at 20091208134509.
Program name.........: "SAPLARCH ".
Error message........: "Method "GET_DATA" is unknown or PROTECTED or PRIVATE.".Rajesh,
This might happen if the orginal function module ARCHIVE_GET_INFORMATION in LARCHF03 program is altered, bring back the the function module to original, it might solve your problem.
Anand B Vodnala -
ALE throws dump Message_Type_X
Hi All,
I did ALE configuration on my DEV and PRD for transferring data from DEV to PRD. Although i know, we should not move any data from DEV to PRD, but it's client requirement.
So i did ALE and model view successfully generated on DEV and RFC is perfectly fine even by connection test or authorization test.
When i run bd10 on DEV, it successfully generated idoc with message type MATMAS. and when i get the materail via BD11, it successfully created idoc on PRD. but when i see the material in MM03, it throws error material does not exist or is not activated.
it also throws dump Message_Type_X
WORKFLOW_LOCAL_400
RFC_READ_DESTINATION_TYPE
DESTINATION_NOT_EXIST
What steps should follow now?
Regards
DishaHi Krishnendu,
Status is in red when i check from t-code WE02.
When i check it in MM90 and execute it, it does not show any log.
Please tell if i am missing any step..
Regards
Disha -
Assign Syntax throwing DUMP!!!
Before Unicode check active, the syntax is:
ASSIGN ELBP-KRT01+OFFSET TO <X>.
I changed into
ASSIGN ELBP-KRT01+OFFSET(*) TO <X>.
after reading SAP help.
KRT01 is DEC field from DB ELBP
FIELD-SYMBOLS: <X> type any.
Dump says:
Part of the source field "ELBP-KRT01" was assigned to a field symbol,
but this is not possible for fields of type "P".
When I test this change...it throws dump.Am I missing something?
Thanks
KiranI dont see any option like Accessing Fields Using Offset and Length Addressing".
I am on 4.7EE
I can see only below.
ASSIGN f TO <fs>.
Extras:
1. ... CASTING ... or
2. ... TYPE type
3. ... DECIMALS dec
4. ... RANGE range
Hope you can help me paste the syntax from what you se rather than increasing the iterations .
Thanks
Kiran
Edited by: kiran dasari on Oct 11, 2008 2:31 AM -
ALV Grid throwing dump in total function
Hi,
My ALV grid program, is working fine in development server, for the total and subtotal function. However, the same program is throwing a short dump in Quality server when we try to get the total.Please help!
Regards,
Anita JeyanHi ,
Please go to ST22 and check what is the reason for error.
Let me know the error.
The reason might be due to some less data size or some data type mismatch.
Regards,
Uma
Edited by: UmaDave on Jun 9, 2010 12:10 PM
Edited by: UmaDave on Jun 9, 2010 12:10 PM -
FM "COM_PRCAT_CREATE_API_INT" throws DUMP!
Hi all,
I am trying to use the foll FM "COM_PRCAT_CREATE_API_INT" in a report but getting an exception:
Function module "COM_PRCAT_CREATE_API_INT" was called
with the parameter "IV_HIEARCHY_EXIST_IN_PME".
This parameter is not defined.
When i run this FM seperately and passing a blank value to this parameter,it works .However when using it in a report,if i pass a blank value to the parameter "IV_HIEARCHY_EXIST_IN_PME" the it gives the above dump.Since this parameter is a mandatory parameter,I need to pass some value to this parameter.
Can somebody throw some light?I think UR calling the FM wrongly ...
the parameter name is : IV_HIERARCHY_EXIST_IN_PME
and not IV_HIEARCHY_EXIST_IN_PME -
SE01, SE09, SE10 throwing dumps with Syntax error
We were applying some security notes in the SAP ECC6 Ehp1 system however, we forgot to implement a pre-requisite which was an external transport before implementing a note (in dev. we did it right but in test system, we forgot to do the external import first). Due to this, the RDDIMPDP job is getting cancelled every time & we get dumps whenever we use SE01 or SE09 or SE10.
Pre-requisite note : 1497003
Next note : 1582138
Could you please help resolving this issue ?
Thank you !Hi,
You can try with resetting note implementation in dev system which will generate one transport request. And move this transport request to test system as a result note will be reset in quality system as well.
Then again implement note in dev and transport it to test system after implementing pre-requisite note.
Thanks
Sunny -
'RS_TABLE_LIST_CREATE' - Throwing dump
Hi,
I am trying to call a table with the function module 'RS_TABLE_LIST_CREATE'. System is throwing a dump sayin <b>Function parameter "SELTAB" is unknown</b>.
Do i have to declare SELTAB?... What shud i do ?
Thanks in advance.
CALL FUNCTION 'RS_TABLE_LIST_CREATE'
EXPORTING
table_name = 'ZTVWORDERS'
ACTION = 'ANZE'
WITHOUT_SUBMIT = ' '
GENERATION_FORCED =
NEW_SEL =
NO_STRUCTURE_CHECK = ' '
DATA_EXIT = ' '
IMPORTING
PROGNAME =
TABLES
SELTAB = GV_PONUM
EXCEPTIONS
TABLE_IS_STRUCTURE = 1
TABLE_NOT_EXISTS = 2
DB_NOT_EXISTS = 3
NO_PERMISSION = 4
NO_CHANGE_ALLOWED = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b></b>Hi
Look at the below thread, this is having the same question and having the answer also
call transaction
Regards
Sudheer -
Dynamic sql is throwing dump after upgrade to EHP 7.0
Hi All,
My customer recently upgraded to EHP 7.0.
I have one query like below :
select * from (ls_table_list-tabname) into
table <table>
where (condition).
where ls_table-tabname is the table name, <table> is with the structure of same table and condition is very simple where condition. (id = 'XXXXX').
We are getting dump with "CX_SY_DYNAMIC_OSQL_SYNTAX" and the dump message is "
When parsing a dynamic statement, an error occurred.
Before upgrade same statements were working fine.
Please send us the response asap. Its urgent.
Thanks in advance,
SreedharHi Divyanshu,
Following is the text of Short dump :
Category ABAP Programming Error
Runtime error SAPSQL_PARSE_ERROR
Exception CX_SY_DYNAMIC_OSQL_SYNTAX
ABAP program / GETPF / SAPLTABLE_CONTENT_CHECK
Application component not assigned
Date and Time 07.02.2014 14:57:48
Short text
When parsing a dynamic statement, an error occurred.
What happened?
Error in ABAP application program.
The current ABAP program "/ GETPF / SAPLTABLE_CONTENT_CHECK" had to be canceled
be as it appears on
an instruction is encountered, which unfortunately can not be executed.
Error Analysis
There is an exception has occurred, which is discussed further below.
The exception, which is assigned to the class 'CX_SY_DYNAMIC_OSQL_SYNTAX'
was in the procedure "/ GETPF / TABLE_CONTENT_CHECK" "(FUNCTION)" neither
intercepted,
still propagated by a RAISING clause.
Since the caller of the procedure is not with the occurrence of the exception
could be expected, the running program was terminated.
Error was at below statement :
SELECT * FROM (ls_table_list-tabname) INTO
TABLE <table>
WHERE (condition). -
Mapping node from UIcust &View throws dump in result
hello all,
Need ur urgent help!!
I hav already posted one thread bout dis but didnt got any response.... So doing it again
Not able to map UICust node to View.Till UICust the app works fine but as i map the node to View........ Error comes of contact administrator without any exception
Contact Administrator error is coming after mapping node from UICust with View.
Its not happpening in case of 1 single attribute but while mapping the node this error is encountered even if that node consists of single attribute.
Urgent help required....Kindly help
Thanks n regards
MandeepHi Siva,
4 attr under 1 node in modal node and same i craeted in value node in uicust. but even if i try to map the replicated value node in uicust and map dat to value node of view. still its showin dump (Contact administrator wid no exception)
I hav reopnened the project....... rebuild. it doesnt show any error.... as soon as i go for mapping in view and uicust . it starts throwin dump
Thanks n Regards
Mandeep -
Queries on infoset throwing short dump
hello all,
We have some queries based on infoset. These queries are throwing dump
Dump info
Category ABAP Programming Error
Runtime Errors GETWA_NOT_ASSIGNED
ABAP Program SAPLRSQ_ISET_RUNTIME
Application Component BW-BEX
i found following
Infoset status - active.
Queries status - active
Queries executing till Selection screen
Infoset - data loaded
Pls help to fix this issue
ThanksHi,
Run your Query in RSRT in debug mode( Select SQL Query ). Try to analyze where it's getting failed. You can even analyze the dump in ST22.
Check the definition of your Infoset joins.
Regards,
Suman -
The program is throwing a dump
when i try to sort the table program is throwing dump
*& Report ZDAN_DEMO_ALV
REPORT zdan_demo_alv.
TYPE-POOLS: slis.
Types **********
*break hopflabap1.
TYPES: BEGIN OF ty_vbap,
matnr TYPE vbap-matnr, " material number
vbeln TYPE vbap-vbeln, " SO
posnr TYPE vbap-posnr, " SO item
arktx TYPE vbap-arktx, " text for so item
j_3apgnr TYPE vbap-j_3apgnr, " grid number
KWMENG TYPE vbap-KWMENG, " Quantity
zmeng TYPE vbap-zmeng, " target quantity
END OF ty_vbap.
TYPES : BEGIN OF ty_vbep,
j_3asize TYPE vbep-j_3asize, " grid value
vbeln1 TYPE vbep-vbeln, " SO
posnr1 TYPE vbep-posnr, " SO item
END OF ty_vbep.
TYPES : BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln,
AUART TYPE vbak-AUART, " Document Type
END OF ty_vbak.
TYPES : BEGIN OF ty_final,
matnr TYPE vbap-matnr,
posnr TYPE vbap-posnr,
arktx TYPE vbap-arktx,
j_3apgnr TYPE vbap-j_3apgnr,
KWMENG TYPE vbap-KWMENG,
vbeln TYPE vbap-vbeln,
j_3asize TYPE vbep-j_3asize,
vbeln1 TYPE vbep-vbeln,
posnr1 TYPE vbep-posnr,
AUART TYPE vbak-AUART,
END OF ty_final.
Data **********
DATA : it_vbap TYPE TABLE OF ty_vbap,
wa_vbap LIKE LINE OF it_vbap,
it_vbep TYPE TABLE OF ty_vbep,
wa_vbep LIKE LINE OF it_vbep,
it_vbak TYPE TABLE OF ty_vbak,
wa_vbak LIKE LINE OF it_vbak,
it_final TYPE TABLE OF ty_final,
wa_final LIKE LINE OF it_final.
DATA : it_fclog TYPE slis_t_fieldcat_alv,
wa_fclog LIKE LINE OF it_fclog,
it_sort TYPE slis_t_sortinfo_alv,
wa_sort LIKE LINE OF it_sort,
gd_layout TYPE slis_layout_alv,
gd_print TYPE slis_print_alv,
gd_repid LIKE sy-repid,
gt_events TYPE slis_t_event.
*break hopflabap1.
SELECTION-SCREEN BEGIN OF BLOCK sodisp WITH FRAME TITLE text-001.
PARAMETERS : matnr TYPE vbap-matnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK sodisp.
START-OF-SELECTION.
PERFORM data_retv.
PERFORM fclog.
PERFORM disp_rpt.
*break hopflabap1.
*& Form data_retv
text
FORM data_retv.
SELECT matnr posnr arktx j_3apgnr zmeng vbeln
*FROM vbap INTO wa_vbap WHERE matnr EQ matnr.
*SELECT vbeln j_3asize
*FROM vbep INTO table it_vbep
for all entries in it_vbap
where vbeln = it_vbap-vbeln and posnr = it_vbap-posnr.
ENDSELECT.
*loop at it_vbap into wa_vbap.
*"move all the data of wa_vbap into wa_final
*"since you are not using full key you may get more than one record
*loop at it_vbep INTO wa_vbep Where vbeln1 = it_vbap-vbeln and posnr1 = it_vbep-posnr1.
"move the information from wa_vbep to wa_final
*endloop.
*append wa_final to it_final.
*clear wa_final.
*endloop.
*break hopflabap1.
SELECT matnr vbeln posnr arktx j_3apgnr KWMENG
FROM vbap
INTO TABLE it_vbap
WHERE matnr EQ matnr.
SELECT j_3asize vbeln posnr
FROM vbep
INTO TABLE it_vbep
FOR ALL ENTRIES IN it_vbap
WHERE vbeln EQ it_vbap-vbeln AND posnr = it_vbap-posnr.
*break hopflabap1.
SELECT vbeln AUART
FROM vbak
INTO TABLE it_vbak
FOR ALL ENTRIES IN it_vbap
WHERE vbeln EQ it_vbap-vbeln.
LOOP AT it_vbap INTO wa_vbap.
LOOP AT it_vbep INTO wa_vbep.
LOOP AT it_vbak INTO wa_vbak.
READ TABLE it_vbak INTO wa_vbak with key vbeln = wa_vbap-vbeln.
wa_final-matnr = wa_vbap-matnr.
wa_final-vbeln = wa_vbap-vbeln.
wa_final-posnr = wa_vbap-posnr.
wa_final-arktx = wa_vbap-arktx.
wa_final-j_3asize = wa_vbep-j_3asize.
wa_final-j_3apgnr = wa_vbap-j_3apgnr.
wa_final-KWMENG = wa_vbap-KWMENG.
wa_final-AUART = wa_vbak-AUART.
wa_final-BMENG = wa_vbep-BMENG.
wa_final-vbeln1 = wa_vbep-vbeln1.
wa_final-posnr1 = wa_vbep-posnr1.
*break hopflabap1.
ENDLOOP.
ENDLOOP.
APPEND wa_final TO it_final.
*break hopflabap1.
ENDLOOP.
sort it_final by vbeln posnr j_3asize.
ENDFORM. "data_retv
*& Form disp_rpt
text
FORM disp_rpt.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
i_callback_user_command = 'USER_COMMAND'
is_print = gd_print
i_callback_pf_status_set = 'SET_STATUS'
i_callback_top_of_page = 'TOP-OF-PAGE'
is_layout = gd_layout
it_fieldcat = it_fclog[]
it_sort = it_sort[]
i_save = 'X'
IT_EVENTS = GT_EVENTS[]
TABLES
t_outtab = it_final[].
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form fclog
text
FORM fclog.
wa_sort-fieldname = 'VBELN'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_sort-fieldname = 'POSNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_sort-fieldname = 'J_3ASIZE'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_fclog-fieldname = 'MATNR'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Material Num'.
wa_fclog-outputlen = 15.
wa_fclog-col_pos = 2.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = ' VBELN'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'SO'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 3.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'POSNR '.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'SO Item'.
wa_fclog-outputlen = 15.
wa_fclog-col_pos = 4.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'ARKTX'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Description'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 7.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'J_3ASIZE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Grid Value'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 5.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'J_3APGNR'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Grid Number'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 6.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'KWMENG'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Quantity'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 8.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'AUART'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Document Type'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 9.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
ENDFORM. "fclogtry this program and you'll get an error....
REPORT zdan_demo_alv.
TYPE-POOLS: slis.
Types **********
*break hopflabap1.
TYPES: BEGIN OF ty_vbap,
matnr TYPE vbap-matnr, " material number
vbeln TYPE vbap-vbeln, " SO
posnr TYPE vbap-posnr, " SO item
arktx TYPE vbap-arktx, " text for so item
j_3apgnr TYPE vbap-j_3apgnr, " grid number
KWMENG TYPE vbap-KWMENG, " Quantity
zmeng TYPE vbap-zmeng, " target quantity
END OF ty_vbap.
TYPES : BEGIN OF ty_vbep,
j_3asize TYPE vbep-j_3asize, " grid value
vbeln1 TYPE vbep-vbeln, " SO
posnr1 TYPE vbep-posnr, " SO item
END OF ty_vbep.
TYPES : BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln,
AUART TYPE vbak-AUART, " Document Type
END OF ty_vbak.
TYPES : BEGIN OF ty_final,
matnr TYPE vbap-matnr,
vbeln TYPE vbap-vbeln,
posnr TYPE vbap-posnr,
arktx TYPE vbap-arktx,
j_3apgnr TYPE vbap-j_3apgnr,
KWMENG TYPE vbap-KWMENG,
j_3asize TYPE vbep-j_3asize,
vbeln1 TYPE vbep-vbeln,
posnr1 TYPE vbep-posnr,
AUART TYPE vbak-AUART,
END OF ty_final.
Data **********
DATA : it_vbap TYPE TABLE OF ty_vbap,
wa_vbap LIKE LINE OF it_vbap,
it_vbep TYPE TABLE OF ty_vbep,
wa_vbep LIKE LINE OF it_vbep,
it_vbak TYPE TABLE OF ty_vbak,
wa_vbak LIKE LINE OF it_vbak,
it_final TYPE TABLE OF ty_final,
wa_final LIKE LINE OF it_final.
DATA : it_fclog TYPE slis_t_fieldcat_alv,
wa_fclog LIKE LINE OF it_fclog,
it_sort TYPE slis_t_sortinfo_alv,
wa_sort LIKE LINE OF it_sort,
gd_layout TYPE slis_layout_alv,
gd_print TYPE slis_print_alv,
gd_repid LIKE sy-repid,
gt_events TYPE slis_t_event.
*break hopflabap1.
SELECTION-SCREEN BEGIN OF BLOCK sodisp WITH FRAME TITLE text-001.
PARAMETERS : matnr TYPE vbap-matnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK sodisp.
START-OF-SELECTION.
PERFORM data_retv.
PERFORM fclog.
PERFORM blayout.
PERFORM disp_rpt.
*break hopflabap1.
*& Form data_retv
text
FORM data_retv.
SELECT matnr posnr arktx j_3apgnr zmeng vbeln
*FROM vbap INTO wa_vbap WHERE matnr EQ matnr.
*SELECT vbeln j_3asize
*FROM vbep INTO table it_vbep
for all entries in it_vbap
where vbeln = it_vbap-vbeln and posnr = it_vbap-posnr.
ENDSELECT.
*loop at it_vbap into wa_vbap.
*"move all the data of wa_vbap into wa_final
*"since you are not using full key you may get more than one record
*loop at it_vbep INTO wa_vbep Where vbeln1 = it_vbap-vbeln and posnr1 = it_vbep-posnr1.
"move the information from wa_vbep to wa_final
*endloop.
*append wa_final to it_final.
*clear wa_final.
*endloop.
*break hopflabap1.
SELECT matnr vbeln posnr arktx j_3apgnr KWMENG
FROM vbap
INTO TABLE it_vbap
WHERE matnr EQ matnr.
SELECT j_3asize vbeln posnr
FROM vbep
INTO TABLE it_vbep
FOR ALL ENTRIES IN it_vbap
WHERE vbeln EQ it_vbap-vbeln AND posnr = it_vbap-posnr.
*break hopflabap1.
SELECT vbeln AUART
FROM vbak
INTO TABLE it_vbak
FOR ALL ENTRIES IN it_vbap
WHERE vbeln EQ it_vbap-vbeln.
LOOP AT it_vbap INTO wa_vbap.
LOOP AT it_vbep INTO wa_vbep.
LOOP AT it_vbak INTO wa_vbak.
READ TABLE it_vbak INTO wa_vbak with key vbeln = wa_vbap-vbeln.
wa_final-matnr = wa_vbap-matnr.
wa_final-vbeln = wa_vbap-vbeln.
wa_final-posnr = wa_vbap-posnr.
wa_final-arktx = wa_vbap-arktx.
wa_final-j_3asize = wa_vbep-j_3asize.
wa_final-j_3apgnr = wa_vbap-j_3apgnr.
wa_final-KWMENG = wa_vbap-KWMENG.
wa_final-AUART = wa_vbak-AUART.
wa_final-BMENG = wa_vbep-BMENG.
wa_final-vbeln1 = wa_vbep-vbeln1.
wa_final-posnr1 = wa_vbep-posnr1.
*break hopflabap1.
ENDLOOP.
ENDLOOP.
APPEND wa_final TO it_final.
*break hopflabap1.
ENDLOOP.
*SORT it_final by vbeln posnr j_3asize.
ENDFORM. "data_retv
*& Form disp_rpt
text
FORM disp_rpt.
gd_repid = sy-repid .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
i_callback_user_command = 'USER_COMMAND'
is_print = gd_print
i_callback_pf_status_set = 'SET_STATUS'
i_callback_top_of_page = 'TOP-OF-PAGE'
is_layout = gd_layout
it_fieldcat = it_fclog[]
it_sort = it_sort[]
i_save = 'X'
IT_EVENTS = GT_EVENTS[]
TABLES
t_outtab = it_final[].
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_REPORT
*FORM blayout.
gd_layout-zebra = 'X'.
*gd_print-no_coverpage = 'X'.
*gd_print-no_print_listinfos = 'X'.
*gd_layout-info_fieldname = 'RCLR'.
**gd_layout-colwidth_optimize = 'X'.
*ENDFORM. " BUILD_LAYOUT
*& Form fclog
text
FORM fclog.
wa_sort-fieldname = 'VBELN'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_sort-fieldname = 'POSNR'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_sort-fieldname = 'J_3ASIZE'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
wa_sort-group = 'UL'.
APPEND wa_sort TO it_sort.
wa_fclog-fieldname = 'MATNR'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Material Num'.
wa_fclog-outputlen = 15.
wa_fclog-col_pos = 2.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = ' VBELN'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'SO'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 3.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'POSNR '.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'SO Item'.
wa_fclog-outputlen = 15.
wa_fclog-col_pos = 4.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'ARKTX'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Description'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 7.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'J_3APGNR'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Grid Number'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 6.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'KWMENG'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Quantity'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 8.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'J_3ASIZE'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Grid Value'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 5.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
wa_fclog-fieldname = 'AUART'.
wa_fclog-tabname = 'IT_FINAL'.
wa_fclog-seltext_m = 'Document Type'.
wa_fclog-outputlen = 20.
wa_fclog-col_pos = 9.
APPEND wa_fclog TO it_fclog.
CLEAR wa_fclog.
ENDFORM. "fclog -
Short dump error in program SAPMV50A after modification
Dear gurus
i have done some modification in vl02n through Badi and it is working fine in Development server.
when i transport it to quality server and test it
it giving a short dump in vl02n while vl01n is working perfectly fine and showing my modification too..
below is the error mentioned
Database error text........: "Unsupported database type in parameter/column
(168)."
Internal call code.........: "[RSQL/READ/LIKP ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able t
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the followin
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPMV50A" or "MV50AFDB"
"LIKP_SELECT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
Please help
Regards
Saad Nisari have created two append structure in standard tables of LIKP & LIPS which are activated and so as LIKP and LIPS
my Badi is also activated and my customized program is also activated.
While making outbound delivery in Quality server it works fine but when i want to make changes in that created delivery it throws dump error
short text
SQL error in the database when accessing a table.
issing RAISING Clause in Interface
Program SAPMV50A
Include MV50AFDB
Row 14
Module type (FORM)
Module Name LIKP_SELECT
rigger Location of Exception
Program SAPMV50A
Include MV50AFDB
Row 20
Module type (FORM)
Module Name LIKP_SELECT -
Dump error while bulk load to Sybase IQ
Hi ,
I am loading data from Sybase IQ source to Sybase IQ target database. I can load the data in normal mode. But If I am trying bulk loading it is throwing dump error. Earlier I loaded so many times using bulk load but I didn't face any issue. We upgraded to Sybase IQ 16.0 SP3 to SP8. Now We are facing this type of difficulties. Please find the attached log file for error.
Please help me how to resolve this issue.
Thanks & Regards,
Ramana.Hi Vijay,
follow the steps below (May Help you)
Goto Monitor screen>Status Tab> using the wizard or the menu path >Environment -> Short dump> In the warehouse
Select the Error and double click
Analyse the error from the message.
1.-->Go to Monitor
-->Transactional RFC
-->In the Warehouse
-->Execute
-->EDIT
-->Execute LUW
Refresh the Transactional RFC screen and go to the Data Target(s) which have failed and see the status of the Request-->Now it should be green.
2.In some cases the above process will not work (where the Bad requests still exists after the above procedure).
In that case we need to go to the Data Targets and need to delete the bad requests and do the update again
Regards,
BH
Maybe you are looking for
-
Forms Help for Multiple Use Forms
I need some help on a forms question. I have created several forms that I wanted to use in Adobe Pro for email based review. I have been using the base forms, adding the information (these are budget forms)then saving the forms with a different name.
-
Hello everybody, Yesterday I was googling because I had a problem with time machine displaying wrong dates on my old backups, I found this command to copy/paste on terminal which I did. rm ~/library/preferences/.Global* ~/library/preferences/byhost/.
-
Can you separate movies from iPhotos?
Is there any way to just view all your movies in iPhotos? i.e. seperate movies from photos? Also, does your movie data get stored in the iPhoto library in Pictures or in the Movies folder? Thanks
-
Billing Information "None" option
Hello, I am trying to download a free application using my Apple Id and the password but in the Billing Information step, there is no "None" option and I do not have a credit card. What can I do ? Thank You in advance.
-
Query to know User access in OBIEE
Guys, Is there any query in OBIEE which can give me the information about available users in OBIEE and which dashbaord these users have acess to see? Thanks in advance. SK.