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

Similar Messages

  • Dynamic select views for MM01 Transaction

    Hii  Friends,
    I have an issue like i need to dynamically select the views in MM01 transaction from the BDC program
    without selecting that views manually.
    Using SHDB recording i can select the views before recording  and then call those views again
    If i want to select the views from the program how do i do it..
    If there is any way to do this in call transaction let me know plz
    Thanks in advance
    kishore

    BDC is not good for MM01 , go for bapi
    other wise go for  LSMW bapi method...
    Business Object      BUS1001006   Standard material
    Method               SAVEDATA                    Create and change materia
    Message Type         MATMAS_BAPI                 Create and change materia
    Basic Type           MATMAS_BAPI02               Create and Change Materia

  • Dynamic selection screen for FDK43

    HI All,
    I need to add a field (accounting clerk - BUSAB)in the dynamic selection-screen  of transaction FDK43.
    I used se36 to view the current selection-screen view and it does show me the field accouting clerk under functional group  - 04  (Company Code) .The field is ticked for preselect.
    However I am not able to see this field (BUSAB) in the dynamic selection when I run transaction FDK43.
    Any idea on how to make the function group 04 available for selection  ? or maybe even the field in it available for selection ?
    Regards,
    Shital

    hi
    use this link
    Dynamic selection screen
    Cheers
    Snehi

  • 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

  • How to pass dynamic selection to logical databse using ldb_process function

    dear friends,
                         can anybode tell me how to pass dynamic selection to the logical database when i m using LDB_PROCESS function module.  however, in EXPRESSIONS paramter of the function module i m  passing the selecti-option, it is passing their also but when i used more than  two select-option or paramter it throw an exception FREE_SELECTIONS_ERROR.
    SO PLEASE GUIDE ME HOW TO PASS MORE THAN TWO SELECT-OPTION IN LOGICAL DATANSE DYNAMICALLY USING LDB_PROCESS.

    would be nice if you post the answer to all

  • Changing generic selection parameters for Payment advice notes

    Hi,
    I want to add few more generic selection parameters for Automatic Payment advice notes generation on the seletion screen(f110 - rffoavis_fpaym). Please let me know the config settings for doing this.

    Hi Pradeep,
    you can change the sender, when you change the system-field SY-UNAME before calling FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    REPORT Z_TEST_SEND_MAIL.
    h_uname must be a SAP-UserId.
    sy-uname = h_uname.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
         PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    I tried it and it was successfull.

  • 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.

  • Problem in calling FBL3N and passing Dynamic Selection Screen Parameters

    Hi Experts,
    I am calling the standard report FBL3N in one of my reports using Submit.
    I am passing the GLcode, Company code and Open at key Date in the selection screen.
    Now my requirement is that I need to pass the Posting Key as '40' in my report.
    40 signifies a Debit Entry.
    Now the Posting key comes as a Dynamic Selection parameter in the FBL3n program.
    I am unable to determine the name of the field to which I should pass the value 40.
    Please advice.
    Regards

    Hi,
    Each GL Account belongs to Field status group--> table SKB1.
    Each Field Status group will have specific field combinations --> We can get this using the tables TMODO and TMODP.
    Pls design ur BDC depending on the values from these table.
    (Note: I have done same like this for populating values to dynamic fields ).
    Let me know if u need any information.
    Thanks,
    Senthil

  • Dynamic select query for a dynamic table

    Hi Guys,
    i have a requirement where i have print the rows of a sql table which is passes dynamically. Let me walk you through the details of my requirement
    i.e for example i have a procedure ABC which will print the rows of the table by taking the table name as parameter.
    i have the below procedure, but its not printing the rows of the table
    CREATE OR REPLACE PROCEDURE abc(tname varchar2) AS
    BEGIN
    execute immediate 'select * from '||tname;
    end;
    Your help is highly appreciated.
    Regards,
    Nagesh Manda.

    So you want SQL*Plus to display the output? That's generally a bad idea, since the client application has to be explicitly set up to display output in the first place. If you have more than a small amount of data, you can also very easily exceed the buffer size.
    What is the business purpose of this request? Whatever you're trying to accomplish, there's very likely a better option.
    If you go down this path, you're going to need to use the DBMS_SQL package rather than native dynamic SQL. You could probably adapt some of the routines Tom Kyte uses to generate flat files.
    Justin

  • Additional Dynamic Selection criteria for Vendor-Search Tearm 2

    Hi All,
    I need to incorporate additional dynamic selection criteria which references 'Vendor-Search Term 2' in new Z Transaction which is a copy of Transaction S_ALR_87012086.
    help me out how to proceed.
    Full reword points will be given.

    Hello Chetan,
    have you checked note 79166 "MM-SRV Hint: Vendor evaluation for service"?
    Define an evaluation criterion for services in Customizing of the vendor evaluation to be able to use the vendor evaluation also for the services management.The main criterion must contain the determination methods 'C' (determination from the quality valuation of the service) and 'D' (determination from the timeliness rating of the service) in the sub-criteria.
    Kind Regards
    TomT

  • How to save a variant with dynamic selections parameters

    Anybody knows how to save a variant for an ABAP that uses a Logical database with Dynamic Selections?
    Have a look for example to the following:
    SE38 - DEMO_PROGRAM_GET - Execute - Shift F4 - Connection Number.
    How to save 0820 as Connection Number?
    Function Group SVAR seems good but FREE SELECTIONs are not easy to manage...

    Hello,
      I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
    Thanks,
    Venu

  • Dynamic Select in FOR REC IN (SELECT

    Hello Guys,
    We are trying to use dynamic select statement in FOR REC IN based on certain parameter. But does not compile with following error message.
    209/10 PLS-00103: Encountered the symbol "END" when expecting one of the following:
    loop
    Could some one let us know how this can be achieved, may be with an example. Thankis in advance. Here is the sample code:
    IF pPROCESS_BY = 'ALL' THEN
    FOR REC IN (SELECT LSP.HAZMNP_SEQ_NO,
    LSP.LSP_START_DATE,
    LSP.LSP_END_DATE,
    LSP.LSP_OST,
    LSP.LSP_DBI,
    LSP.LSP_DBI_FREQUENCY_PERIIOD,
    LSP.LSP_DBI_RETENTION_PERIOD,
    LSP.LSP_DBI_RETENTION_FREQUENCY,
    LSP.LSP_ENDURANCE_LEVEL,
    LSP.LSP_RDE_PERIOD1,
    LSP.LSP_RDE_PERIOD2,
    LSP.LSP_RDE_PERIOD3,
    LSP.LSP_RDE_PERIOD4,
    LSP.LSP_EXCLUDED_ACTIVITIES,
    LSP.LSP_SEQ_NO
    FROM LEVEL_SET_PARAM LSP
    WHERE LSP.LSP_PROCESS_ALL_NIINS = 'Y'
    AND LSP.LSP_IS_ALL_NIINS_PROCESSED = 'N'
    AND LSP.HAZMNP_SEQ_NO = pHAZMINSEQNO
    AND ROWNUM = 1
    ORDER BY LSP_SEQ_NO DESC)
    END IF;
    IF pPROCESS_BY = 'SPN' THEN
    FOR REC IN (SELECT LSP.HAZMNP_SEQ_NO,
    LSP.LSP_START_DATE,
    LSP.LSP_END_DATE,
    LSP.LSP_OST,
    LSP.LSP_DBI,
    LSP.LSP_DBI_FREQUENCY_PERIIOD,
    LSP.LSP_DBI_RETENTION_PERIOD,
    LSP.LSP_DBI_RETENTION_FREQUENCY,
    LSP.LSP_ENDURANCE_LEVEL,
    LSP.LSP_RDE_PERIOD1,
    LSP.LSP_RDE_PERIOD2,
    LSP.LSP_RDE_PERIOD3,
    LSP.LSP_RDE_PERIOD4,
    LSP.LSP_EXCLUDED_ACTIVITIES,
    LSP.LSP_SEQ_NO
    FROM LEVEL_SET_PARAM LSP
    WHERE LSP.HAZMNP_SEQ_NO = pHAZMINSEQNO
    AND LSP.LSP_SPECIFIC_NIIN = pSPECIFIC_NIIN
    AND ROWNUM = 1
    ORDER BY LSP_SEQ_NO DESC)
    END IF;
    LOOP

    You need to use cursor variables if you want to process result sets based on different query statements.
    For more information and a sample see
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#1510

  • Dynamic Selection screen in FDK43 transaction

    HI,
    The transaction FDK43 has a dynamic selection screen used from LDB DDF .It does not show all selections views in the dynamic selection but when I test the LDB from se36 its shows all the selections in dynamic selections.
    Any idea why it is not showind in the transaction FDK43 ??
    Regards,
    Shital

    Hi,
    LDB fields are nothing to do with Dynamic Selection. It is not necessary that all the field of LDB should be visible in Dynamic Selection. FDK43 is a standard screen and SAP has designed the dynamic selection with limited option. If you want additional fields, you need to do the enhancement with the help of ABAPer.
    Regards,
    Ravi

  • Dynamic Selection Variable for CO report

    Dear Expert,
    I have created cost center report using report painter. I wanted to setup dynamic selection variant with values Current Fiscal Year and period as current -1. With this variant I wanted to generate background job, but noticed that the report which I created does not provide me option "D"  but only provide me option variable "T"
    I am looking option either I get option "D" or If "D" is not possible then how can I achieve above using variable type "T"?
    Looking for your assistance. Thanks in advance!
    B/R
    Prashant Rane

    Hi,
    'D' type of variable can be assigned only to a field of 'date' format. 'Period' is not that kind of field, its format is numeric of 2 digits.
    Regards,
    Eli

  • Selection Variant for Standard transaction

    Hi,
    The requirement is that, On starting a standard transaction the initial selection screen should appear with a default selection variant selected in it.
    Regards,
    Prabaharan.G

    Sudhir,
    Are you sure about that ? I think the the SHD0 transaction creates screen variants only for  "normal" screens, dialog boxes, and subscreens . Not for  List display (and selection screens) ..
    I read this at - <a href="http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639fe015111d396480000e82de14a/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639fe015111d396480000e82de14a/content.htm</a>
    For example try and create a transaction variant for standard transaction FBL1N (make the Company code field Output only) .. is it possible ?
    Will someone please verify.

Maybe you are looking for