Add new loop field in custom infotype - error field .. not assigned to loop

Hi,
I have a task of adding a new loop field in a custom infotype screen 3000. Here, in the past there have only been the fields begin date and end date. I need to add a new field, so this is how I proceeeded:
1) I modified the screen 3000 in SE38, adding the field where I wanted and defining a loop.
Now, I get the syntax error : Field P9500-field is not assigned to a LOOP. LOOP...ENDLOOP must appear in PBO and PAI.
There must be something wrong in what I'm doing, can you please let me know a quick fix on this or how I can accomplish this in PM01? Please keep in mind that this is a custom infotype for SAP TEM, I can't see it in PA.
Best regards,
George

Not a nice solution but I had to do this quick and I'll correct it in the next days:
The old flow logic PBO code was:
  LOOP.
    MODULE FILL_DYNPRO.
  ENDLOOP.
If I wanted to insert here something like:
  FIELD whatever
    MODULE dummy.
, I'd get stupid error messages like this other field is not in loop, endloop, then if I put that other field I'd get the error that the fields are in the same loop...
Wanting just to get this over with, I added the following code (after the initial loop):
  LOOP.
    FIELD whatever
      MODULE FILL_DYNPRO."same module as above
  ENDLOOP.
This was repeated in PAI.
This pretty much works out fine for the moment, I'll look for finer solutions in the week to come.
Thanks for the help, guys.
Best regards,
George

Similar Messages

  • Adding new fields in Custom Infotype

    Hi,
    I need to change some fields of Custom Infotype. But project is already gone live for 1 country. will making changes to infotype affect for existing live country?
    Safe side....We are thinking Adding new fields in Custom Infotype. & displaying corresponding fields for countries in another tab
    & hiding the old tab.
    Please let me know procedure for  Adding new fields in Custom Infotype for displaying in new tab.
    Edited by: Sachin Thigale on Aug 23, 2010 7:04 PM
    Edited by: Sachin Thigale on Aug 23, 2010 7:05 PM

    Please search. Lot of Threads on this.
    Follow these steps.
    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype
    The above details are from the following link
    Re: How to add fields in custom infotype and update its screens

  • Adding field from Custom Infotype in Screen Header-PA30

    Hi all,
    Can we add the fields from custom infotype to the screen header in PA30? When I tried through Change Screen Modifications, I could not see the custom infotype in the Infotype column, so I could not select the required field.
    Please guide.
    Thanks in advance.

    Hi,
    When you take a drop down from the infotype column, you will see a window with infotypes. By default, it is restricted to 500 entries. To change that, click on the narrow bar under u201Crestrictionsu201D (has a downward arrow) and change the maximum number of hits to 999. You will then get all the infotypes including the custom ones.
    Hope this helps.
    Donnie

  • Module pool F4-Help problem for a field in custom Infotype(HR).

    Dear Gurus,
    I have created a custom Infotype and fields are like
    P9015-NAM01.
    P9015-NAM02.
    P9015-NAM03.
    all are fields for name.
    I want F4 help for these fields with values same as  Family Members-First name  given in 21 Infotype .
    for all 3 fields same f4 help values.
    But when i see in the screen for first field the values are populating as selected but for second field the selected value is not picking..
    DATA: BEGIN OF it_val1 OCCURS 7,
        nam01 LIKE p9015-nam01,
        rel01 LIKE p9015-rel01,
       END OF it_val1.
      SELECT *  FROM t591s INTO TABLE it_t591s WHERE
         sprsl = 'EN' AND
         infty = '0021'.
    *SUBTY
    *STEXT
      SELECT * FROM pa0021 INTO wa_21 WHERE pernr = p9015-pernr .
        READ TABLE it_t591s WITH KEY subty = wa_21-famsa.
        it_val1-rel01 = it_t591s-stext.
       CONCATENATE wa_21-favor wa_21-fanam INTO it_val-nname SEPARATED BY space.
        it_val1-nam01 = wa_21-favor.
        APPEND it_val1.
        CLEAR : it_val1, it_t591s.
      ENDSELECT.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'NAM01'
        PVALKEY                = ' '
         dynpprog               = sy-cprog
         dynpnr                 = sy-dynnr
        dynprofield            = 'P9015-NAM01'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         value_org              = 'S'
         multiple_choice        = ' '
         display                = 'F'
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = it_val1[]
         field_tab              = t_fields[]
         return_tab             = t_return[]
         DYNPFLD_MAPPING        = t_DYNPFLD_MAPPING
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3
    In the same way i am calling for P9015-NAM02. & P9015-NAM03.
    Is there any wrong in calling this FM...kindly help.....

    Write the FM inside,
    at selection-screen on value-request for <nam1>.
    It seems that you are calling the funtion module for only first field. Repeat it for other two fields also-
    at selection-screen on value-request for <nam2>
    call FM.
    at selection-screen on value-request for <nam3>
    call FM.
    Sumit

  • Showing fields of Custom infotype in standard infotype screen

    Hi Experts
      I have created a custom infotype 9xxx. Now when I go to the PA30 maintenance screen for a standard infotype 0795, i should also see the fields from custom infotype 9xxx. Can you please let me know how I can enhance the standard infotype 0795, since SAP does not allow me to change it directly.
    Thanks
    Neo

    Hi,
    I'm gonna be an *ss and ask why you wanna see the fields of your 9xxx - infotype in SAP IT0795.
    If this is for information purposes, I believe this should be incorporated in reporting and not within master data infotypes.
    Wilfred.

  • Description for value help field for custom infotype field

    Hi,
       I`ve got to include a field in custom infotype. This field has got a value help attached to it. The values to be displayed in the value help are stored in the domain of the field(in the dictionary).
    The requirement is that once I select a value from the F4 help, the description for that value should be fetched and be dispalyed on the screen.
      I`m using the FM "<b>AM_READ_TEXT_ON_DOMAIN_VALUE</b>" to read the description from the domain ,but unable to make it display it on the screen.
      Can anyone suggest me as what should I do for displaying the description in the custom infotype screen.
    Regards,
    Farhana

    Hi anji,
       While using the "GET_DOMAIN_VALUES", I do get all the values from the domain. But I want only description to be displayed when I select a Value for that field.Kindly help out..
    Eg:
    1-Individual
    2-Family
    Then the description should be displayed as Family when I select the value 2 from the value help.
    Regards,
    Farhana.

  • I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.

    I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.When i try to sync iphone with itunes it says that this action will remove my old playlist and all songs.

    "it says that this action will remove my old playlist and all songs."
    Are you connecting to a different iTunes library than you normally connect to?  That will erase the songs and playlists since the iPhone can't be connected to multiple libraries even if it is in manual sync mode.
    If you no longer have access to the original library that your iPhone calls 'home', then the only way to save the playlist (and the songs on your iPhone) would be to use a 3rd party application to extract your iPhone contents to this new iTunes library you're trying to connect to.

  • Error:System not assigned to a host

    Hi,
    I am trying to download maintenance stk SRM 7.0 SPS 5.0, via solman, but I am getting the error called  "Error:System not assigned to a host" in the stage where solman looks for OS/DB dependent files.
    When I go back and check the entries in SMSY, all the relevant entries are present there..
    Could anyone has encountered this before?
    Thanks
    Abhishek

    >
    Abhi wrote:
    > Hi,
    >
    > I am trying to download maintenance stk SRM 7.0 SPS 5.0, via solman, but I am getting the error called  "Error:System not assigned to a host" in the stage where solman looks for OS/DB dependent files.
    > When I go back and check the entries in SMSY, all the relevant entries are present there..
    > Could anyone has encountered this before?
    >
    > Thanks
    > Abhishek
    Hi Abhisek,
    are you sure that is in TX "smsy -> Systems -> <your SID> -> logical Component -> Header Data" an entry at the field "message Server" ?
    I think that is meant with host.
    regards
    Tobias

  • Addition of new fields to existing Infotype: Error in Quality Server.

    Hi Experts,
    I have added new fields by adding custom include to Infotype 4000 using t-Code PM01.  It is working perfectly fine in DEV. But, in QLT, the custom Include is not attached to the P4000 structure. Independently, CI_P4000  exists in QLT.
    I have checked all the Transport Requests, nothing is missing. However, The structure of P4000 is not getting modified as per requirement. What should I do?

    Hi Experts,
    The Error was coming with Infotype 4000. I tried adding the same field by updating Infotype 4001 and it worked. So, I have used that only, and my requirement is fulfilled.
    But, I am still not sure if we can add field in similar way in Infotype 4000.
    Thanks to all for providing me with possible solutions!!
    Regards,
    Shruti Gupta.

  • How to add fields in custom infotype and update its screens

    Hi Experts
        I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release.   is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fields

    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype

  • Adding few new fields to Custom infotype already developed

    Hi
    I have a requirement to add new fields to already available custom infotype.  I have to edit the PS structure and add few fields there and activate it. My question is, when I tick on "Generate Objects" after maintaining the PS structure, it will show pop up boxes asking whether to overwrite those objects already exists, shall I tick it or exit? Because the code is already written in the module pool for some validations,if I regenerate the objects, will the complete code will be erased?
    Please guide me in this regard.
    Thanks,
    Pallavi.

    Hi,
    Yes you need to regenerate objects, for changes to reflect.
    Since the objects are regenrated, the custom validation codes should get overwritten.
    To be on safe side, you can copy this infotype to a dummy infotype and regenerate the code and check.

  • EHP5 ESS - Add Additional fields from custom infotype on Personal Data

    Hi Gurus
    I am able to launch the Personal Information screen under Personal Profile
    I will need to add more fields on the Personal Profile --> Personal Data section
    I have added the infotype in V_T7XSSPERSUBTY
    I am not sure if I will need to do some configuration GenIL Model Editor
    Is BADI (Enh. Imp) HRESS_PER_CONFIG_KEY relevant to adding fields to the screen?
    Please guide how to go about doing this
    Thanks in advance

    for adding a infotype and fields you need to do this
    1. Customizing the Fields in Overview Screens
    http://help.sap.com/erp2005_ehp_05/helpdata/en/77/804c18e1844944b7f8baf5
    3159be78/content.htm
    2. Configuration of Personal Profile Services
    http://help.sap.com/erp2005_ehp_05/helpdata/en/3a/fe6eac579d4a9ead651d77
    9a2dbd23/content.htm
    3. Personal Profile application Documentation
    http://help.sap.com/erp2005_ehp_05/helpdata/en/14/60cd56b1514ae5aa811d2a
    a4a59de3/content.htm
    In EhP5 ESS Personal Profile application, in order to change the
    Address overview page fields, you need to adapt the Address component
    configuration HRESS_CC_PER_OVR_ADDRESS_XX.
    Note: In EhP5, ESS screens are based on Floor Plan Manager for
    WebDynpro ABAP Generic UI Building Block concept. To configure
    overview page fields we no longer use 'Determine Fields for Business
    Card on Area Page' View instead of that we adapt the FPM configurations.
    In the standard delivery in the Overview Page, always international
    Address is displayed and in the edit screen based on the country
    selection (Foreign Address scenario), corresponding country screens
    are displayed.
    Note: We always show international address screen in overview page in
    order to support Foreign Address scenario.
    If you want to chanage the fields in the Address overview page fields
    then adapt the Address component configuration.

  • Hiding table fields in custom infotype

    HI guyz,
    i have created a custom infotype which has 2 subtypes . certain fields should not be displayed when we select the subtypes. i have used the code below. the screen contains a table.
    MODULE hide_FIELDS OUTPUT.
    IF p9555-subty = '1'.
    LOOP AT SCREEN.
    IF screen-group2 = 'ABC'.
    screen-active = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    IF p9555-subty = '2'.
    LOOP AT SCREEN.
    IF screen-group2 = 'XYZ'.
    screen-active = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDMODULE. " hide_FIELDS OUTPUT
    the fields which are not in the table are not getting displayed as required but the fields in the table still appear on the screen(they are grayed out). i do not want them to appear on the screen. can anyone help me with this. Thanks in advance.

    Hi Madhu Reddy , instead of using screen-invisible = '1' , u can try this .
    MODULE sereen_modify OUTPUT.
    DATA:  COL TYPE CXTAB_COLUMN.
    LOOP AT TC-COLS into COL.      " TC is ur Table Control
      IF col-screen-group1 EQ '007'.     " Modification group1 is say 007.Also u can add other              checks like pnnnn-subty = 1 here .
       col-invisible = '1'.
       col-screen-output = '0'.
       modify TC-COLS from COL index COL-INDEX.
         ENDIF.
    ENDLOOP.
    ENDMODULE.                           " Call this module in ur Flow Loic PBO.
    *Reward Points If Helpful

  • Adding Fields to Custom Infotype Using Custom Infoset in SAP QUERY

    Hi All,
    We have a requirement to add fileds to a custom infotype for querying Custom Infoset in SAP Query.
    We are facing problem as the added field is not getting displayed in the Query set so that we can select and display it in the Basic List along with the other filds.
    Kindly suggest a solution.
    Full points will be rewarded.
    Thanks in Advance
    Kumar

    Hi Salman,
    Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
    I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
    Please let me know if you have any suggestion in this direction?
    Regards,
    Hems.

  • Adding Standard Infotype fields to Custom Infotype

    Hi,
    I have a Requirement where I've created a Custom Infotype. Now, client needs to add Standard KOSTL and Email Address fileds to it. Whenever, someone tries to create / change this Custom Infotype for any Employee, the Pernr's  KOSTL and Email Address should get populated automatically as in Standard Infotypes 0001 and 0105.
    Please guide me, how to achieve this functionality.
    Regards,
    Hems.

    Hi Salman,
    Thank you for your valuable information. I haven't Configured Dynamic Actions yet. Is it simple to write the Logic for Dynamic Actions. Is this the only way to solve this Issue?
    I tried by adding the standard fields, but they are not populating the values; but just appearing as Input Fields with Input help option.
    Please let me know if you have any suggestion in this direction?
    Regards,
    Hems.

Maybe you are looking for

  • How to make the virtuval make over to an image(only hair part)

    I HAVE SELECT THE IMAGE FROM PHOTO ALBUMS OR CAM BUT I CAN'T EDIT THE HAIR WITH ANOTHER HAIR STYLES AND SAVE IT AS A ONE IMAGE.....PLEASE SIR GIVE ME SAMPLE EXAMPLE OR ANY GUIDELINE TO ME.PLEASE SIR GIVE ME AN IDEA....

  • Generating optional FK items in Designer R.1.3

    I have a form which is based on some tables as follows: Table1: PK = COL1. Table2: PK = COL1 + COL2 (i.e. has an FK to Table1). Table3: Has a mandatory FK to Table1 i.e. COL1 must be entered. Table3 also has an optional FK to Table2 i.e. COL2 is opti

  • How to type text while making a phone call

    I was topping-up my pay-as-you-go account today and keying in my credit card info when O2 autobot asked me for my postcode. How on earth do you use the letters on the alphanumeric keypad???

  • Text to be displayed in Excise Invoice

    Hi All Could anyone please tell me is there any way to display the header data text of billing document in the corresponding excise invoice. Thank you nimeboy

  • Time code isn't displaying correctly

    I have about 40 avchd clips recorded with a panasonic ag-hmc150p.  The camera came with edius editing software and when I import a clip it shows the embedded time code correctly.  However when I try to open the clip in premiere pro (cs4) it doesn't.