Making selection filed in infopackage mandatory

Hi all
I have a requrement to make selection fields in an infopackage mandatory.
Is there any way we can acheive this!!!
Thanks in advance
jP

Hi JP,
In case your datasource is R/3 then write a small ABAP program and update the values in the ROOSFIELD table.
The ABAP program code is as follows:
tables ROOSFIELD.
Update ROOSFIELD set SELECTION = 'M' where
OLTPSOURCE = '<your datasource name>' and
FIELD = '<field on which mandatory selection is needed>'.
Bye
Dinesh

Similar Messages

  • Multiple Data in selection tab of infopackage

    Hello,
    I need to select in a InfoPackage from a InfoObject multiple values, which means
    I need to implement a logical OR in the selection of an InoObject in a InfoPackage.
    How to set up L_T_RANGE ?
    Thank You !
    Martin Sautter

    For dynamis selects this is also helpfull:
    Re: ABAP Selection in infopackage
    THank You
    Martin

  • Use ABAP Routine in Selection Tab of Infopackage

    I am trying to use the ABAP routine in the InfoPackage SELECTION Tab to "EXCLUDE" a value. For example, I want to load all the Material types, except ZUN1. But, when I write in the ABAP, l_t_range-sign = 'E' instead of 'I' or l_t_range-option = 'NE' instead of 'E', I get an error saying these values are not permitted.
    Is there any way to exclude any value from Selection in the InfoPackage?
    Regards,
    Milind Vad

    Hi dear and welcome on board!
    You have two options:
    include everything you want in your IP
    load everything and exclude what you don't want in the start routine in transfer rules
    No other ways...
    Hope it helps!
    Bye,
    Roberto
    ...and please don't forget to reward the answers...it's THE way to say thanks here !

  • ABAP Routine  for 0FISCPER  select data in InfoPackage

    Hi all,
    I need to write a routine which has to return values from the last FISCPER to the current FISCPER in the data selection of the infopackage.
    Do somebody already do it?
    Thks

    Try this:
    Global Declarations
    CONSTANTS: c_1(1) TYPE n VALUE 1,
               c_fiscvarnt TYPE /bi0/oifiscvarnt VALUE 'Z1',  "Use whatever your default Fiscal Year Variant is"
               c_i(1) TYPE c VALUE 'I',
               c_bt(2) TYPE c VALUE 'BT'.
    DATA: l_tabix LIKE sy-tabix,
          l_fiscper3 TYPE /bi0/oifiscper3,
          l_fiscyear TYPE /bi0/oifiscyear,
          l_min TYPE /bi0/oifiscper,
          l_max LIKE /bi0/oifiscper.
    Routine
    CLEAR: l_fiscper3,
           l_fiscyear.
    CALL FUNCTION
      'DATE_TO_PERIOD_CONVERT'
    EXPORTING
      i_date  = sy-datum
      i_periv = c_fiscvarnt
    IMPORTING
      e_buper = l_fiscper3
      e_gjahr = l_fiscyear.
    CONCATENATE: l_fiscyear l_fiscper3 INTO l_max.
    l_fiscper3 = l_fiscper3 - c_1.
    IF l_fiscper3 LT 1.
      l_fiscyear = l_fiscyear - c_1.
      l_fiscper3 = c_1.
    ENDIF.
    CONCATENATE: l_fiscyear l_fiscper3 INTO l_min.
    READ TABLE
      l_t_range
    WITH KEY
      fieldname = 'FISCPER'.
    MOVE: sy-tabix TO l_tabix,
          c_i TO l_t_range-sign,
          c_bt TO l_t_range-option,
          l_min TO l_t_range-low,
          l_max TO l_t_range-high.
    MODIFY
      l_t_range
    INDEX
      l_tabix.
    p_subrc = 0.
    Edited by: Dennis Scoville on Dec 7, 2009 11:07 AM

  • Unable to have field in selection screen of Infopackage

    Hello Gurus,
    I have a small problem,
    I am unable to bring on field in selection screen in Infopackage,
    even thou the object is ticket in DataSources selection option,
    I have noted that the object is of type DEC is it something to do with,
    Or is their any other way to have this object in selection screen of Infopackage,
    Please help me on this,
    Thanks & Regards,

    Bhanu its field type is DEC that’s why its not coming in selection screen in Infopackage .This is a big problem in our Development as this field is SPRIO(Procurement Priority) and we want to restrict this field with conduction SPRIO EQ 1.
    Our DataSource is based on Infoset , Bhanu is it possible to restrict this Field in Infoset writing some code. As their is option in Infoset for CODE we tried this but didn’t work.
    or any other way to restrict this field with 1.
    I really appreciate your reply.
    Thanks Once again.

  • Selection creating in Infopackage

    Hello Gurus,
    I Have a doubt in selection conditions in Infopackage,
    Where i am loading a full upload and i need to pick the data with 100 selection like
    abc/india/01
    abc/india/south/02
    abc/india/03/north
    ....and more , ahere abc/india are common in all the selections......
    can i give abc/india/*    for all
    if not....plz suggest
    regards
    Sandy

    Hi
    The code can be lets say ur field is X
    logic i have used is i will take abc ie first three chars  by x+0(3) and will delete the records apart from that starts wid abc
    delete data_package where x+0(3) ne 'abc'.
                                    so this will only load the records that start wid abc and will delete everyting which start widout abc as the first letter   
    hope this solves ur prbm assign points if applicable
    thanks
    puneet

  • Data selection tab of infopackage

    hi all,
    how do we select data from infopackage if you do not want a certain value?
    I wrote ABAP code to select not as:
    L_t_RANGE-SIGN = 'I'.
    L_t_RANGE-option = 'NE'.
    L_t_RANGE-low = 'Y'.
    But I got errors. Sign 'I' with 'NE' is not allowed. Please advise.
    Linda

    Linda,
            <b>Exclude Option won't work in the Infopackage data selection routine.</b>
    You can use SIGN equals to I only and option values EQ, CP and BT.
    Try append all the required values. use BT as well as eq.
    If you want to permenantly exclude those to BW. you have 3 good options along with Infopackge Selection.
    1. <b>User Exit in the Source System.</b>
    2. Start Routine in the Transfer Structure.
    3. Start Routine in the Update Rules.
    all the best.
    Regards,
    Nagesh Ganisetti.
    *assign points if it helps.

  • "Error Occurred in the Data Selection" while excuting InfoPackage for DataSource(ORT_PA_TRAN_CONTROL)

    Hi,
    Can anyone help me out with the data selection error in InfoPackage, while I was trying to extract the DataSource(0RT_PA_TRAN_CONTRL) to BW./
    I've tried with "Init With Data Transfer" and without the use of Conversion Routines.
    Thanks,
    Taehoon.

    Hi,
    Why your using conversion routine at info pack level?
    Actually conversion routine already defined for info object 0MATERIAL, general tab.
    at info pack level, remove conversion routine MATN1 and don't give any selections.
    First try to run data source at source system RSA3. if it works then later you can trigger at info pack level without any selections.
    Thanks

  • Making Selection Enabled for fields

    Hi,
    I have a infopackage which contains some fields in the data selection tab. My question is: How to make any other field to make Selection Enabled in Infopackage?
    What are the steps need s to be carried out in R/3 and in BI system?
    Thanks In Advance,
    Suman Chakravarthy

    Hi,
    You need to transport the Datasource from R/3 dev-Qat-prd only.
    In BI you can just replicate the datasource and the changes will be reflected.
    If any obkects become inactive in BI sysytem because of  Datasource replication then you need to collect the BI objects also.
    PLease give a try in Dev and QAt system first and then see how it works.
    Just select the fileds in Rsa6 which you need to enable in Infopackage selection screen and then replicate the same datasource in BI ,After that those fields will be available in Infopacakge selection screen.
    Once done with that then transport the datasource from R/3 dev to qat and replicate the same in BI qat and follow the same steps for PRD also.
    Hope it gives you clear idea.
    Regards,
    AL

  • Select option-high as mandatory

    Hi,
    I have a requirement where both low and high field of select -option should be mandatory.
    Code i have written is :
    s_vendor for lfa1-lifnr obligatory.
    But only the low field is made obligatory.How to make high field as oblogatory too?
    Thanks

    hi,
    use the following code....
    tables : sscrfields.
    select-options : s_vendor for lfa1-lifnr.
    at selection-screen output.
      loop at screen.
        if screen-name CS 'S_VENDOR'.
          screen-required = 'X'.
          modify screen.
        endif.
      endloop.
    at selection-screen.
      if sscrfield-ucomm = 'ONLI'.
        if s_vendor-low is initial or s_vendor-high is initial.
          clear sscrfields.
          message 'Fill in all required fields' type 'E'.
        endif.
      endif
    Regards,
    Siddarth

  • Making the field "company code" mandatory

    Hi SAP experts,
    is it possible to make the field : company code, a mandatory one in the initial screen of XD01 transaction (create customer)? How?
    Best regards,
    Bahia.

    Hi Bahia
    How are you? Why no posts for a long time?
    Making COMPANY CODE as a mandatory entry i think it is not possible with customization
    This means you cant achieve this thro OBD2 or OB20 or OVT0
    It is because SAP has given the provision of creating CMR only with general data and sales area data
    With these two levels SD people can do most of their processes  (t codeVD01)
    Similarly SAP has given the provision of creating CMR only with general data and company code data
    With these two levels FI people can do most of their processes( like that FI people also has t code to create CMR only with general data and company code)
    These provisions where it  is applied practically,, i dont know?
    But thro development i think you can make each and any CMR you prepare it should be only with XD01 and that too in that Company code has to be made mandatory
    Check with your technical team
    Regards
    Raja

  • Mandatory data selection field in infopackage

    Hello together,
    Do you know how to mark as mandatory one filed from data selection tab in the infopackage? I would like the load not to start if the field is not filed.
    Thank you,
    Iuliana

    You can update the table RSOSFIELDS for the datasource by writing an abap code like this
    tables ROOSFIELD.
    Update ROOSFIELD set SELECTION = 'M' where
    OLTPSOURCE = '<your datasource name>' and
    FIELD = '<field on which mandatory selection is needed>'.
    Regs
    Gopi
    Assign points if it helps.

  • Making selection field mandatory in invoice overview

    Hi All,
    I am trying to make selection field  (Ship from Location ) mandatory in invoice overview through customizing mode.
    however system is showing mandatorysymbol against field but not throwing any error message when user execute the invoice overview screen without ship from location.
    kindly suggest / help
    Best Regards
    Gaurav

    Hi,
    You can do it simple:
    AT SELECTION-SCREEN ON s_matnr.
    IF s_matnr IS INITIAL.
        MESSAGE e055(00).
    Make an entry in all required fields
    ENDIF.
    (s_matnr: is a field on the selection screen)
    Good luck.
    Gilad Hubara.

  • Making selection of a qualification in /MRSS/PPPT mandatory (MRS 8.0)

    Hello All,
    I have a question about the t-code /MRSS/PPPT that we use to add a qualification into the profile of an employee.
    Assume that the qualification is structured as shown below. MRS 1 is a high level categorization, MRS 1.1, MRS 1.2 etc is the first level breakdown and MRS 1.2.1, MRS 1.2.2 etc is second level breakdown for qualification MRS 1.2.
    MRS 1
    --MRS 1.1
    --MRS 1.2
    MRS 1.2.1
    MRS 1.2.2
    MRS 2
    --MRS 2.1
    MRS 2.1.1
    MRS 2.1.2
    --MRS 2.2
    --MRS2.3
    When selecting the qualification in /MRSS/PPPT, the SAP system will allow me to select the qualification level MRS 1, select a proficiency level and then save the employee profile. In this case the qualification MRS 1 is added to my profile. Also, if I select a lower level qualification (say MRS 2.1.2) and save, my profile gets saved with that qualification as well.
    My question is: Is it possible to prevent selection of higher level qualifications? In other words, can I make the selection of a lower level qualification (MRS 1.2, MRS 1.2.1, MRS 1.2.2 etc) mandatory? In the example above, I intend to not allow anyone to select MRS 1 or MRS 2 and add it to the employee profile. I wish to make it mandatory for any user to select a lower lever qualification (MRS 1.1, MRS 1.2.1, MRS 2.1.2 etc).
    Has anyone done this? Is this possible at all in the standard MRS system..? Please let me know.
    Regards
    Jensibo

    Hi,
      This can be done in two ways:
    1.
    At  selection-screen output.
    loop at screen.
    IF rd1 EQ 'X'.
       if screen-name = 's_erdat-low' or screen-name = 'P_AEDAT'.
       screen-required = 1.
      modify screen.
      endif.
    endif.
    endloop.
    the above code would make the lower value in select-option s_erdat and parameter p_aedat mandatory.
    2.
    at selection-screen.
    if rd1 eq 'X'.
    if s_erdat is initial.
      message 'PLease enter date'.
    endif.
    endif.
    The above will fire an error when you hit execute and the rd1 is choosen and date is not entered
    Himanshu

  • FB60 making 'Bus.place/sectn' as Mandatory Filed

    Hii
    In T-Code FB60, i hav a requirement to make 'Bus.place/sectn' field as Mandatory Field...
    How can i achieve it ??
    will igo for validation or in program itself i hav to change it ?
    Thanks in Advance
    Satya

    Use [Validation|http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/d231d443c611d182b30000e829fbfe/frameset.htm] rules, 
    Regards

Maybe you are looking for

  • Unknown device - ipod nano fine - problem with windows xp and usb root hub

    Greetings all. I've seen this question come up over and over again and have been working on it following previous posts and posts on microsoft and hp sites for a couple of days now. First off - the ipod nano is fine. Works on my son's computer well.

  • Can I install os on a hard drive conected through usb

    Can I install a OS on a hard drive conected through usb On my macbook pro? Thanks:)

  • Help, I crashed my macbook pro!

    I was attempting to restore my picture library after I attempted to copy it to my new mba and didnt transfer correctly and so my mbp version of iPhoto no longers reads my photo library. I attempted to restore my library off of my back up disc per adv

  • Problems to initiate oracle 10g express edition

    Good afternoon I am speaking of Brazil with a text translator. But I have installed Hundreds and I am trying to install oracle 10g express edition release 2. I am with a problem in the Oracle 10g Express Edition in the installation part when I vo to

  • No Join Predicate

    The Problem: I have two No Join Predicate warnings on a single execution plan and I am unable to find the root causes.  The warnings appear on two Nested Loops Showplan Operators.  The two inputs into one of the Nested Loops Showplan Operators are th