SUBMIT using FREE SELECTIONS

Hello
I have gone through a few threads on this topic, but have not got the answer yet.
I'm trying to trigger transaction WESOUT for some specific values in Dynamic selection from a background program.
This means I would have to use SUBMIT with FREE SELECTIONS.
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.
trange_line-tablename = 'WES_S_FILTER_WERKS_T001W'.
trange_frange_t_line-fieldname = 'WERKS'.
trange_frange_t_selopt_t_line-sign   = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low    = '1054'.
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.
CLEAR: trange_frange_t_selopt_t_line, trange_frange_t_line,
trange_line-frange_t,trange_line  .
trange_line-tablename = 'WES_S_FILTER_MATNR_MARA'.
trange_frange_t_line-fieldname = 'MATNR'.
trange_frange_t_selopt_t_line-sign   = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low    = '000000000000011050'.
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.
SUBMIT rwes_message_out USING SELECTION-SCREEN '1000'
      WITH PA_APPL EQ 'POS'
      WITH SO_SRV EQ '0100'
      WITH PA_MAN EQ 'X'
      WITH PA_FILT EQ 'X'
      WITH PA_DISP EQ 'X'
      WITH FREE SELECTIONS texpr
      AND RETURN.
The problem is, it doesn't seem to consider the free selection at all.
Is this because the called program is not attached to an LDB?
Does SUBMIT with FREE SELECTIONS work only with LDB?
Is there any other method to execute programs with dynamic selections in the background?
CALL TRANSACTION? the BDC recording doesn't seem to work.
Can you pls advise.
Thanks!
Arthi
<Can this be moved to the ABAP General forum. I posted this here by mistake.>
Edited by: Arthi N on Feb 3, 2012 12:51 AM

Hi Tamas,
Yes, this report transaction has a 'Free Selection' button on the toolbar that dynamically generates the related dynamic selection fields based on the service implementation (a parameter on the sel scrn) selected on the main selection-screen.
I believe this is already set up in the config for Trade Outbound Framework.
The program uses function module WES_GET_FILTER_OF_APPL to derive the structures that correspond to the selected service and also the usual function modules from Fgroup SSEL to build a tree for the user to input the values for the dynamic fields.
You may not be able to see this transaction as it is IS-Retail specific I guess.
If SUBMIT with FREE SELECTIONS can be used only for Pgms with LDB, then I guess this wont work.
Is there any other way?
Thanks
Arthi

Similar Messages

  • How can I use "Free Selection" in Dunning?

    Hi,
    I am trying to generate the Dunning notice for only Customers that have the Dunning Area Code as 01. For that I am using the 'Free Selection". I have selected the Customer master and then the dunning area and didn't checked the Exclude box and then in  "Values" I have mentioned the Dunning Area Code as 01. But, System is not picking it up so what shall I do. Also, I have some questions in mind:
    1) Why there are two sections of 'Values" field?
    2) What is the process or steps to 'Exclude' the data?
    3) How can I use Dunning groups?
    Please Help.
    Thanks in advance...
    Regards
    Nitin

    Thanks done...
    Regards
    Nitin

  • Dunning Free Selection issue

    Hi Gurus,
    In T-code F150, I am excluding certain FI doc types from dunning run using free selection . But when the dunning proposal is finally generated, I do still find some of the the same doc types in there (which were deliberately excluded).
    What could be the reason for this ?
    Regards
    Harpreet

    Hi,
    Have you ticked exclude check box in free selection and secondly have you selected BSID-BLART field?
    In case both the above things are maintained, please log off the system and login again.. Try once again..
    Regards
    Gaurav

  • F110 payment run free selections

    Hi,
    I am doing a payment run with free selection. The 'parameter' has vendor and customer accounts, and in 'free selection' I select some groups of vendor (LFA1-KTOKK). The problem is that the proposal takes some vendor which not are includes in the parameter, neither in the group of the 'free selections'. It takes this vendors because they are related in the master date of the customer.
    My question is: should they have be excluded by the free selection?
    I think they should, but I have doubts because is related with the customer. If they should, I have to look for some notes.
    thanks,
    Cecilia

    Yes, you can exclude them from Payment by defining in "Free selections" with Exclude values ticked.
    In Parameters itslef, instead of giving a range, you can als give the Vendor or Customer numbers by clicking on "Multiple selections" arrow mark.
    If your requirement is to aviod few vendors / Customers from the payment list, you can use Free selections.
    Thanks

  • F110 issue only when I enter parameters in Free Selection

    Hi,
    When I run F110 for a particular vendor by giving the Vendor number, the document for which I want to make the payment is getting picked along with 100 other documents. To prevent all documents from being picked in the proposal, if I specify only the document number which I want in the Free Selection, the proposal does not contain any document. That is, the document which was picked along with other documents when I did the Proposal run without any parameters in "Free Selection" is also not getting picked up now in the Proposal created when I explicitly specify the document number in Free Selection.
    Let me know the possible reason for this issue. I have used Free Selection number of times before in F110 but never faced this issue.
    Rgds
    Sandeep

    Hi Sandeep,
    In all probability, I can think of this only that, instead of selecting include you have selected exclude in free selection.
    Because with same parameters and w/o Free selection, when you are getting the required document along with all other document, then there is no reason why you will not get if you enter the Document no. in free selection with same parameters.
    Can you please check.
    Thanks & Regards,
    Kavita

  • HT5622 I want to use free apps on my Ipad and do NOT wish to submit a credit card to Itunes.  My Apple Id works, but won't let me migrate past the credit card phase in itunes.  I don't wish to sumbit or use a credit card because I will not make purchases.

    I want to use free apps on Ipad 2, but it continually asks me to submit a credit card in Itunes.  I do not wish to purchase anything apps or music.  I am only interested in free apps.  If I were to make purchases, I would use a prepaid card like an itunes card or an app card, but NEVER a credit card.  I can't seem to bypass this option of using a credit card and need to.  I have another Ipad 4 and have never needed to use my credit card to migrate past itunes to use any apps.  How do I get past this credit card request and still use my ipad 2.  According to my Ipad 2, if I don't plug in a credit card, I can't even use free apps which is stupid.

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • Using a Select list with Submit

    I am trying to use the select list with Submit on my page.
    I have 3 select lists.
    On the first one,I am showing the list of all jacks.
    When the user selects a jack from the first list, I want to show all the jacks except the one which was selected.
    When the user selects a jack from the second list, I want to show all the jacks except the ones selected in the first list and the second list.
    I have created the select lists with submit and then I have put the query for getting the jacks. I created an unconditional branch. I am also passing the variables so that I can set the values of the items on submit.
    I also created a computation as mentioned in one of the OTN discussions, and have mentioned the value of second list to be calculated from the first and 3rd from first and second.
    But after clicking the first select list, I am losing all the existing values on the first page. I wonder what I am missing here. Can anyone hellp?
    Thanks,
    Gargi

    Gargi,
    In this case using 'select list with redirect' makes more sense rather than with SUBMIT. So change all the select lists to 'select list with redirect' (it redirects to same page inserting 'select list' value session state).
    Now for the 2nd select list query add a condition in where clause like
    WHERE sl_col != :P1_SL1And for the 3rd select list query add a condition in where clause like
    WHERE sl_col NOT IN (:P1_SL1, :P1_SL2)Hope it helps :-)
    Cheers,
    Hari

  • How to use SELECTION-SET with FREE-SELECTIONS?

    Hi,
    how to use SELECTION-SET with FREE-SELECTIONS?
    Regards,
    Vinay.

    Check http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm

  • Select list with submit using on a dynamic report

    Hi! I'd like to know how can I create a Select list with Submit using the HTMLDB_ITEM API.
    I know there's an API named HTMLDB_ITEM.SELECT_LIST_FROM_LOV(), but I'd like to know how can I reproduce in there the submit everytime the user changes a value.
    Thanks!

    Hi! I've discovered there's a parameter on this function that allows me to include a javascript like the example below:
    select HTMLDB_ITEM.SELECT_LIST_FROM_LOV(3, ctr_id,'LOV_COUNTRIES','onChange=javascript:doSubmit()','NO)
    from XXXX;
    The thing is I don't know how exactly this javascript:doSubmit() works, because it works different than creating a select list with submit item.
    If I create on a page a simple "select list with submit" item, and if I run the page, after changing the value of the select list it refreshes the page but it doesn't erase the values inserted on the other items. But if I have this HTMLDB_ITEM.SELECT_LIST_FROM_LOV function, after changing the value of the select list it refreshes the page but it erase the values inserted on the other items and recovers the old values..
    I really need your help on this.
    Thanks in advance :-)

  • What is the free selection use in app ?

    what is the free selection use in app ? can anybody give the answer ?

    If you are referring to the Free Selection tab in the F110, I can tell you how we use it..
    We have payment runs that are seperate from the normal run. By using the Assignment field which has been populated with some unique information such as a reference number, we can use the free selection tab and enter the field name "Assignment" and then key the value that should appear in that field if we just want a payment run to include "only" the items with the value we keyed in that field when setting up the payment run. So if we had the number 0001112 in the Assignment field of certain vendor invoices and we only want to pay those, we select the field name Assignment on the free selection tab and key the value 0001112.

  • Adding a field to free selection option in F110 using BTE 00001820

    Hello,
    I am trying to activate BTE 00001820 so i can add the user name field to the free selection prameters screen in F110.
    Did all the configuration in FIBF, creat a Z for the relevant function.
    I added a break point inside the function expecting to go inside it when i activate the free selection tab in F110.
    No matter what i do the function is not activated.
    I would appriciate your help with the issue.
    Thanks,
    Arnon.

    Hi,
    I think the option is not available.
    VVR

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

  • How to give values to the field in free selection via call transaction?

    Hi,
    I'm using call transaction for transaction "FAGLB03". And i'm passing the values for the fields company code, account number and year using the respective parameter id. But i need to pass the value for Profit center also, which is in the free selction button (near to variant button). I have tried by passing the value thorugh the parameter id. but it is not taking up. The code is as follows:
        SET PARAMETER ID 'ACC' FIELD lv_saknr.
        SET PARAMETER ID 'BUK' FIELD lv_rbukrs.
        SET PARAMETER ID 'GJR' FIELD lv_ryear.
        SET PARAMETER ID 'PRC' FIELD lv_prctr.
        CALL TRANSACTION 'FAGLB03' AND SKIP FIRST SCREEN.
    Here the value of profit center is not filling up in the screen.
    If anybody have any clue please replay back.
    Thanks in Advance.

    Hello Pothiraja
    If the free selection parameter cannot be filled this way you may try to call the corresponding report using the SUBMIT statement. <b>SUBMIT </b>has the option
    ... WITH FREE SELECTIONS texpr
    For details refer to the ABAP keyword documentation for SUBMIT -> selscreen_parameters.
    Regards
      Uwe

  • How can a classic report be filtered using one select item and dynamic action?

    APEX 4.2.1
    DB 11g
    I have a page with 4 reports on it.  The top report is an interactive report and the following 3 are classic reports.  The users would like to be able to use a select list to filter the 3rd report by PO line number without refreshing the entire page.
    After verifying that the report is set to allow partial refreshes, I took the following steps
    1.  Created a PO Line select item (p_po_line_select) in the same report region
    2.  Added p_po_line_select to the report query
    3.  Created a dynamic action on p_po_line_select with 2 true actions
         1.  Set value (p_po_line_select)
         2.  Refresh report region.
    The Set Value dynamic step was not working; I would get an out of memory error at line 2, memory stack error, or the value did not get saved to session state depending on the settings I selected.  I was able to get it working with the following set:
    1.  Action = Set Value
    2.  Set type = PL/SQL Expression
    3.  PL/SQL Expression = :p_field_does_not_exist
    4.   Page items to submit = blank
    5.  Selection Type = Item(s)
    6.  Item(s) = p_field_does_not_exist
    p_field_does_not_exist does not exist as a page or application item which leads me to believe that this is a bug and I am just lucky that it worked.  I would rather know how to do this properly.  Can someone please provide a link to a working example of how this should be done or state which settings are wrong?
    I was able to reproduce the issue in the following app
    http://apex.oracle.com/pls/apex/f?p=4500:1000
    workspace = occam
    user  test/apex1
    Thanks,

    STOP POSTING DUPLICATE THREADS.
    If you have additional information, continue the discussion by posting it as a follow-up on the original thread: What is the proper way to filter classic report using just an LOV select field with dynamic action?

  • F150- Free selection issue

    Hi,
    Dunning run is carried out only for a particular group of Industry (KNA1-BRSCH)  in the transaction F150. It is not even selecting a single customer in the group when we consider it in the free selection. I have not ticked the exclude check box in the free selection tab when I consider the industry wise dunning.
    But when we take individual customers and run then it is giving us the log.
    please provide your inputs on this issue.
    kind regards
    sap student

    Hi,
    Please find length of the field KNA1-BRSCH in table KNA1 using transaction code SE11.
    If industry value you enter in free selection (F150) is less than the character length defined for the field then you have to prefix it with Zeros.
    For example if reconciliation account is of length 10 in table but your GL account length is 8 characters then you have to add two zeros before you GL account while using reconciliation account in free selection in F150 or F110.
    Thanks!
    Raju

Maybe you are looking for

  • RemoteFX on Windows 2008 R2

    Hi, I've read many different articles about RemoteFX and the latest Resource Kit book and am finding it really hard to get a definite answer to a couple of questions. I have a physical HP DL385 G7 server currently running Windows 2008 R2. I plan to p

  • Urgent 508 Question!

    The only thing i need to do is add a title or label attribute to some of the controls. One of the ones to begin with that i am fixing is the ADF tag af:selectBooleanRadio. When i add some text to the shortDesc field of the control, the html is produc

  • Premiere pro CC + Blackmagic Intensity Pro unusable!

    Here we go again, as soon as Premiere pro CC loads the speakers start crackling and the audio for the whole system becomes unmanageble, have to restart computer. So basicaly I can't use PPr CC. Just to let you know, I'm not gonna waist any time on th

  • New iMac using supplied Mac Mouse

    When I was using my iBook with Tiger, I used a Logitech Mouse which had left and right clickers and scroll wheel. Now I'm using the supplied white Mac mouse (single click with scroll) that came with my iMac, and Leopard. With the Logitech, I could hi

  • Album Page not publishing correctly

    I've been using iWeb09 for about a year now for a small gallery. I've never had any problems until I recently tried to create an album page. Setting up the page was easy but I can't get it to publish correctly. Only 2 of the 8 albums appear on my web