Extra Selection Critieria in KSB1 Transaction

Hi All
One of my users requested to run KSB1 transaction ( Display actual cost line items for cost centers) with the Internal Orders in the selection criteria. Currently we donu2019t have internal orders in the standard selection and in additional selection criteria. I was wondering if there is a way we can add that field into the selection criteria, or if I have to build a query what tables or LDB should I be using?
Any advice would be greatly appreciated.

TG,
You might want to use a query on BSEG or a derived table thereof to get what you are looking for.
Or, alternatively, you can always get the output for the cost centers and then filter on the output screen.
Remember to assign points if found useful.
Regards
Gulshan

Similar Messages

  • Regarding KSB1 Transaction

    Hi Everyone,
      when we run KSB1 transaction  forn any variant we display the fileds in grid . I need to download that fields where this download option is available on selection screen .how to download those fields to a local file.
    i need to change the transaction with download option ..
    which internal table i need to pass to download Fm.
    Please do the need.
    Thanks & Regards,
    Nagalakshmi.

    In the menu there is an option LOCAL FILE(Ctrl + shif+ F9). >>click >>>spreadsheet>>>Directory : {where u want to save}
    File Name : name of the file ****.xls.
    Now for ur second query  change the transaction with download option..can u  Explain  more what do u exactly want??? Do u want add exit here??

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • Field missing when running the KSB1 transaction in Back ground

    Hi,
    With the help of  Zreport am executing the KSB1 transaction in back ground and after execution of KSb1 am retrieving the report output and am displaying.
    Issue is when am running Zreport in back ground the the output of KSB1 is giving the output by hiding the last column, where as am running Zreport in foreground the output of KSB1 giving the output with out hiding last field. Please guide me why the variance is coming in output when am running the Zreport in background........ and please advise me to rectify the problem....

    In background it cant be displayed if report width is more than 255 chars. Check line size.
    Satya

  • How to do screen enhancement in the selection screen of CS15 transaction

    Hi friends,
    I have a unique requirement where I have to do screen enhancement in the selection screen of CS15 transaction to get the top level material,
    Can you please tell how this could be achieved ?
    Looking forward  your valuable inputs.
    Thank You.
    Regards,
    S Sadhya

    Hi,
    This can be achieved by using user-exit. Specifically screen-exit. Check these two exits related to transaction CS15. They may be helpful to you.
    <b>
    PCSD0002      BOMs: Customer fields in item  
    PCSD0003      BOMs: Customer fields in header
    </b>
    Let me know if you need any other information.
    Regards,
    RS

  • How to add Material type(MTART) field on Selection screen of MB5B transaction code.

    Hi All,
        Please let me know how to add material type field on selection screen of MB5B transaction
    For that i made copy ZMB5B_COPY of original report RM07MLBD.
    Thanks in adv .
    Samadhan

    Hi,
    Once you copied the standard report to Z report, you can MTART in selection screen like below.
    and in order to inlcude the same in programming logic, we have three option.
    1) Check all related select queries, and include MTART in SELECT query using inner join with MARA.
    2) In START-OF-SELECTION event fill MATNR as shown below.
    3) If user entered any value in MTART, then before displaying the report just check material type of each material in the final internal table(which is used to display report) delete enteries from internal table accordingly.
    START-OF-SELECTION.
    IF MTART[] IS NOT INITIAL AND MATNR[] IS INITIAL.
        SELECT MATNR FROM MARA INTO MATNR-LOW WHERE MTART IN MTART.
          MATNR-OPTION = 'EQ'.
          MATNR-SIGN = 'I'.
          APPEND MATNR.
          CLEAR MATNR.
        ENDSELECT.
    ENDIF.
    The above option has one limitation: The selection screen variables has some restriction, please read the below thread.
    Facing problem in select statement dump DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S
    Getting Dump in the select query has more than 2000 entries
    Hope this will work for you .
    regards,
    Rajesh Sadula.

  • User exists for changing the selection screen of the transaction CS11

    Hi,
    I want to change the selection screen of the transaction cs11 and modify the ALV output.
    I searched the old forums but not got satisfactry results.
    I want to change the plant and material from the parameter to the select option.
    i dont want to copy the transaction for the zcs11.
    any suggestion on this ?
    Regards,
    udupi

    one more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?

  • Query Selection Critieria

    Hi experts,
    My users would like the query selection critieria to allow them to choose a particular selection or select all results
    For example:
    Where t0.slpname = [%0]
    will allow them to select a particular salesperson for the query results. Is there a way to code it so that they choose a particular salesperson OR select all salespersons?
    Thanks for your help!
    Jane

    Hi Jane Liang ,
    Try this,
    Select * from oslp T1 where (t1.SlpCode = [%0] or [%0] = '')
    Once you execute this query it will ask you to choose the value , dont choose anything just give OK query will give all the result.
    Edited by: Prasanna s on Mar 11, 2011 5:15 PM

  • Add certain field at dynamic selection screen in FBL3N transaction

    Hello Expert,
    I would like to add entry date field (BKPF-CPUDT) at dynamic selection screen in FBL3N transaction.
    So, I went to SE36 transaction and changed something in selection view for SDF.
    However, it didn't work.
    Is there anyone who knows how to add a certain field at dynamic selection screen in FBL3N transaction?
    Thanks in advance.
    BR,
    Chris Kim

    Hi
    Refer to the following thread
    Additional field selections in FB03
    It talks about adding Header Text field
    You should be able to add entry date similarly
    Regards
    Sach!n

  • Student number as selection criteria for FICA transactions

    Hi experts,
    Is it possible to have the student number as a selection criteria for FICA transaction, for example for payment assignment, among others?
    Do you have a coding example?
    Regards.

    FUNCTION CMAC_EVENT_0210.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_SELTAB) LIKE  ISELTAB STRUCTURE  ISELTAB
    *"  TABLES
    *"      T_SELTAB STRUCTURE  ISELTAB
    *"  EXCEPTIONS
    *"      UNKNOWN_SELECTION
      DATA: ld_student12   TYPE piqstudent12,
            ld_partner     TYPE bu_partner,
            ld_student(12) TYPE n.
      IF i_seltab-selfn <> c_student12.
        RAISE unknown_selection.
      ELSE.
      to get leading zero's move the student number in a NUMC-field first
        ld_student   = i_seltab-selcu.
        ld_student12 = ld_student.
        CALL FUNCTION 'HRIQ_CMACBPST_SELECT_WITH_STID'
          EXPORTING
          IV_STOBJID                     =
            iv_student12                   = ld_student12
          XREAD_BUFFER                   = 'X'
          IMPORTING
            ev_partner                     = ld_partner
          EXCEPTIONS
            student_not_found              = 1
          INVALID_PARAMETER_ASSIGN       = 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.
        ELSE.
          i_seltab-selfn = 'GPART'.
          i_seltab-selcu = ld_partner.
          CLEAR: i_seltab-xsfex,
                 i_seltab-selco,
                 i_seltab-selwu,
                 i_seltab-selwo.
          APPEND i_seltab TO t_seltab.
        ENDIF.
      ENDIF.
    ENDFUNCTION.

  • Selection Tools (Polygonal Lasso, Pen Tool) adding extra selections

    Ok, so I'm having a weird problem in Photoshop CS4 for Mac OS X on 10.6.3. When I try to make a selection and complete the selection Photoshop is just randomly adding extra selections. Here is an example:
    Above, I made a pretty straight-forward selection with the Pen Tool, nothing fancy or anything.
    And then, when I right-click and Make Selection I get this crazy selection above that is no where near what I had originally selected.
    It does this with the Polygonal Lasso Tool as well. I've tried reseting the tools, restarting Photoshop, and restarting the whole Mac and the problem won't go away and now it's starting to drive me crazy.
    Anyone have any idea on what is causing this and how to fix it? Please and thanks!

    I wasn't sure how to search for the problem, and anything I did find didn't offer a solution. If you could point me to some of these posts that would be awesome.  Thanks.

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

  • Add a New Field to Selection Screen of VL10 Transactions problem

    Hello,
    i have tried to add a selection field in the VL10G. I have used the docu from Gaurav Jagya (Thanks to Gaurav) an followed the steps. Here you can find the docu: Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07c282f-e2b4-2c10-e4b3-a314fc17b6a1]
    In the Step 2 , Point 4 i declare the Select option ST_MTART and use it later in Step 5  in the form USEREXIT_SELECT_OPTIONS_TRANSF.
    Step 2.
    4. Write the declaration of new select-option inside include ZV50RSEL_MTART.
    DATA: V_MTART TYPE MARA-MTART.
    SELECT-OPTIONS: ST_MTART for V_MTART.
    Step 5. Transfer values from selection screen to range.
    For this step, again an access key is required to modify include V50R_USEREXIT_TRANSF.
    1. Open include V50R_USEREXIT_TRANSF in change mode. It will ask for an access key. Enter the same and proceed.
    2. Write following line of code inside form USEREXIT_SELECT_OPTIONS_TRANSF:
    CX_SELECT_OPTIONS-MTART = ST_MTART[].
    When i start the VL10G it works fine, but when i start another VL10* transaction i get a dump. Example VL10:
    Runtime Errors         SYNTAX_ERROR
    Date and Time          20.04.2010 13:54:00
    Short text
         Syntax error in program "RVV50R10C ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLV50R_PRE" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program "RVV50R10C " in include
          "V50R_USEREXIT_TRANSF " in
         line 18:
         "field "ST_MTART unknown. .."
    It dumped, because the form V50R_USEREXIT_TRANSF is used in EVERY VL10* transaction and the select-option is declared ONLY in my Z-include.
    Is the someone out there, who has solved the problem? Is the an error in the docu or am i wrong?
    Thanks!
    Andreas

    Has there been any further information on this issue in this or any other threads. I am encountering the same issue as identified by Andreas.
    Thanks,
    Brian

  • Select in read only transaction mode / insert in write mode

    hello,
    i have a following question: i have 2 db, one is rdb and one oracle
    im extracting data out of table out of rdb and inserting them into oracle via OWB;
    however this is run in read-write mode and causes locks in rdb; the only way to prevent locks is to run a select statement that accesses rdb in 'read only' transaction mode;
    my question is: is this possible to split up the select and insert statements of oracle into 2 different transaction modes, so that select statement is run in 'read-only' mode and insert in 'write' mode?
    i appreicate tips on how this could be achieved
    thx
    rgds

    Hello,
    is this something like:
    insert into oracle_table (select * from rdb_table@rdb_link);
    Then it is easy, you just need to use an sql init file for your OCI Service. Create a file, e.g. sql_init.ini that contains this line:
    declare transaction read only;
    Then alter your service so that it sees the sql init file, e.g.:
    SQLSRV> alter service <your OCI service> sql_init_file sql_init.ini
    The service owner must have the privileges to read the file. You need to restart the OCI service.
    Then a statement of the above kind results in a read only transaction on Rdb side, and the insert on Oracle side is done.
    I hope your SQL/Services version is a recent one (actual version is 7.3.1), because of this (from the SQL/Services Release Notes 7.2.0.1):
    5.4.25 Declare Transaction in SQL Init File Being Overridden
    In releases of OCI Services for Oracle Rdb prior to 7.2.0.1, if a DECLARE
    TRANSACTION statement was executed in the SQL initialization file of a service, it would
    be overridden by a DECLARE TRANSACTION statement executed later by OCI Services
    for Oracle Rdb. Toward the end of the connection setup, OCI Services for Oracle Rdb would
    execute a DECLARE TRANSACTION statement to set the default transaction
    characteristics to be close to Oracle default transaction characteristics. This would supersede
    any DECLARE TRANSACTION statement in the SQL initialization file. Starting with
    release 7.2.0.1, OCI Services for Oracle Rdb recognizes that a DECLARE TRANSACTION
    statement has been executed and will not execute another one.
    Regards
    Wolfgang
    P.S.: It is always better to place Rdb related questions in our communities at https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms . Those are watched by Rdb Engineering and Support. It was by pure chance that I saw this forum thread.

  • Passing dynamic selection parameters for fagll03 transaction

    hi experts,
    im trying to call  a transaction ( fagll03) in my report with the input parameters via selection screen (using SUBMIT ) , but iwant to pass the profit center  values to the transaction fagll03 , but the profit center is in dynamic selection , i just tried with some code , but it is not working, can any one just tell me briefly how to pass the profit center variable to the dynamic selection screen in fagll03. if u have any code please update me , it will be more useful.
    Regards,
    Venkat.

    Look at FM FREE_SELECTIONS_RANGE_2_EX which will build the correct parameter to use in the WITH FREE SELECTION option.
    First read Abap documentation at SAP online help [WITH FREE SELECTIONS texpr |http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] in [SUBMIT - selscreen_parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] of [SUBMIT|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] (or press F1 on SUBMIT)
    Also look if those notes are relevant for your system
    - [Note 965988 - FAGLL03: 'Dynamic selections' are ignored|https://service.sap.com/sap/support/notes/965988]
    - [Note 1105201 - FAGLL03: 'Custom selections' are ignored|https://service.sap.com/sap/support/notes/1105201]
    Regards,
    Raymond

Maybe you are looking for