Problem in Standard program while selecting Index
Hi,
I am using the Standard SAP Program ' RFKKZE00' for creating Payment-Lot in my Custom Program ( Z-program ).
The Std. Program inturn calls 'RFKKZE01' and which inturn calls 'RFKKZE02' via Background Job.
The problem is that the program 'RFKKZE02' fails in a Select Query ( so its not clearing documents in the Payment-Lot )
( SELECT * FROM DFKKOP WHERE ABWBL EQ PAR_OPBEL
AND ( WHANG EQ '000' OR OPUPW NE '000' )
AND AUGST EQ SPACE )
stating ' An SQL error occurred when accessing a table '
( DBIF_RSQL_SQL_ERROR ).
The problem happens only in testing server where the select query fetches data from DFKKOP using Custom Index ( Z-index ) wherein in the Pre-Integration server, the select query uses the Std. Index for fetching and the program is working fine.
I am really confused why the program uses Different Indexes in Different Servers.
The order of the fields in the Select Query matches the order in the Std. Index ( as I said it happens in Pre-Integration Server )but it is not matching with the order of the Z-index ( still the program uses this Index in Testing Server & fails ).
Please Help me to solve this Issue.
Regards,
Yogesh.
Hi Volker,
We couldn't check the Index with which that particular Select query in the standard SAP program is using to fetch the data from DFFKOP table in Production.
In pre-integration environment wherein the program is getting executed successfully the Standard Index '3' is being used.
In testing environment, the query uses one of the Z-indexes ( the program fails ) for the same query.
The order of the fields in the select query :
MANDT
ABWBL
WHANG
OPUPW
AUGST
The order of the fields in the Standard Index ( 3 ) :
MANDT
ABWBL
AUGST
WHGRP
The order of the fields in the Z-index :
MANDT
AUGST
VKONT
BUDAT
AUGBD
Regards,
Yogesh
Similar Messages
-
Need to supress a ALV display for a standard program while submiting
Hi ,
I am trying to suppress an ALV display from a standard program which I am submitting though my Z program .
Please kindly help me on the same.
Thanks and Regards,
SankhaHmmmm... I suggest copying the code of RM08RELEASE to your program, if cannot then copy the program to a Z program without copying the includes.
Now in the copied code comment
PERFORM alv_list USING release_auto
CHANGING tab_arbkp
tab_arseg
tab_released_arbkp.
and u can use the 3 tables :
tab_arbkp
tab_arseg
tab_released_arbkp
in your code. -
How to pass standard program selection options to custom program?
Hi... i want to use standard program select-options in a custom program.. actually in a custom program i'm using one standard program and one custom program. standard program contains selection scren. i want to use that selection screen in custum program.
can anybody please provide solution for this.
looking forward for ur updatesfirst you must find where the selection screen logic is written in standard one.once you get this details than you may Include the same screen and include program in your zprogram.and here your work is not finished you may need to do some change apart from copy all this details.
Amit. -
What are the SAP standard programs?
Hi PM Guys,
I have a question that is as below:-
We have the following Master Data:
1) Functional Location
2) Equipment
3) Equipment BOM
4) Counter
5) Catalog Profiles
6) Task List
a) General Task List
b) Equipment Task List
7) Maintenance Plans
a) Time Based
b) Performance Based
Can you tell me the SAP standard programs available for the above master data which can be used for data migration of the above master data from the flat files into SAP system.
Thanks in Advance,
Vijaya KrishnaHI
you can find the standard program while executing the T code LSMW itself.
type LSMW ,specify the description in the next screen select the <b>Standard batch or direct input</b> under the heading you can find the in the field <b>object</b> use F4 to find all the standard programs in SAP
0400 Equipment
0410 Message (IH)
0420 Confirmation (IH)
0425 Measuring point
0430 Measurement Documen
0440 Functional location
0450 Object link
0460 Maintenance plan
0470 Equipment task list
0480 FnctnlLoc.TaskList
0490 Gen.task list
regards
thyagarjan -
Reg:Shortdump in Program while updating Table AUSP
Hi All,
i have a problem in the program while updating the AUSP table am using the function module
CLVF_VB_INSERT_CLASSIFICATION
in that function module the short dump occurs while try to insert ausp in the following line,
insert auspc_v1 client specified from table auspcv1.
the problem is while updating transaction CL20N the update has been failed thats why i have tried to manually insert in AUSP even though its short dumping.
i have maintained all the necessary settings in cl24n.
could you please resolve my issue.I am not sure of the Tables and there uses but it looks like you need to update SAP tables through standard transaction which is failing.
Are there any data inconsistancies for the data that you are trying to maintain?
Also maintaining the SAP table manually is not advisable as ther could be some other dependant/related tables which also might require updation.
By the way what is the Message diplyed in ABAP dump it will definately help in solving the problem.
Regards
Shital -
Error while passing Free selections to standard program
I am submitting a standard program fagl_account_items_gl and trying to pass the free selections of the LDB . However it does not seem to work for the program fagl_account_items_gl.
Listed below is the code i am using. Need help on this one.
REPORT ZTEST MESSAGE-ID ab
LINE-SIZE 180
LINE-COUNT 80(1)
NO STANDARD PAGE HEADING.
START-OF-SELECTION.
TYPE-POOLS rsds.
DATA: trange TYPE rsds_trange,
trange_line
LIKE LINE OF trange,
trange_frange_t_line
LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line
LIKE LINE OF trange_frange_t_line-selopt_t,
texpr TYPE rsds_texpr.
DATA trsparams TYPE TABLE OF rsparams.
DATA r_bukrs TYPE RANGE OF t001-bukrs.
DATA rsparams LIKE LINE OF r_bukrs.
trange_line-tablename = 'SKB1_FS'.
trange_frange_t_line-fieldname = 'MITKZ'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = 'D'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
trange_frange_t_line-fieldname = 'MITKZ'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = 'K'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
APPEND trange_frange_t_line TO trange_line-frange_t.
APPEND trange_line TO trange.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
rsparams-sign = 'I'.
rsparams-option = 'EQ'.
rsparams-low = 'CH99'.
APPEND rsparams TO r_bukrs.
SUBMIT fagl_account_items_gl
VIA SELECTION-SCREEN
WITH FREE SELECTIONS texpr
WITH sd_bukrs IN r_bukrs
WITH rldnr EQ 'ST'
AND RETURN.After days of fighting this I finally have it working
I did not need the fields table sent.
SUBMIT fagl_account_items_gl
WITH SELECTION-TABLE lt_select
WITH fs_dyns EQ le_dyns
WITH fs_num EQ '2'
AND RETURN.
I always have 2 fields so I just hard coded the number 2
Fill ranges for dynamic selections
le_ranges-tablename = 'BSIS_FS'.
le_frange-fieldname = 'PROJK'.
le_selopt-sign = 'I'.
le_selopt-option = 'EQ'.
Convert to internal number
CALL FUNCTION 'CONVERSION_EXIT_ABPSP_INPUT'
EXPORTING
input = le_alv-posid
IMPORTING
output = lv_pspnr.
le_selopt-low = lv_pspnr.
APPEND le_selopt TO le_frange-selopt_t.
APPEND le_frange TO le_ranges-frange_t.
APPEND le_ranges TO le_dyns-trange.
REFRESH: le_frange-selopt_t,
le_ranges-frange_t.
le_ranges-tablename = 'FAGLFLEXA_FS'.
le_frange-fieldname = 'RFAREA'.
le_selopt-sign = 'I'.
le_selopt-option = 'EQ'.
le_selopt-low = le_alv-fkber.
APPEND le_selopt TO le_frange-selopt_t.
APPEND le_frange TO le_ranges-frange_t.
APPEND le_ranges TO le_dyns-trange.
Fill dynamic selections table
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = le_dyns-trange
IMPORTING
expressions = le_dyns-texpr
EXCEPTIONS
OTHERS = 0.
Set Clauses for select
le_where-tablename = 'BSIS_FS'.
CONCATENATE '(' 'PROJK' 'EQ' '''' lv_pspnr '''' ')'
INTO le_wherecls
SEPARATED BY space.
APPEND le_wherecls TO le_where-where_tab.
APPEND le_where TO lt_where.
le_where-tablename = 'FAGLFLEXA_FS'.
CONCATENATE '(' 'RFAREA' 'EQ' '''' le_alv-fkber '''' ')'
INTO le_wherecls
SEPARATED BY space.
APPEND le_wherecls TO le_where-where_tab.
APPEND le_where TO lt_where.
APPEND LINES OF lt_where TO le_dyns-clauses.
I hope this helps.
I did not include the code for building the SELECTION-TABLE that was the easy part. -
Problem while copying standard program to Z Program
Hi SAP Forum,
I have copied one standard program to Zprg. and there are TWO Screens in standard program (100, 200). But in my Zprg only 200 copied, when I'm trying to copy Screen 100, it shows an error, "Screen already exists"..
And also, I've created one "Z" Transaction Code for my same program. In that, I've mention, Screen Number: 100.. When I execute "Z" Transaction, the Screen 100, will come as selection cretria is on that, and when I click on Execute Button, it comes back in SAP EASY ACCESS Screen (Initial Screen). But I want that, Screen 200 will come when I click on execute Button in Screen 100.
How can I resolve this?
Thanks
DevinderHi ags,
Thanks.. I've already changed the TCODE from code and second thing about Include, I've also changed the name of BOTH (two Includes) and it is working fine.. but error still coming...
Generation errors in program
Source code ???????????????????????????????????????? Line 0
Error when generating the selection screen "0100" of report "ZRVBBWULS
and also, I've done only one change in Include, I've added one select-options over there and getting the same error, but if I add PARAMETERS, then its executed successfully. But I want add a "Posting Date" as SELECT-OPTIONS.
Pls try to resolve this..
Thanks a lot in advance
Devinder
Edited by: Devinder Pawha on May 13, 2010 2:02 PM -
Problem in JComboBox selected Index change
hi all
Can anyone send me the code for Loading values to JComboBox & then i want to Display Particular value for that Loaded value in JTextField.
Ex:
I loaded category cade for JComboBox & when JComboBox selected index change the particular category name should appear in JTextBox
ThankzHi,
I am sending a sample program.
Try this, if u had any problem just mail me at [email protected]
import javax.swing.*;
import java.util.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
public class SwingDemo extends JFrame implements ItemListener
JComboBox combo;
JTextField text;
Properties props;
public SwingDemo() throws Exception
super();
combo=new JComboBox();
text=new JTextField();
addItems("combodata.dat");
setLayout(new GridLayout(2,1));
add(combo);
add(text);
combo.addItemListener(this);
setTitle("JComboBox - Demo");
setSize(400,400);
setVisible(true);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pack();
public static void main(String[] args) throws Exception
new SwingDemo();
public void addItems(String str) throws Exception
FileInputStream fis=new FileInputStream(str);
props=new Properties();
props.load(fis);
Enumeration e=props.propertyNames();
while(e.hasMoreElements())
combo.addItem((String)e.nextElement());
public void itemStateChanged(ItemEvent ie)
//System.out.println(ie.getSource());
//System.out.println((ie.getSource()==combo));
if(ie.getSource()==combo)
System.out.println(combo.getSelectedItem());
System.out.println(props.getProperty(combo.getSelectedItem().toString()));
text.setText(props.getProperty(combo.getSelectedItem().toString()));
pack();
For the above program I took data from a file instead of the database
You have to create that file to execute the above program with the name combodata.dat and the values as follwos
1=BSc
2=BCA
3=BA/BCom
4=MSc(IS)
5=MSc(Cs)
6=MCA
7=BE/BTech
8=MBA
Bye...
Thanks & Regards,
Santhosh Reddy Mandadi -
Error While executing the Standard Program RSEINB00
Hi,
I am trying to execute the Standard Program RSEINB00.
The input parameters for this program are
1. File path along with name
2. Port.
File path I am giving the application server directory along with the filename.
For port. i have created a port in WE21.
For both outbound parametes I selected the Physical directory and gave directory name and file name in both tabs and saved the port definition.
Now I am passing the port to the RSEINB00 program.
it is giving an error File cannot be opened.
Can any one help me on this. Can someone guide me how to use RSEINB00 to read file from application server.
thanksHi,
I think,you missed out some steps while creating Port.so please follow the below steps to resolve the issue.
we21->click on your port number->outbound file tab->function module: EDI_PATH_CREATE_MESTYP_DOCNUM.
outbound file: give file name .txt.
and give the physical directory : /usr/sap/.......................................txt and save.
and click on 'ACESS TEST' button and check any error is coming.
go to outbound trigger tab-> give RFC destination name which we have created under a port in SM59.
and one more important thing is check your unicode status is active or not.
.Please get back me .if any issues.
Kiran J -
I am having a problem when I try to select a photo or itunes song in Imovie or other programs. I get a window with grey lettering that says: "Open Itunes to populate this list" or "Open iphoto to see photos from your iPhoto library in this list. I have tried relaunching programs and nothing appears. Seemed to start happening a while back after one of my system upgrades.
After a a lengthy conversation with Apple Tech. ($20), my problem seems to be solves. The Iphoto problem solved by trashing the plist file. The Itunes was more involved. We had to create a new Itunes folder and import the files into the new folder; and then import the playlists.
-
ERROR while checking standard program for SAP NOTE 175482(QM)
HI,
experts
i am implementing sap note 175842 QM MODULE .
My note is successfully implemented ,for that i created standard program RQEVAC50 USING ACCES KEY.
but in se38 report comes like this
REPORT RQEVAC50.
REPORT RQEVAC50 MESSAGE-ID QA.
so while checking error comes boz 2 report hedaing is there .
I WANT TO DELETE FIRST ONE BUT IT CANT.
I chose activate anyway but while releasing request it gives error.
THANKS
AJAY.hi
error is 'OBJECT REPS RQEVAC50 does not exit create it'**
I CREATED PROGRAM USING ACCESS KEY SO IT DOES NOT ALLOW ME TO CHANGE OR DELETE ANY LINE IN THE PROGRAM.
THATS THE MAIN PROBLEM.
Whwn i created a program RQEVAC50 it is totally blank but while implementing sap note the code comes in my progarm
so there are 2 report hedaing .
THANKS
AJAY. -
Error: While Copying Standard Program FBCJ
Dear Experts,
I tried to copy the standard program because the requirement was to change the menu fuction for save and post.
So i copied the T.Code FBCJ to ZFBCJ. It Copied Successfully and i assigned the tcode also. But While executing the T code
the system Shows the error message
"System error in routine FI_TAX_GET_TXJCD_STRUCTURE
error code 1 function builder TAX2"
Kinldy help me to resolve this issue.
Waiting for your valuable replies.
Kindly give some ideas.
Thanks and Regards,
Karthik V
Edited by: karthikani on Nov 24, 2010 10:30 AMHi,
are the both client environments hav same version (ECC 6).
In ECC 6 version type X is not allowed.
To avoid this problem,
you need to declare the field of TYPE C.
you need to get the value from Cl_ABAP_CHAR_UTILITIES.
Regards
Sandeep Reddy -
Problem in saving a standard program
hello
I have a problem while making changes to a standard program. We are doing an upgrade of 4.6 C to Ecc 6.0.We are doing SPAU activity now and while putting back a customer modification of standard code done in 4.6C version, i face this problem.
I able to change the standard program, but while saving it, i get an error message "Internal error". I tried debugging it and i understand that it is because of checking some enhancement points related things.
I have not worked in enhancement points; can you please suggest why is this error appearing?
Thank you.Can you tell us how was the customer modification implemented in 4.6c system i.e. User-exit or BAdI etc.
Are you trying to copy the source-code of 4.6c (inside user-exit) into enhancement points.
I have encountered "Internal error" many a times while working with ABAP Dictionary. I cannot tell exactly why it happened, but most of the times when i made changes to multiple fields of views it happened.
In order to temporarily solve the problem, I split my work into small portions & made changes to only one field and saved and activated. That way it worked. May be you can try that too.
Regards,
Saurabh -
Strange problem when copying standard program SAPF100 (transaction F.05)
Hi there ABAP'ers,
I've got a very strange problem I can't figure out :/
I'm doing a copy of a standard program - SAPF100, which stands for F.05 transaction.
I copy it to ZSAPF100 and after launching it, filling a selection-screen with data and F8 I'm receiving a dump
GETWA_NOT_ASSIGNED
Field symbol has not yet been assigned.
The termination occurred in the ABAP program "SAPF100" in "DO_SKC1C".
The main program was "ZSAPF100 ".
The termination occurred in line 253 of the source code of the (Include)
program "SAPF100_SBEW"
of the source code of program "SAPF100_SBEW" (when calling the editor 2530).
and when debugging the place in Zcode where error occurs - really a fs is not assigned, whilst in standard code is assigned.
Why such situation appeared? I just copied the standard program and launched a copy :/ How to deal with that problem?
I will be very very very thankful for a help.
Regards. P.I'm doing the copy:
Components:
Source
Text elements
Documentation
Variants
User interface
Screens
INCLUDEs
Includes:
FROM -> TO
<ICON> Z<ICON>
<LINE> Z<LINE>
FIUUMS40 ZFIUUMS40
RKASMAWF ZRKASMAWF
SAPF100_I1 ZSAPF100_I1
SAPF100_POSTINGS ZSAPF100_POSTINGS
SAPF100_SBEW ZSAPF100_SBEW
SAPF100_SLDATA ZSAPF100_SLDATA
SCHEDMAN_EVENTS ZSCHEDMAN_EVENTS
And still DUMP -
Problem in submiting standard program via job
Hi Experts ,
I have developed programs for creating and posting return lots and payment lots for multiple incoming files. For this i have submited standard program of FPB3 and FPB5 transaction . What happened is , if the child program fails due to some reason for one file , it is not coming back to the mother program and as a result other files remain unprocessed . So for this i tried with submiting the child program Via job so that if child program fails , only that job will fail and the mother program will not fail , so rest files will be processed .
But the problem is the child program (standard program of FPB3/FPB5 ) is not working by this i.e. the lots are not getting created adn.
Awaiting for any respone .Hi,
If you are using Submit via Job, you need to use JOB_OPEN and JOB_CLOSE FM's.
JOB_OPEN : Create a new job and return you the job number which you use in Submit
JOB_CLOSE: Will set the release conditions of the job.
Example:
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
Regards,
Jovito
Maybe you are looking for
-
ABAP Class in WAD 7.0 - what's missing?
Guys, I need some help in calling an ABAP Class from the Web Application Designer 7.0. I've read all documentation about inserting my class and it looks like I'm still missing something. First I checked the class in a Test Query in 3.5. Put it in the
-
Today my blackberry 8830 World Edition randomly stopped showing the next three entries in my calendar. Just to clarify I have the "today" theme. I have also tried the hard restart as well as backing up my calendar entries and deleting and them restor
-
Options Parcel information is invalid -- Issue..
Hello guys, I am recieving the following error in most of the reports which we r pulling from teradata. State: 37000. Code: 10034. [NQODBC] [SQL_STATE: 37000] [nQSError: 10034] The SQL statement has a syntax error. [nQSError: 16001] ODBC error state:
-
Can v6.01 to v7 pdfs be viewed from v8.1.2
I have v8.1.2 and I want to purchase an e-book from an on-line site but do not want to proceed because of the following warning from the publisher "For products available in PDF (Portable Document Format) you will need Adobe Acrobat Reader version 6.
-
Feature: Expose FCSH capability in ASC2.0 compiler
How much work would it be to expose the FCSH (Flex Compiler Shell) capability in the ASC2.0 command-line compiler? Obviously the functionality exists because Flash Builder uses it for fast compile times, but it's not availble from the command-line (