Short dump if we run RSCONN01
Hi,
I'm getting a short dump if I run RSCONN01. Is there any way to avoid that, or any setting required to run the report. It happens in a FORM Routine XAB_RUN_DRIVER
if new_function = space.
call 'RfcImport' id 'Push' field rfctype_abap4_exit
id 'Info' field program.
else.
call 'RfcImport' id 'Push' field rfctype_abap4_exit
id 'Info' field program
id 'Function' field new_function.
Has anybody faced this kind of problem.
Regards,
Vijay
Message was edited by: vijay srikanth
Hello,
please check below note.
841159 Waiting messages block the send process (4.6)
Best Regards,
Yong Luo
Similar Messages
-
Short Dump while executing costing run or production orders
Hi Guys,
While executing the costing run or production orders saving, we are getting short dump. it is the debugging is showing its fingers at A035 which is related to maintenance of overhead rates.
We have maintained the overhead rates correctly. There is no issue.
This could be some thing related to OSS notes as well.
Just wanted to know if it has got something to do with OSS notes or something else.
Please throw some light in this regard
Thanks in advanceHi,
In what program there is a dump? I mean, what is the log saying?
Regards,
Eli -
Short dump while running Payroll
Dear Experts,
I am getting short dump while running the payroll for around 150 employees, but am not able to see the short dump also as it says that "process terminated".
please help me in this regard and also let me know if there could be any configuration errors.
Regards
ShansarThank you all for the response.
The issue has been resolved. i have learnt that log field should not be flagged when you are executing payroll for more than 50 employees.
Regards
Shansar -
Run time error (short dump) executing program SCAN_BW_REFERENCES in SE80
Hi experts,
I am not an ABAPer, or Basis person, rather a hybrid functional/technical Key User for our Business Warehouse system (BW 3.5, Netweaver 2004). We have a user who cannot save BW reports to his favorites and he is getting a number of error messages. OSS note 887002 seems to address this and indicates that I should run program SCAN_BW_REFERENCES from transaction SE80. The program is supposed to perform the checks for BW objects assigned to the Favorites and identify situations causing terminations in BW frontend applications. I have attempted to execute this program on several occassions and always get run-time errors (short dumps). Here is the error:
Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED
Date and Time 2008.09.17 19:00:49
ShrtText
No storage space available for extending an internal table.
What happened?
You attempted to extend an internal table, but the required space was
not available.
I have been informed by our Basis group that I have reached a memory limit, but they will not extend the memory paramters. Any ideas on a work-a-round or a way to minimize the number of records this program is pulling in, in an attempt to get it to run?
Thanks,
HCHi,
The only response I got from Basis was that they would not extend the memory parameters because they are for all users in the system. Not sure what that means.
The full dump is too large to paste here. I think what I will do is to see if our ABAPers can create a modified version of this program to include selection by user. Typically it is for only one user that I need to run the program, and that surely would fall within the space requirements.
Thanks for your answer.
//HC -
When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.
When I run the BAPI "BAPI_PBSRVAPS_GETDETAIL" .It gives me a short dump.
Can anybody help me with this?This is the content of the dump.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Date and Time 05/17/2007 11:21:29
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "/SAPAPO/SAPLADVF" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "/SAPAPO/ADVF_CELL_INPUT" "(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 (variable: "C_S_ACTVIEW-AGC_CHILD1-APOGRID").
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.
Missing RAISING Clause in Interface
Program /SAPAPO/SAPLADVF
Include /SAPAPO/LADVFU06
Row 1
Module type (FUNCTION)
Module Name /SAPAPO/ADVF_CELL_INPUT
Trigger Location of Exception
Program /SAPAPO/SAPLADVF
Include /SAPAPO/LADVFU06
Row 81
Module type (FUNCTION)
Module Name /SAPAPO/ADVF_CELL_INPUT
Source Code Extract
Line SourceCde
51 *#TR# (1) Check arguments: Read only mode must be 0, 1 or 2 and row and column must be provi
52 if f_argument2 is initial or f_argument3 is initial.
53 break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. exit.
54 endif.
55
56
57 *#TR# (1a) Calculate line number of the cell (line + line offset)
58 l_line = f_argument2 + i_line_offset.
59
60 *#TR# (1b) Set L_CELL_READONLY depending on the read only mode F_ARGUMENT
61 case f_argument.
62 when 0. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_only.
63 when 1. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
64 when 2. l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless.
65 when others.
66 break-point id /SAPAPO/ADV__EXECUTION. clear f_argument. f_calc_error = true. return.
67 endcase.
68
69 *#TR# (1c) The input status of cells set to read only by the data view definition (history)
70 if f_argument3 < g_s_cols_properties-first_input_column.
71 return.
72 endif.
73
74 *#TR# (1d) Note 1005813: The old APOGRID does not support the read only mode
75 *#TR# /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-READ_WRITE. For compatibility reasons, w
76 *#TR# read only mode /SAPAPO/CL_AGC_BASE=>GS_C_AGC_READONLY_VALUES-STATELESS
77
78 *#TR# Determine version of APOGRID to check, if new or old APOGRID is used. The version is b
79 *#TR# reasons
80 if g_agc_grid_version is initial.
>>>> c_s_actview-agc_child1-apogrid->get_control_version(
82 IMPORTING
83 apogrid = l_apogrid
84 EXCEPTIONS
85 cntl_system_error = 1
86 cntl_error = 2
87 others = 3
88 ).
89 if sy-subrc <> 0.
90 break-point id /sapapo/adv__execution. clear f_argument. f_calc_error = true. exit.
91 endif.
92
93 g_agc_grid_version = l_apogrid.
94 endif.
95
96 *#TR# If the old grid is used change read only mode if necessary
97 if g_agc_grid_version < 200
98 and l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-read_write.
99
100 l_cell_readonly = /sapapo/cl_agc_base=>gs_c_agc_readonly_values-stateless. -
Attribute change run process type failed with short dump
Hi all,
In the process chain Attribute change run process type failed with short dump. I checked the locks in SM12 but there are no locks associated. I checked in the attribute change run screen through RSA1 -> infoobject list but there are no infoobjects there. I think the ACR was completed successfully, still the process type in the PC was in red colour. What to do and let me know what happened here.
Thanks,
Jack1. This kind of scenario is extremely rare but it happens sometimes. It might be the case that 2 attribute change runs are running at the same time.
2. Same IO is being used in Differnet PC and getting activated.
I think if this frequently occurs you need to check at the time of locking all running jobs and see whether anywhere else or simultaneously 2 ACR are running.
Please do close the thread if that answers your questions. Please help us keep the forums clean and open useful information only.
For more information search on help.sap.com and you will get lots of material.
Regards.
Den -
Short dump while running Alert Monitor
Hi,
I am getting a short dump while determining alert in Alert Monitor through T. Code /SAPAPO/AMON1. The error says as below:
Runtime Errors BCD_NO_SIGN
Short text : A packed number contains no sign.
What happened? : Error in the ABAP Application Program, The current ABAP program "SAPLKKBL" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Information on where terminated : Termination occurred in the ABAP program "SAPLKKBL" - in "FB_OUTTAB_SORT2".Hi Axon Generic,
Please checkon the following
1) In the overall profile of alert monitor, check the relative
time interval whether specified correctly
2) Under the alert profile in Overall profile, check the
threshold values are defined correctly
3) Check the SAP Note 151709 , 189061
Please confirm your findings.
Regards
R. Senthil Mareeswaran. -
Short dump while running OLI3BW
Hello,
I'm getting a runtime error and a short dump when I try to fill the setup tables for Purchasing.
This is the error mesage:
Error in ABAP application program.
The current ABAP program "SAPLEINS " had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Function module "MCEX_UPDATE_02" was called
with the parameter "I_EKKO".
This parameter is not defined.
Does anyone have any idea on how to eliminate this error?
Regards,
SameerHi sameer,
try to fill the settings for purchasing application.
1. determine industry sector
2. transaction key maintenance for sap-bw.
execute these settings and try to fill the setup table once again
Regards
Harikrishna N -
Short dump Error-ABAP/4 Run time Error
Hi Expert,
Dump:ABAP/4 Processor:MESSAGE_TYPE_X Why this error came,I would like to Investigation on Perticular error,Please Some body give me an Exact answer,so that i closed the ticket.
Regards,
Raju.Hi Suresh,
What is the actual issue?
When did you get this error.
To know about this type of error, check below link...
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=dump%3aABAP%2F4Processor%3A+MESSAGE_TYPE_X&adv=false&sortby=cm_rnd_rankvalue
Also check this:
Note 1016317 - SP13:PC: Start type 'Date & time' gets scheduled wrong
"Process chain scheduling results in dump- ABAP/4 processor: MESSAGE_TYPE_X"
Solution:
In the short dump analysis, the process fails at function module
RSS2_PSA_NEW_OLD_DS
call function 'RSDS_DATASOURCE_SINGLE_GET'
Regards,
KK. -
Short dump 'Table does not exist in database'
Hello All,
When a report is executing it is going to short dump by saying 'Table does not exist in database'. As per the short dump analysis this issue is happening because of the following Native SQL statement statement :
Program : %_T050N0 (This is a dynamic program generating by SAP )
Form Name : DYN_LIC_SEL_TOT
exec sql performing LOOP_MOVE_WRITE_ISAP.
select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty into :dcat-lplate, :dcat-matnr,
:dcat-werks, :dcat-charg, :dcat-holdflag,
:dcat-qty from ZLICENSE_R2 where itm_num = :p_matnr and
model_lot = :p_charg
endexec.
As per the customer this issue occurring since they migrated the SAP back-end data base from Oralce to DB6. Here I felt that ZLICENSE_R2 is not migrated from the Oracle to DB6. But as per the BASIS Team, even this table was not maintained in Oracle also. If the table was not maintained in the Oracle, this issue should have been there even before migration also.
Following is the short dump details:
Short text
Table does not exist in database.
What happened?
The table or view name used does not
exist in the database.
The error occurred in the current database connection "DEFAULT".
What can you do?
Check the spelling of the table names in your report.
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_NATIVE_SQL_ERROR', was not
caught in
procedure "DYN_LIC_SEL_TOT" "(FORM)", 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:
Triggering SQL statement: "select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty from ZLICENSE_R2 where itm_num = ? and model_lot = ? "
Database error code: "-204"
Could you please let me know what might be the reason for this issue.
Many Thanks in Advance.Transaction SE11, input ZLICENSE_R2 for table name, and display the table. Did the table display? If not, that is the main problem.
If the table displays, go to menu item Utilities -> Database Object -> Database Utility
In the resulting screen, under the "Status" fields, you should see text "Exists in the database." If you don't, then the table exists in the dictionary, but doesn't exist in the database system. Click the "Create database table" button and then you should be able to run the program.
You may need basis team's help to carryout some of these actions. -
Short dump when expand info provide
Dear all,
I have 0GL_ACOOUNT info object that act as a master data.
the problem is when I want to expand at the info provider instantly create short dump
the overview of the short dump is :
Runtime Errors ASSERTION_FAILED
Date and Time 12.08.2009 10:08:16
Short text
The ASSERT condition was violated.
What happened?
In the running application program, the ASSERT statement recognized a
situation that should not have occurred.
The runtime error was triggered for one of these reasons:
- For the checkpoint group specified with the ASSERT statement, the
activation mode is set to "abort".
- Via a system variant, the activation mode is globally set to "abort"
for checkpoint groups in this system.
- The activation mode is set to "abort" on program level.
- The ASSERT statement is not assigned to any checkpoint group.
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.
Information on where terminated
Termination occurred in the ABAP program "CL_RSAWBN_OBJ_IOBJ_DATA=======CP" -
in "GET_TRFN_AWBSUBOBJ".
The main program was "RSAWBN_START ".
In the source code you have the termination point in line 23
of the (Include) program "CL_RSAWBN_OBJ_IOBJ_DATA=======CM005".
Source Code Extract
Line SourceCde
1 METHOD get_trfn_awbsubobj .
2
3 DATA: l_tranid TYPE rstranid,
4 l_s_source TYPE rstran_s_tlogo,
5 l_s_target TYPE rstran_s_tlogo,
6 l_objvers TYPE rsobjvers.
7
8 l_tranid = i_objnm.
9 l_objvers = rs_c_objvers.
10
11 * get the source and target for the tranid
12 WHILE l_s_source IS INITIAL OR l_s_target I
13 TRY.
14 cl_rstran_stat=>get_objects(
15 EXPORTING
16 i_tranid = l_tranid
17 i_objvers = l_objvers
18 IMPORTING
19 e_s_source = l_s_source
20 e_s_target = l_s_target
21 ).
22 CATCH cx_rstran_not_found .
>>>>> ASSERT sy-index < 2.
24 ENDTRY.
25 * for possible second run set objvers
26 l_objvers = rs_c_objvers-modified.
27 ENDWHILE.
29 * pass back the su
30 IF i_target = rs
31 re_awbsubobjec
32 ELSE.
33 re_awbsubobjec
34 ENDIF.
35
36 ENDMETHOD.
Please adviceHI,
I have read the sap notes and that is exactly what happen to me.
but I don't understand how to correct it.
It said :
This error cannot be corrected automatically. Use the method DELETE_VERSION_FROM_DB of the class CL_RSTRAN_STAT to delete the existing A version of the transformation manually in the target system.
Ensure that the transformation is permanently deleted from the database; therefore, you should verify that the correct transformation ID is specified (in the short dump, the TranID that is specified in the short dump is in the variable L_TRANID).
anybody know how to use delete_version_from_db ?
please advice -
CX_SY_FILE_OPEN_MODE - short dump on production but not in Dev and Test
Hello,
I'm getting the follwoing short dump in production when I run the program which writes the data to application server. I have open data set and close data set. Same program when I in development and test I do not get any short dump. Can any know what could be cause for this.
CX_SY_FILE_OPEN_MODE
Copy paste of error analysis from ST22 short dump -
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_FILE_OPEN_MODE', was not
caught in
procedure "DATA_UPLOAD_APP_SERVER" "(FORM)", 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:
When accessing the file "/bw/FTPOUT/BPR/OTHER/test.csv", the system recognized
that this file is
not open. Therefore, the file cannot be accessed.The file could not be OPENed in your production system for a variety of reasons - no authorization, file doesn't exist etc. You should have check sy-subrc right after OPEN DATASET and if not zero, yous should not TRANSFER or READ the file and instead you should have given a message with sy-msgid and sy-msgno which would give you the reason. The dump here is simply saying that OPEN is unsuccessful, so any subsequent READ or TRANSFER would throw runtime dump, if done after an unsuccessful OPEN.
-
Hi forum,
Pls help me out...I'm getting short dump if i execute this..
pls correct the code.......
REPORT ZPAY_REG NO STANDARD PAGE HEADING line-size 150 line-count
65(3).
TYPE-POOLS: slis.
TABLES:
payr,
t012,
t012k,
t51r5.
Data : begin of it occurs 0,
zbukr like payr-zbukr, "paying company code
hbkid like payr-hbkid, "house bank id
hktid like payr-hktid, "account id
bankl like t012-bankl, "bank key
bankn like t012k-bankn, "bank account
checf like payr-checf, "check number
waers like payr-waers, "currency
rwbtr like payr-rwbtr, "amount
bancd like payr-bancd, "check encashment date
vblnr like payr-vblnr, "payment document no
pernr like payr-pernr, "personnel number
voidr like payr-voidr, "void reason code
rzawe like payr-rzawe, "payment method
laufd like payr-laufd, "checks from payment run
empfg like payr-empfg, "payee code
gjahr like payr-gjahr, "fiscal year
duedt like t51r5-duedt, "due date
zaldt like payr-zaldt, "payment date
znme1 like payr-znme1, "payee name
rec_belnr like payr-rec_belnr, " voucher number
end of it.
*"Payment Register
*A listing of payments made by vendor for a specific payment run or
*group of runs. Data elements include but not limited to:
** Payment date
* Pay
* Payment number
* Payee name/number
* Voucher number
* Amount
* Period from/to
*Frequency: Every payment run, ad hoc for a timeframe, monthly
DATA: it_fldcat TYPE slis_fieldcat_alv OCCURS 0,
wa_fldcat TYPE slis_fieldcat_alv.
DATA : it_sort TYPE slis_sortinfo_alv OCCURS 0,
wa_sort TYPE slis_sortinfo_alv.
DATA: it_events TYPE slis_t_event,
wa_events TYPE slis_alv_event.
"DATA : v_txt TYPE string.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_zaldt FOR payr-zaldt, " payment date
s_vblnr FOR payr-vblnr, " payment document number
s_znme1 FOR payr-znme1, " payee name
s_rec FOR payr-rec_belnr, "voucher number
s_waers for payr-waers. "amount
s_duedt for t51r5-duedt. "due date
SELECTION-SCREEN END OF BLOCK b1.
SELECT a~zbukr
a~hbkid
a~hktid
a~checf
a~waers
a~rwbtr
a~bancd
a~vblnr
a~pernr
a~voidr
a~rzawe
a~laufd
a~empfg
a~gjahr
a~zaldt
a~znme1
a~rec_belnr
b~bankl
c~bankn
d~duedt
INTO CORRESPONDING FIELDS OF TABLE it
FROM payr AS a
INNER JOIN t012 AS b
ON ahbkid = bhbkid
inner join t012k as c
on bhbkid = chbkid
and on ahbkid = chbkid
inner join t51r5 as d
on cbukrs = dbukrs
and on awaers = dwaers
WHERE a~zaldt IN s_zaldt
AND a~vblnr IN s_vblnr
AND a~znme1 IN s_znme1
AND a~rec_belnr IN s_rec
AND a~waers IN s_waers.
loop at it.
write : / it-zbukr, it-hbkid, it-hktid, it-checf, it-waers, it-rwbtr,
it-bancd, it-vblnr, it-pernr, it-voidr, it-rzawe, it-laufd, it-empfg,
it-gjahr, it-zaldt, it-znme1, it-rec_belnr, it-bankl, it-bankn, it-duedt
endloop.
**--show data--
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Displaying data in grid format
EXPORTING
i_callback_program = sy-repid
it_fieldcat = it_fldcat "fieldcatalog
it_sort = it_sort[] "Sort
it_events = it_events
TABLES
t_outtab = it "internal table to output
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.
" SHOW_DATA
PERFORM BUILD_FLDCAT.
*& Form BUILD_FLDCAT
FORM build_fldcat .
DEFINE bld_fcat. "Macro to create manual field catalog
wa_fldcat-col_pos = &1.
wa_fldcat-fieldname = &2.
wa_fldcat-outputlen = &3.
wa_fldcat-seltext_s = &4.
wa_fldcat-ddictxt = &5.
append wa_fldcat to it_fldcat.
clear wa_fldcat.
END-OF-DEFINITION.
bld_fcat 1 'zbukr' 4 'Payee Company Code' 'L'.
bld_fcat 2 'hbkid' 5 'Short Key for a house bank' 'L'.
bld_fcat 3 'hktid' 5 'ID for account details' 'L'.
bld_fcat 4 'checf' 13 'Check number from' 'L'.
bld_fcat 5 'waers' 5 'Currency Key' 'L'.
bld_fcat 6 'rwbtr' 13 'Amount paid in tha payment currency' 'L'.
bld_fcat 7 'bancd' 8 'Check encashment date' 'L'.
bld_fcat 8 'vblnr' 10 'Document number of the payment document' 'L'.
bld_fcat 9 'pernr' 8 'Personnel number' 'L'.
bld_fcat 10 'voidr' 2 'Check region code' 'L'.
bld_fcat 11 'rzawe' 1 'payment method' 'L'.
bld_fcat 12 'laufd' 8 'Date on which the program is to be run' 'L'.
bld_fcat 13 'empfg' 16 'Payee code' 'L'.
bld_fcat 14 'gjahr' 4 'Fiscal Year' 'L'.
bld_fcat 15 'zaldt' 8 'Probable payment date' 'L'.
bld_fcat 16 'znme1' 35 'Payee Name' 'L'.
bld_fcat 17 'rec_belnr' 10 'Accounting Document Number Ref to Vocher Number' 'L'.
bld_fcat 18 'bankl' 15 'Bank key' 'L'.
bld_fcat 19 'bankn' 18 'Bank account number' 'L'.
bld_fcat 20 'duedt' 8 'Due Date' 'L'.
LOOP AT it_fldcat INTO wa_fldcat.
IF wa_fldcat-fieldname = 'LIFNR'.
wa_fldcat-key = 'X'.
ELSEIF wa_fldcat-fieldname = 'DMBTR'.
wa_fldcat-do_sum = 'X'.
ELSEIF wa_fldcat-fieldname = 'WRBTR'.
wa_fldcat-do_sum = 'X'.
ENDIF.
MODIFY it_fldcat FROM wa_fldcat.
CLEAR wa_fldcat.
ENDLOOP.
ENDFORM.Hi Mahathi,
Please check the below code which is corrected.
*& Report ZPAY_REG *
REPORT ZPAY_REG NO STANDARD PAGE HEADING line-size 150 line-count
65(3).
TYPE-POOLS: slis.
TABLES:
payr,
t012,
t012k,
t51r5.
DATA : BEGIN OF it OCCURS 0,
zbukr LIKE payr-zbukr, "paying company code
hbkid LIKE payr-hbkid, "house bank id
hktid LIKE payr-hktid, "account id
bankl LIKE t012-bankl, "bank key
bankn LIKE t012k-bankn, "bank account
checf LIKE payr-checf, "check number
waers LIKE payr-waers, "currency
rwbtr LIKE payr-rwbtr, "amount
bancd LIKE payr-bancd, "check encashment date
vblnr LIKE payr-vblnr, "payment document no
pernr LIKE payr-pernr, "personnel number
voidr LIKE payr-voidr, "void reason code
rzawe LIKE payr-rzawe, "payment method
laufd LIKE payr-laufd, "checks from payment run
empfg LIKE payr-empfg, "payee code
gjahr LIKE payr-gjahr, "fiscal year
duedt LIKE t51r5-duedt, "due date
zaldt LIKE payr-zaldt, "payment date
znme1 LIKE payr-znme1, "payee name
rec_belnr LIKE payr-rec_belnr, " voucher number
END OF it.
*"Payment Register
*A listing of payments made by vendor for a specific payment run or
*group of runs. Data elements include but not limited to:
** Payment date
* Pay
* Payment number
* Payee name/number
* Voucher number
* Amount
* Period from/to
*Frequency: Every payment run, ad hoc for a timeframe, monthly
DATA: it_fldcat TYPE slis_fieldcat_alv OCCURS 0,
wa_fldcat TYPE slis_fieldcat_alv.
DATA : it_sort TYPE slis_sortinfo_alv OCCURS 0,
wa_sort TYPE slis_sortinfo_alv.
DATA: it_events TYPE slis_t_event,
wa_events TYPE slis_alv_event.
"DATA : v_txt TYPE string.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_zaldt FOR payr-zaldt, " payment date
s_vblnr FOR payr-vblnr, " payment document number
s_znme1 FOR payr-znme1, " payee name
s_rec FOR payr-rec_belnr, "voucher number
s_waers FOR payr-waers, "amount
s_duedt FOR t51r5-duedt. "due date
SELECTION-SCREEN END OF BLOCK b1.
SELECT a~zbukr
a~hbkid
a~hktid
a~checf
a~waers
a~rwbtr
a~bancd
a~vblnr
a~pernr
a~voidr
a~rzawe
a~laufd
a~empfg
a~gjahr
a~zaldt
a~znme1
a~rec_belnr
b~bankl
c~bankn
d~duedt
INTO CORRESPONDING FIELDS OF TABLE it
FROM payr AS a
INNER JOIN t012 AS b
ON ahbkid = bhbkid
INNER JOIN t012k AS c
ON bhbkid = chbkid
AND ahbkid = chbkid
INNER JOIN t51r5 AS d
ON cbukrs = dbukrs
AND awaers = dwaers
WHERE a~zaldt IN s_zaldt
AND a~vblnr IN s_vblnr
AND a~znme1 IN s_znme1
AND a~rec_belnr IN s_rec
AND a~waers IN s_waers.
*LOOP AT it.
WRITE : / it-zbukr, it-hbkid, it-hktid, it-checf, it-waers, it-rwbtr,
it-bancd, it-vblnr, it-pernr, it-voidr, it-rzawe, it-laufd, it-empfg,
*it-gjahr, it-zaldt, it-znme1, it-rec_belnr, it-bankl, it-bankn,
*it-duedt
*ENDLOOP.
*--show data--
" SHOW_DATA
PERFORM build_fldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "Displaying data in grid format
EXPORTING
i_callback_program = sy-repid
it_fieldcat = it_fldcat[] "fieldcatalog
it_sort = it_sort[] "Sort
it_events = it_events
TABLES
t_outtab = it "internal table to output
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.
*& Form BUILD_FLDCAT
FORM build_fldcat .
DEFINE bld_fcat. "Macro to create manual field catalog
wa_fldcat-col_pos = &1.
wa_fldcat-fieldname = &2.
wa_fldcat-outputlen = &3.
wa_fldcat-seltext_s = &4.
wa_fldcat-ddictxt = &5.
append wa_fldcat to it_fldcat.
clear wa_fldcat.
END-OF-DEFINITION.
bld_fcat 1 'zbukr' 4 'Payee Company Code' 'L'.
bld_fcat 2 'hbkid' 5 'Short Key for a house bank' 'L'.
bld_fcat 3 'hktid' 5 'ID for account details' 'L'.
bld_fcat 4 'checf' 13 'Check number from' 'L'.
bld_fcat 5 'waers' 5 'Currency Key' 'L'.
bld_fcat 6 'rwbtr' 13 'Amount paid in tha payment currency' 'L'.
bld_fcat 7 'bancd' 8 'Check encashment date' 'L'.
bld_fcat 8 'vblnr' 10 'Document number of the payment document' 'L'.
bld_fcat 9 'pernr' 8 'Personnel number' 'L'.
bld_fcat 10 'voidr' 2 'Check region code' 'L'.
bld_fcat 11 'rzawe' 1 'payment method' 'L'.
bld_fcat 12 'laufd' 8 'Date on which the program is to be run' 'L'.
bld_fcat 13 'empfg' 16 'Payee code' 'L'.
bld_fcat 14 'gjahr' 4 'Fiscal Year' 'L'.
bld_fcat 15 'zaldt' 8 'Probable payment date' 'L'.
bld_fcat 16 'znme1' 35 'Payee Name' 'L'.
bld_fcat 17 'rec_belnr' 10 'Account DocuNumberRef to Vocher Number' 'L'.
bld_fcat 18 'bankl' 15 'Bank key' 'L'.
bld_fcat 19 'bankn' 18 'Bank account number' 'L'.
bld_fcat 20 'duedt' 8 'Due Date' 'L'.
LOOP AT it_fldcat INTO wa_fldcat.
IF wa_fldcat-fieldname = 'LIFNR'.
wa_fldcat-key = 'X'.
ELSEIF wa_fldcat-fieldname = 'DMBTR'.
wa_fldcat-do_sum = 'X'.
ELSEIF wa_fldcat-fieldname = 'WRBTR'.
wa_fldcat-do_sum = 'X'.
ENDIF.
MODIFY it_fldcat FROM wa_fldcat.
CLEAR wa_fldcat.
ENDLOOP.
ENDFORM. "build_fldcat
Please reward points if it is answered and close the thread.
Regards,
Hari -
Short dump in alv too many parameters in perform)
I M GETTING PROBLEM IN THIS PROGRAM AGAIN.
Getting short dump too many paramamerets in perform
<CODE>Report Z_50840_ALV
Line-size 80
Line-count 64
Message-id ZZ
No Standard Page Heading.
Copyright statement *
@ copyright 2007 by Intelligroup Inc. *
Program Details *
Program Name: Z_50840_ALV
Date : 19.07.2007
Author : Vasudevaraman V
Description : Test Program
Transport No:
Change Log *
Date :
Author :
Description :
Transport No:
Tables *
Tables: vbrk.
Type Pools *
Type-Pools: SLIS.
Variables *
Data: GV_REPID TYPE SY-REPID.
Structures *
Data: BEGIN OF GIT_VBRK OCCURS 0,
VBELN LIKE VBRK-VBELN, "Billing Document
FKART LIKE VBRK-FKART, "Billing Type
KNUMV LIKE VBRK-KNUMV, "Number of the document condition
BUKRS LIKE VBRK-BUKRS, "Company code
NETWR LIKE VBRK-NETWR, "Net value in document currency
WAERK LIKE VBRK-WAERK, "SD document currency in basic list
END OF GIT_VBRK,
GIT_FCAT TYPE SLIS_T_FIELDCAT_ALV,
WA_FCAT TYPE slis_fieldcat_alv,
GIT_EVENTS TYPE SLIS_T_EVENT,
WA_EVENTS TYPE SLIS_ALV_EVENT.
Field Symbols *
Field-symbols: <fs_xxxx>.
Selection Screen *
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN.
PARAMETERS: LISTDISP RADIOBUTTON GROUP G1,
GRIDDISP RADIOBUTTON GROUP G1 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK B1.
Initialization *
Initialization.
GV_REPID = SY-REPID.
At Selection Screen *
At selection-screen.
Start Of Selection *
Start-of-selection.
SET PF-STATUS 'ABC'(001).
PERFORM GET_BILLING_DETAILS.
PERFORM FIELD_CATALOGUE.
PERFORM GET_EVENTS.
End Of Selection *
End-of-selection.
PERFORM DISPLAY_BILLING_DETAILS.
Top Of Page *
Top-of-page.
End Of Page *
End-of-page.
*& Form GET_BILLING_DETAILS
text
--> p1 text
<-- p2 text
FORM GET_BILLING_DETAILS .
SELECT VBELN
FKART
KNUMV
BUKRS
NETWR
WAERK
FROM VBRK
INTO TABLE GIT_VBRK
WHERE VBELN IN S_VBELN.
IF SY-SUBRC = 0.
SORT GIT_VBRK BY VBELN.
ENDIF.
ENDFORM. " GET_BILLING_DETAILS
*& Form FIELD_CATALOGUE
text
--> p1 text
<-- p2 text
FORM FIELD_CATALOGUE .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = GV_REPID
I_INTERNAL_TABNAME = 'GIT_VBRK'
I_STRUCTURE_NAME = I_STRUCTURE_NAME
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = GV_REPID
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
CHANGING
CT_FIELDCAT = GIT_FCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
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. " FIELD_CATALOGUE
*& Form DISPLAY_BILLING_DETAILS
text
--> p1 text
<-- p2 text
FORM DISPLAY_BILLING_DETAILS .
IF LISTDISP = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME = I_STRUCTURE_NAME
IS_LAYOUT = IS_LAYOUT
IT_FIELDCAT = GIT_FCAT
IT_EXCLUDING = IT_EXCLUDING
IT_SPECIAL_GROUPS = IT_SPECIAL_GROUPS
IT_SORT = IT_SORT
IT_FILTER = IT_FILTER
IS_SEL_HIDE = IS_SEL_HIDE
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT = IS_VARIANT
IT_EVENTS = GIT_EVENTS
IT_EVENT_EXIT = IT_EVENT_EXIT
IS_PRINT = IS_PRINT
IS_REPREP_ID = IS_REPREP_ID
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IR_SALV_LIST_ADAPTER = IR_SALV_LIST_ADAPTER
IT_EXCEPT_QINFO = IT_EXCEPT_QINFO
I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
IMPORTING
E_EXIT_CAUSED_BY_CALLER = E_EXIT_CAUSED_BY_CALLER
ES_EXIT_CAUSED_BY_USER = ES_EXIT_CAUSED_BY_USER
TABLES
T_OUTTAB = GIT_VBRK
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.
ELSE.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME = I_STRUCTURE_NAME
I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_GRID_TITLE
I_GRID_SETTINGS = I_GRID_SETTINGS
IS_LAYOUT = IS_LAYOUT
IT_FIELDCAT = GIT_FCAT
IT_EXCLUDING = IT_EXCLUDING
IT_SPECIAL_GROUPS = IT_SPECIAL_GROUPS
IT_SORT = IT_SORT
IT_FILTER = IT_FILTER
IS_SEL_HIDE = IS_SEL_HIDE
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT = IS_VARIANT
IT_EVENTS = GIT_EVENTS
IT_EVENT_EXIT = IT_EVENT_EXIT
IS_PRINT = IS_PRINT
IS_REPREP_ID = IS_REPREP_ID
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS = IT_ALV_GRAPHICS
IT_HYPERLINK = IT_HYPERLINK
IT_ADD_FIELDCAT = IT_ADD_FIELDCAT
IT_EXCEPT_QINFO = IT_EXCEPT_QINFO
IR_SALV_FULLSCREEN_ADAPTER = IR_SALV_FULLSCREEN_ADAPTER
IMPORTING
E_EXIT_CAUSED_BY_CALLER = E_EXIT_CAUSED_BY_CALLER
ES_EXIT_CAUSED_BY_USER = ES_EXIT_CAUSED_BY_USER
TABLES
T_OUTTAB = GIT_VBRK
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.
ENDIF.
ENDFORM. " DISPLAY_BILLING_DETAILS
*& Form GET_EVENTS
text
--> p1 text
<-- p2 text
FORM GET_EVENTS .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = GIT_EVENTS
EXCEPTIONS
LIST_TYPE_WRONG = 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.
LOOP AT GIT_EVENTS INTO WA_EVENTS.
CASE WA_EVENTS-NAME.
WHEN 'USER_COMMAND'.
WA_EVENTS-FORM = 'USER_COMMAND'.
ENDCASE.
MODIFY GIT_EVENTS FROM WA_EVENTS INDEX SY-TABIX.
ENDLOOP.
ENDFORM. " GET_EVENTS
FORM USER_COMMAND.
WRITE :/ 'USER_COMMAND'.
ENDFORM.</CODE>.
REGARDS,
SURAJI have run the program in my system and getting the following display instead of dump.
Bill.Doc. BillT Doc.cond. CoCd Net value Curr.
90000763 B2 0000002800 1000 0.00 DEM
90005177 F2 0000012141 1000 5,500.00 DEM
90005178 F2 0000012144 1000 32,838.00 DEM
90005179 F2 0000012146 1000 6,100.00 DEM
90005180 F2 0000012147 1000 6,100.00 DEM
90005182 S1 0000012226 1000 5,500.00 DEM
90005183 S1 0000012227 1000 32,838.00 DEM
90005184 S1 0000012228 1000 6,100.00 DEM
90005185 S1 0000012229 1000 6,100.00 DEM
90005186 F2 0000012230 1000 6,100.00 DEM
90005187 F2 0000012231 1000 6,100.00 DEM
90005188 F2 0000012232 1000 32,778.00 DEM
90005189 F2 0000012233 1000 34,354.00 DEM
90005190 F2 0000012234 1000 19,991.00 DEM
90005191 F2 0000012235 1000 19,719.00 DEM
90005192 F2 0000012236 1000 43,004.00 DEM
90005193 F2 0000012237 1000 9,242.00 DEM
90005194 F2 0000012238 1000 12,156.00 DEM
90005195 F2 0000012239 1000 7,294.00 DEM
90005196 F2 0000012240 1000 9,694.00 DEM
90005197 F2 0000012241 1000 32,838.00 DEM
90005198 F2 0000012242 1000 9,352.00 DEM
90005199 F2 0000012243 1000 13,013.00 DEM -
Short dump when exporting to Excel
After installing SAP Gui 7.20, I get a short dump (Message_Type_x) whenever exporting a report to Excel (XXL).
SAP Gui 7.20
Patch level 5
Windows 7
Office 2010
has anybody run into this issue or know how to resolve it? Thank you.Hy,
I've the same problem, have you resolve it?
By,
Ale.
Maybe you are looking for
-
I am a fairly new user to Adobe and was wondering how to optimize and flatten a pdf using Acrobat Standard XI?
-
Mail to outside recipients does not arrive
I have a host running Solaris 8 [March 2003 Rec Patches] with IPlanet Messenger Server 5.2. I have set up the mail store on this host [call it host1] and want it to use host2 as the smart host. My understanding of this is that all mail that is not lo
-
Mail crashes when attempting to view emails
Been seing most thread on Mail Crashing, and have attempted all different possible solutions, but nothing has happend yet. I only have one email-account in Mail - gmail, when attempting to view emails, it simply breaks down, and closes Mail. Messagev
-
Finder does not show all files from NAS
Hi there I have a NAS attached to my mini where music, ... is stored. I can access it from both the mac as well as a PC. for some reason the mac finder does not display all the files in the directory even though the files are there (i can see and ope
-
Online number disconnected / not avaliable
For the last 3 days when dialing our number it says number disconnected or unavalible. As a backup we tried to setup forwarding though the account settings page - this also does not work. any help ?