Issue calling program from transaction with selection criteria

Hi Guys,
    I ve a issue regarding calling a program from transaction.
There is a standard transaction calling a program  using selection criteria no (say for eq 10 fields, just look at the eg below)
Submit  <table-proname> and return using selection-set <table-varia>
With rbukrs  = i_bkorm-burks    “Comp Code
with  Revent = i_bkorm-event  “ event
with rbelnr  = ibkorm-belnr     “Doc no
with rgjahr = ibkorm-gjahr   “fiscal year
with ruzeit = ibkorm-ruzeit  “time
with rusnam = ibkorm-rusnam “user name
And so on
Now, In my program selection screen  i  ve only three fields, (not all mentioned above)
Parameter:
Rbukrs  type bukrs, “comp code
Rbelnr type belnr, “doc no
Rghar type gjahr.  “fiscal year
Now, i configure this transaction with this program i can able to run this program  from transaction.
Is every thing go right, Pls give your sugg
Points & help awarded.
Thanks in advance.

Hi,
you can call the program using 3 selection screen fields even though it is having 10 fileds, but before calling make sure that there is no mandatory fields (in rest of the 7 fields), then it will runs you report.
reward if needful.
Thanks,
Sreeram.

Similar Messages

  • Call Program from another Program using varient

    Hi...
    How to call program from program with varient....?
    i have used submit but how to pass varient dynamically.
    Regards,
    Chintan

    Hi,
    Use the FM SUBMIT_REPORT
    OR
    SUBMIT <Program Name> VIA SELECTION-SCREEN
                                      USING SELECTION-SET <VARIANT>
                                      AND RETURN.

  • FM to pass one variant to another called program from a calling program

    Hi Gurus,
    Please let me know the name of the function module to pass one variant to another called program from a calling program without displaying the selection screen of the called program.

    you can use fm rs_variant_fetch to retrieve the variant info.
    Check the abap help on the statement submit to get info on how to call a program with variables, or a variant
    Kind regards, Rob Dielemans

  • How can I fill a table of objects from cursor with select * bulk collect???

    Hi All, I have a TYPE as OBJECT
    create or replace type dept2_o as object (
    deptno NUMBER(2),
    dname VARCHAR2(14),
    loc VARCHAR2(13));
    I can fill a table of objects from cursor with out select * bulk collect...., row by row
    declare
    TYPE dept2_t IS TABLE of dept2_o;
    dept_o_tab dept2_t:=dept2_t();
    i integer;
    begin
    i:=0;
    dept_o_tab.extend(20);
    for rec in (select * from dept) loop
    i:=i+1;
    dept_o_tab(i):=dept2_o(
    deptno => rec.deptno,
    dname => rec.dname,
    loc =>rec.loc
    end loop;
    for k IN 1..i loop
    dbms_output.put_line(dept_o_tab(k).deptno||' '||dept_o_tab(k).dname||' '||dept_o_tab(k).loc);
    end loop;
    end;
    RESULT
    10 ACCOUNTING NEW YORK
    20 RESEARCH DALLAS
    30 SALES CHICAGO
    40 OPERATIONS BOSTON
    But I can't fill a table of objects from cursor with select * bulk collect construction ...
    declare
    TYPE dept2_t IS TABLE of dept2_o;
    dept_o_tab dept2_t:=dept2_t();
    begin
    dept_o_tab.extend(20);
    select * bulk collect into dept_o_tab from dept;
    end;
    RESULT
    ORA-06550: line 6, column 39;
    PL/SQL: ORA-00947: not enough values ....
    How can I fill a table of objects from cursor with select * bulk collect???

    create or replace type dept_ot as object (
    deptno NUMBER(2),
    dname VARCHAR2(14),
    loc VARCHAR2(13));
    create table dept
    (deptno number
    ,dname varchar2(14)
    ,loc varchar2(13)
    insert into dept values (10, 'x', 'xx');
    insert into dept values (20, 'y', 'yy');
    insert into dept values (30, 'z', 'zz');
    select dept_ot (deptno, dname, loc)
      from dept
    create type dept_nt is table of dept_ot
    declare
       l_depts dept_nt;
    begin
       select dept_ot (deptno, dname, loc)
         bulk collect
         into l_depts
         from dept
       for i in l_depts.first .. l_depts.last
       loop
          dbms_output.put_line (l_depts(i).deptno);
          dbms_output.put_line (l_depts(i).dname);
          dbms_output.put_line (l_depts(i).loc);    
       end loop;
    end;
    /

  • SQ01 query on LDB BRF with selection criteria on BSEG

    Dear all,
    we built an inofset on LDB BRF (BKPF - BSEG) and a query with selection criteria based on both BKPF and BSEG tables.
    My proble : when the query select a posting fullfilling header data selection criteria but not line item criteria, it still displayed the header data in the layout.
    We set up a filter on the account to hide results where account is blank but we loss the filter exporting the result on access. So if anyome has a better idea, we'll be very thankfull.
    Br,

    Hi Rick,
    What Edan proposed will work as logical AND (both filters on dates will be checked simultaneously).
    Here is a solution.
    You’ll have a user entry variable on 0CALDAY.
    - Create a new variable on 0CALDAY, customer exit, mandatory, not ready for input. This variable should return the date entered in user entry variable.
    - Create a structure in columns.
    - New selection (let’s name it chg). Put there your KF and your Change date char. Restrict it by the user entry var. Hide it.
    - New selection (let’s name it crt). Put there your KF and your Created on date char. Restrict it by the customer exit var. Hide it.
    New formula (let’s name it FilteredAmount):
    ( 'chg' <> 0 ) * 'chg' + ( 'crt' <> 0 ) * 'crt'
    Create a condition:
    FilteredAmount <> 0.
    Best regards,
    Eugene

  • Load from Infoprovider with selection package error

    Hello,
    Requirement: Data transfer from one application to another application in BPC
    Version: BPC 7.5 NW SP08
    Source application: MGMT
    Target Application: LEGAL
    Transformation File: Yes
    Conversation File: Yes for Location Dimension
    Source records: 103 (The data is for only one Location)
    When I run Load from Infoprovider with selection Package (/CPMB/LOAD_INFOPROV_UI package) i am able to load 99 records loading and 4 records are getting error.
    Error Message: 121 ,41513000,,N,AVER,Y,2011,,1030,1030,,,0.0000000
    Line 121 :Dimension:LOCATION member: convert failed in line 121; rejected
    Analysis: Location conversion is already in place and other 99 records are able to success on the same conversion rule. I have checked transformation, Conversion files. When I validate the transformation file with data then also i am seeing same error.
    Note: I am using same package to load data from BW Cube to  MGMT application that time i am able to load without error, When I load the same data from MGMT to LEGAL then this error is coming.
    I appreciate any clue on this error.
    Thanks,
    Sri
    Edited by: sribpc on Oct 10, 2011 8:02 PM

    We are able to solve the problem,
    In the Account Dimension for one of the property we maintained some value with comma in it. That created a bad data and system throwing error.
    After changing Account dimension attribute then the package is working fine.
    Thanks for the support.

  • Come back to calling program from Call Transaction

    Hi,
    From my program, i am calling a standard tcode :
                       Call Transaction           - sy-calld is set in called transaction which deactivates some buttons there.
                       Leave To Trnasaction - sy-calld is not set , but then I am not able to come back to the calling program.
    Please tell me how should this be achieved.
    Thanks

    Hi, shalaxy s
    If you do mean calling the transaction and being able to go back !!
    You can use the following
    For Example :  CALL TRANSACTION 'SE80' VIA SELECTION-SCREEN AND RETURN.
    OR:  CALL TRANSACTION 'SE80' AND SKIP FIRST SCREEN.
    Best Reagrds, AlMaReD 
    Edited by: AlMaReD on Jun 12, 2010 9:47 AM

  • Call Program from another Program using varient via Selection Screen

    I am calling a standard report from my Z Program via Selection screen.
    Is there any way to hide the Execute button that is seen when we see the called program selection screen?

    Hi Shyam,
                      Thanks for the quick reply.
    But my requirement is to show the selection screen of called program as i need to make some values changes in the selection Screen.
    However, the user can accidently click the execute button which i dont want thats why i need to hide the execute button.
    My aim is to change values of selection screen but nto execute it.
    Is it possible?

  • How to remove programs from "open with".

    Recently I installed VM Fusion on my new MBP with SnowLeopard. The annoying issue is that when I right click on a file from SL and select "open with" I get a long list with windows programs that I don't intend to use. Is there a way to remove those programs when I select "open with". Thank you
    Juan

    Juan2009 wrote:
    Recently I installed VM Fusion on my new MBP with SnowLeopard. The annoying issue is that when I right click on a file from SL and select "open with" I get a long list with windows programs that I don't intend to use. Is there a way to remove those programs when I select "open with".
    no, there isn't. this list is generated by the launch services database and you can't control it manually.
    Juan
    Message was edited by: V.K.

  • Call program using submit with variant that changing value

    Hi All,
    I need to call a report with variant and abstract the data back to my current program.
    so far,
    i use following method
    SUBMIT RFITEMAR USING SELECTION-SET 'XXX'
           EXPORTING LIST TO MEMORY
           AND RETURN.
    DATA list_tab TYPE TABLE OF abaplist.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
      DATA: L_ABAPLIST LIKE ABAPLIST OCCURS 0.
      DATA: BEGIN OF L_ASCITAB OCCURS 0, 
                LINE(2048),
              END OF L_ASCITAB.
      CALL FUNCTION 'LIST_TO_ASCI'
           EXPORTING
                LIST_INDEX         = -1
           TABLES
                LISTASCI           = L_ASCITAB
                LISTOBJECT         = list_tab
           EXCEPTIONS
                EMPTY_LIST         = 1
                LIST_INDEX_INVALID = 2
                OTHERS             = 3.
    However, the problem is that i need to get some value from variant 'XXX' and keep changing it.
    I have try function module "RS_VARIANT_VALUES_TECH_DATA" to get the variant details.
    But, it just doesn't get me back all the details of the variants.
    Are there any way i could read the variants in detail? i even try to read LRAW data from table vari. but there are no function module to convert the LRAW to either char or STRING.
    Thanks.
    Edited by: simplekx on Jun 20, 2011 4:43 PM

    You can use the FM "RS_CHANGE_CREATED_VARIANT" to change the variant values for already created variant and the FM "RS_VARIANT_CONTENTS" to get the variant values. Instead of changing the variant values and then passing to the Submit, you can directly pass the values to the Submit through..WITH SELECTION-TABLE seltab or ... WITH p IN sel variant of the Submit.

  • Call Program from an other one

    Hallo,
    I wonder if it is possible to call a standard Programm from my Report without leaving it. I have created a docking container that docks itself on each new Dynpro. Now if i call an extra Programm i don't have the d.container any more. I would like to see the d.container on the Dynpros of the new Programm as well. Is it possible?
    Thank you very much,
    Anton

    Hi,
    SDBILLDL is the std program for transaction VF04. This program is being called by other program as mentioned in the below code.
    submit sdbilldl via job jobname
                    number jobcount
              with p_vkorg = vkor1
              with s_vtweg in so_vtweg
              with s_spart in so_spart
              with s_vstel in so_vstel
              with p_fkdat = fkdat
              with p_fkdab = fkdab
              with p_kunnr in kunnr_sel
              with p_fkart in x_fkart
              with p_lland in x_lland
              with s_vbeln in x_vbeln
              with p_sort in x_sortk
              with p_allea = allea
              with p_allel = allel
              with p_alleb = alleb
              with p_allei = allei
              with p_allef = allef
              with no_faksk = no_faksk
              with p_pdstk = p_pdstk
              with p_samml = 'X'
              WITH P_ANZEI = ANZEI
              WITH P_VARNR = GS_SD_ALV-variant
              and return .

  • Find original calling program or transaction...

    Hello,
    I want to keep a User-exit from running when it is ran from LT23, but I want it to work from LT11. The problem is when the function to confirm the TO is executed in LT23, it does a call transaction to LT11.
    So, in the user-exit SY-TCODE has LT11 in it.
    I have tried using SYSTEM_CALLSTACK and the first program in there is the initiating program for LT11, SAPML03T.
    So, does anyone know a way to be able to find that either LT23 or the program RLLT2300, was the calling program for the CALL Transaction to LT11?
    Any help would be greatly appreciated.
    Thanks,
    Rocky

    Interesting.  The only way that I can think of off the top of my head is to have a "Z" version of LT23 and hence a "Z" version of the program behind it.  Just before calling the transaction LT11, set some flag in a memeory id using the EXPORT statement.  Then in the user exit, IMPORT that flag,  if the value is set, then exit out of the user exit.
    In the "Z" version of LT23.
    data: flag(1) type c.
    flag = 'X'.
    EXPORT flag to MEMORY ID 'WHATEVER'.
    In the user exit function module.
    IMPORT flag FROM MEMORY ID 'WHATEVER'.
    if flag = 'X'.
    exit.
    endif.
    Probably not the best way, but can't think of anything else right now.
    Welcome to SDN.  Please remember to award points for any helpful answers that you might receive.  Thanks.
    Regards,
    Rich Heilman

  • Calling BAPI from VB with ECC 6.0

    I have a Visual Basic 6 application that calls some standard BAPI's in a SAP R/3 system using Frontend 4.6d in order to upload data.  It also calls some custom RFC enabled ABAP to download data.
    We are upgrading to ECC 6.0 with SAP GUI 7.1.
    Can anyone tell me if I can still call BAPI's from VB6 or will I need to upgrade to VB.net?  Are there any changes to references in VB that I will need to make?
    Thanks!!
    Edited by: Jolene Roell on Feb 20, 2009 8:33 AM

    Well I could never figure out a way to call a BAPI from VB6 with ECC 6.  I ended up creating a VB.net dll using the SAP connector to call the BAPIs.  I could then call the dll from my existing VB 6 program.  That cut down on the recoding that I had to do.

  • Calling an R3 Transaction with Variant

    Hi there
    I have just been told that part of our requirements for EP will be to use variants when accessing R3 reports from EP. I will be told the Transaction Code, and the variant, and it would be nice if I could execute the report with that variant as the iview loads.
    I have found a couple of posts which talk about using tcode START_REPORT, and then D_SREPOVARI-REPORT=<REPORTNAME> & D_SREPOVARI-VARIANT = <VARIANTNAME> in the application parameters, but the problem is all this does is load the variant ... it doesn't actually process the first screen, even if I set the option PROCESS FIRST SCREEN to yes.
    I see from the posts that I can create a new report, which calls the required report with the required variant. Is there no other, simpler, way of doing this?
    Any information would be greatly appreciated.

    You're probably missing parameter: D_SREPOVARI-NOSELSCRN=X

  • Problem with Selection Criteria with 2 or statements.

    I have a report with 2 or statements in the selection criteria:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I am just trying to do do a count of records. The details has the record # and am doing a distinct count. If I rearrange this or statement, then I get a different count. The above statement gives me a count of 1136. If I rearrange the statement to:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I only get 192 records. I don't understand why?  Please help.

    Cara,
    When Crystal evaluates an or statement it will stop evaluating after one of the clauses is true. Since the first or clause is returning data, true, it is not evaluating the other 2 clauses. When you change the order I am assuming that the first clause is returning data though different from the original record selection.
    You may want to consider using a command object or stored procedure to generate the filter as SQL should evaluate all the or clauses.

Maybe you are looking for

  • IPod doesn't sync right and iPod freezes

    I personally have an 80gig, and love it so far (I've only had it for about a week). Before that I had an iPod nano 2nd gen that died, but thankfully I had the Best Buy replacement plan on it and I got to replace it free! But my issue is with my mom's

  • Don't see email accounts to change notifications and no notifications for TEXTS.

    I have had carrier issued software release 10.2.1.2977 for awhile. I noticed now that under Notifications --> Core Applications there is no mention of any of my email accounts. (But I have no issue receiving or sending email via this Q10). And althou

  • Lightroom CC (2015) will not open

    Installed Lightroom CC (2015) and the app will not open. OS is OS X Yosemite 10.10.3

  • Shutting down Issue + Window 2000

    Hi all I just got my system together everything work fine, load windows 2000 on it without a problem. But when it comes to shut down, my monitor is turn off, everything is black except for my hd led (always on - not blinking or off), the comp seem st

  • Sending E-mail in Marketing Campaign

    Hi We have a requirement where we need to send E-mails to all 'Employee responsible' of customers in Campaigns. However at present system is having a field called 'E-mail address' field which will get the e-mail address from SPRO like below.. SAP Imp