Program for finding mandatory fields of an infotype.

Hi all,
I am trying to retrieve the mandatory fields for specific infotypes.Can anyone suggest a code for this???
When we hire one employee using PA40,some screens of various infotypes will be active which contains some mandatory fileds...
For this particular screen ,there will be one Module Pool,Screen number and variable key and some mandatory fileds.This will be stored in T588M table.
In T588M table lot of entries are there with same module pool name and screen number.But screen number and variable key combination will be unique.
i want to know these values for all infotypes.
In system->status we get only module pool and screen number..but not variable key.Also its very difficult to see for each infotype like this..
so how to retieve the following fields REPNA(Module Pool),DYNNR(Screen Number) VARKY(Variable Key) from T588M table of a particular infotype....??????
also i need to know how to get the mandatory fields from T588M table which is encoded as '+ + - -'(in DBILD field)
Thanks in Advance
Merlin.

Hi all,
I am trying to retrieve the mandatory fields for specific infotypes.Can anyone suggest a code for this???
When we hire one employee using PA40,some screens of various infotypes will be active which contains some mandatory fileds...
For this particular screen ,there will be one Module Pool,Screen number and variable key and some mandatory fileds.This will be stored in T588M table.
In T588M table lot of entries are there with same module pool name and screen number.But screen number and variable key combination will be unique.
i want to know these values for all infotypes.
In system->status we get only module pool and screen number..but not variable key.Also its very difficult to see for each infotype like this..
so how to retieve the following fields REPNA(Module Pool),DYNNR(Screen Number) VARKY(Variable Key) from T588M table of a particular infotype....??????
also i need to know how to get the mandatory fields from T588M table which is encoded as '+ + - -'(in DBILD field)
Thanks in Advance
Merlin.

Similar Messages

  • Procedure to find mandatory field in an IDoc Segment

    Hi all,
    Please guide me to find mandatory field in an IDoc Segment.
    Ex: I went to MATMAS05 IDoc type. I know that E1MARAM and E1MAKTM are the mandatory segments for MATMAS05 IDoc Type.
    But, I would like to know what are the mandatory fields for E1MARAM or E1MAKTM segment.
    Please guide me to find mandatory field in an IDoc Segment (for the above example).
    Thanks,
    Sudarsan

    hi,  here I have a good suggestion to solve your problem.
    Assuem you are research which field is mandatory in your mastr data inbound. Let's suppost it's a material.  You already known how to create it in online t-code, which field should be filled, which view should be inputed.
    Then, configure you material related IDOC for outbound, make sure that system will send out a material IDOC to other partner system (it can be a dummy system)when you create it.
    Then check the sent IDOC, you can find out how SAP system fill the IDOC according to your input.
    You can get to know how to fill your IDOC in this way.

  • What's the best approach/program for finding and eliminating duplicate photos on my hard drive?

    What's the best approach/program for finding and eliminating duplicate photos on my hard drive? I have a "somewhat" older version of iPhoto (5.0.4), and it doesn't seem to offer anything like that except during the importing phase of syncing my phone...

    I wonder, is there room to transfer them to your phone, & then back to filter them?

  • Hide the error msg for the mandatory fields

    hi
    how can i hide the error msg for the mandatory fields when they are not entered?? when i don't put a value in a mandatory field and commit the form, an error msg occurs teelling to enter the value for that mandatory field, but the error msg is not friendly at all and i want to hide it.
    thnaks

    User,
    I'll assume you are talking about ADF Faces + ADF Business Components application, since you don't mention it.
    If you are talking about the pop-up Javascript dialog box that pops up, you can do the following:
    1). Set required=false on those fields in your JSP.
    2). Set showrequired=true on those same fields so that there is a visual indication that the fields are required
    3). Ensure the attribute to which the fields are bound have "mandatory" set to true in the BC's
    Now, when you commit the form, you will not see the Javascript pop-up, but you will see a message in the af:messages component.
    Best,
    john

  • Mandatory Fields of an Infotype

    Hi all,
    I am trying to retrieve the mandatory fields for specific infotypes.Can anyone suggest a code for this???
    Just Analyze this scenario....
    When we hire one employee using PA40,some screens of various infotypes will be active which contains some mandatory fileds...
    For this particular screen ,there will be one Module Pool,Screen number and variable key and some mandatory fileds.This will be stored in T588M table.
    In T588M table lot of entries are there with same module pool name and screen number.But screen number and variable key combination will be unique.
    i want to know these values for all infotypes.
    In system->status we get only module pool and screen number..but not variable key.Also its very difficult to see for each infotype like this..
    so how to retieve the following fields REPNA(Module Pool),DYNNR(Screen Number) VARKY(Variable Key) from T588M table of a particular infotype....??????
    also i need to know how to get the mandatory fields from T588M table which is encoded as '+ + - -'(in DBILD field)
    Thanks in Advance
    Merlin.

    Hi,
    first to identify VARKEY for table T588M you have to evaluate the feature which is named in field ZYKLS of that row with empty varkey and default screen.
    Teh return value of the feature depends on individual empl. values in P0001.
    Include RPUMKC00 in your program, define TABLES: PME04 and get the return-value of said feature as follows:
    move-corresponding p0001 to pme04.
    perform re549d using
                  T588M-ZYKLS
                  space
                  back
                  status.
    Field back contains varkey for the relevant choice.
    Now for field DBILD, there are th following options:
    '+'         mandatory field
    '.'          optional field
    '-'          field invisible
    '*'          field not editable
    ' '          screen default for field
    The position of each option in field DBILD indicates the value of screen-group1.
    All fields with that screen-group1 value will behave similar.
    I.E. DBILD ' +          '  will assign mandatory to all fields of screen-group1 = '2'
    hope that helps.
    Regards
    JW

  • Here's a program for finding your product ID and Vendor ID of USB device

    Greetings, All
    Just to let you know of a program I found that will tell you the Product ID and Vendor ID. A long with a bunch
    of other stuff for your USB device.
    This all started trying to find my product ID and Vendor ID for my Radium 49 MIDI USB keyboard to use with VISA.
    Tech Support at M-Audio had no idea what I was talking about so I found this instead. Hope this helps
    someone else out that uses no standard hardware.
    Enjoy
    It's called usb monitor
    http://www.hhdsoftware.com/usbmon.html

    Thank you son,
    I will try this out. This could become a good tool to detect USB devices which are part of an ATE (for which there may not be LV drivers).
    I will post feedback after "experimenting with it".
    Thanks again!!
    -JLV-

  • Program for find and replace a string in all the reports in a package

    Hello experts,
                        Is there any standard report or transaction provided by SAP which can be used to find a String in all the program in a package ? 
    As per my knowledge there is a program RPR_ABAP_SOURCE_SCAN which can search for a string in a package but this program doesnot support the replacement .
    Any clue in this regard will be helpful.
    Thanks
    Vivek

    Vevek, you are searching for something very very destructive.. do you realize that?
    its better if you could explain us the requirement, by the way for a automated change you need to have INSERT REPORT called inside some program, so start searching that line if you can get it
    else, write a piece of code for it..

  • What is the absolute best program for finding album art? [free]

    I would love to have one of those free programs that automatically finds album art and lyrics, for mac or PC, but what is the best one?

    This is for Windows, it's free, and pretty simple to use.
    http://www.yvg.com/itunesartimporter.shtml

  • How to remove mandatory field for Last Name in Personal Data Editing Screen

    Hello All,
    CUrrently we are using BP_ ERP5ESS1.31 SP5 & SAP_ESS  603 SP5.
    All my ESS Services are Displaying fine and working from Portal.I am having the requirement like I need to make Last Name as Non-Mandatory field in Personal Data. While Editing the PD Screen, there  i will find the * mark for Last Name filed, i checked through the Global Personalization Make as Mandatory is Not Personalized its showing, i think its defualt prpoerty,so i am unable make any changes from Portal w.r.t Global Personalization.
    I checked in SPRO-- Personal Admin> Custmomizing User Interfaces>Change Screen Modifications, there i find the respective Module pool for those Infotypes and country Specific..
    I cheked forModulePool MP000200--> P0002 and Variable Key-40(For India)  P0002 - NACHIN -- LastName only OF Radio Button is Selected all other Rado buttons are not selected.
    I Checked in V_T588MFPROPS view there for 0002 Infotype P0002 -- NACHN Mandatory check box is Checked all other check boxes are Unchecked.
    How to make that Last Name field as Non-Mandatory in Personal Data Edit Screen, where i need to make the changes.'
    Please list out the Steps..Where i need to do the configuration. And i assigned all the required ESS roles on the backend.
    Thanks in Advance
    Adapag

    Hi,
    I don't think supressing through Global Personalization will change the business logic. Within the Business Logic it checks for the mandatory field.
    After the changes I guess you need to make the changes accordingly.
    The below link might be of some help.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
    Please correct if I am wrong.
    Cheers-
    Pramod

  • Mandatory fields  for mapping in ORDERS idoc.

    Hi
    I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
    Pl let me know the method of finding mandatory field for mapping for  any idoc  and which fileds of idoc are to be disabled.
    Pl help ..
    ans will be rewarded .
    thanks & rgds
    mojib

    HI,
    U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
    If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
    ·        MESCOD
    ·        MESCFT
    ·        TEST
    ·        EXPRSS
    ·        STD
    ·        STDVRS
    ·        STDMES
    ·        SNDSAD
    ·        SNDLAD
    ·        RCVSAD
    ·        RCVLAD
    ·        REFINT
    ·        REFGRP
    ·        REFMES
    ·        STATUS
    ·        DIRECT
    ·        OUTMOD
    ·        CREDAT
    ·        CRETIM
    read the information in below link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
    thnx,
    chirag

  • Different dropdowns for different fields in custom infotype

    Hi All,
    I created a new infotype in HR and for the different fields, I need different dropdowns.
    Example: Infotype 9XXX
    field 1          -   dropdown values (A,B,C)
    field 2          -   dropdown values (D,E,F)
    field 3          -   dropdown values (A,D,F)
    Right now, I am getting the values for the dropdown based on a custom search help.
    The table used in the search help is a custom table, which has all the possible values  A,B,C,D,E,F.
    Is there a way I can have different dropdowns for the different fields in the infotype?
    Or is there is a way I can set different default values in the search help dynamically based on the field in the infotype.
    Is using a search help exit a solution? If so please let me know how i can use it and what code needs to go in it.
    Your inputs are greatly appreciated.
    Thanks!
    Sandeep

    Hi All,
    I created a new infotype in HR and for the different fields, I need different dropdowns.
    Example: Infotype 9XXX
    field 1          -   dropdown values (A,B,C)
    field 2          -   dropdown values (D,E,F)
    field 3          -   dropdown values (A,D,F)
    Right now, I am getting the values for the dropdown based on a custom search help.
    The table used in the search help is a custom table, which has all the possible values  A,B,C,D,E,F.
    Is there a way I can have different dropdowns for the different fields in the infotype?
    Or is there is a way I can set different default values in the search help dynamically based on the field in the infotype.
    Is using a search help exit a solution? If so please let me know how i can use it and what code needs to go in it.
    Your inputs are greatly appreciated.
    Thanks!
    Sandeep

  • How to skip a selection screen mandatory field in debugging mode with out changing the code?

    Hi Team,
    In my report there is two fields on selection screen, one is obligatory field , but i just want to execute the report(for testing per pus) with out entering  the data for the mandatory field with out changing the code. could u let me know which event and how to debug the report. or else  in debugging mode how can i change that field as non mandatory field.
    Regards,
    Venkat.

    If the value is not of importance how come it became obligatory in your program?
    Any how you can do one thing...Put some value in your obligatory field, put a debugger point where you are interested in  and use the pencil tool to change the value of the field while debugging. 
    Regards,
    Philip.

  • Mandatory Fields displaying in the table

    Hi
    In my create Page  , fields are present with input fields and DROP DOWN BY KEY AND rADIO GROUP.
    In that some of the fields are mandatory.
    If i enter values in that create page, it has to show fields in the table.
    But iam having only mandatory fields should come in the table.
    Our Abapers created table for the Mandatory fields only.
    Iam having doubt how the remaining fields(not showing in the table) will connect to the database.
    Will any one explain me on this.
    Please help me.
    Regards
    Sushma

    Iam trying to connect my web dynpro application to R3 Database.
    Iam having list screen consistts of Create and Export buttons and table.
    Table Fields :
    Allowance Code , sub code ,Type , Level , expense Type , amount
    After clicking Create button ,
    the screen consists of save and Cancel buttons.
    Allowance Code -- (Input Field)
    Sub Code -- (Input Field)
    Period Type -
    (Dropdown by key)
    Type -
    (Radio button Group)
    Level --- (Dropdown by key)
    Expense Type -(Dropdown by key)
    Trip - (Dropdown by key)
    Currency - (Dropdown by key)
    Amount --(Input Field)
    In the Create screen all these fields are present. But in the table in the List Screen it is taking only mandatory Fields.
    For this our Abapers created
    Fun Mod : Zup_Allowance_Input
    Table : ZMSTR_ALLOW
    Iam getting error in this code under IdataType in this "Save Button ".
    Can any one help me where i went wrong in this code.or else please provide the Code for this.
    public void onActionSave(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionSave(ServerEvent)
    try{
    String str1=wdContext.currentStdAllowanceElement().getAllowanceCode();
    String str2=wdContext.currentStdAllowanceElement().getSubCode();
    IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("PeriodType").getDataType();
    String index=wdContext.currentStdAllowanceElement().getPeriodType();
    String str3=wdThis.getTextFromSimpleType(dataType,index);
    wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str3);
    String arr[]={"Fixed","Actual"};
    for(int i=0;i<arr.length;i++)
    IPrivateEtrecStdCreateView.ICheckElement e=wdContext.nodeCheck().createCheckElement();
    wdContext.nodeCheck().addElement(e);
    e.setType(arr);
    IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("").getDataType();
    String index=wdContext.currentStdAllowanceElement().getLevel();
    String str5=wdThis.getTextFromSimpleType(dataType,index);
    wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str5);
    IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("ExpenseType").getDataType();
    String index=wdContext.currentStdAllowanceElement().getExpenseType();
    String str6=wdThis.getTextFromSimpleType(dataType,index);
    wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str6);
    IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("Trip").getDataType();
    String index=wdContext.currentStdAllowanceElement().getTrip();
    String str7=wdThis.getTextFromSimpleType(dataType,index);
    wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str7);
    IDataType datatype = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("Currency").getDataType();
    String index=wdContext.currentStdAllowanceElement().getCurrency();
    String str8=wdThis.getTextFromSimpleType(dataType,index);
    wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str8);
    String str9=wdContext.currentStdAllowanceElement().getAmount();
    Zup_Allowance_Input input=new Zup_Allowance_Input();
    input.setAllow_Opt("C");
    input.setAllowance_Code(str1);
    input.setSubcode(str2);
    input.setType1(str3);
    input.setLevel1(str5);
    input.setExpense(str6);
    input.setCurr_Key(str8);
    wdContext.nodeZup_Allowance_Input().bind(input);
    wdContext.currentZup_Allowance_InputElement().modelObject().execute();
    String str10=wdContext.currentOutputElement().get();
    if(str10.equalsIgnoreCase("3"))
    String errorMessage = "Inserted Successfully !";
    IWDEventHandlerInfo windowHandler = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("OK");
    IWDConfirmationDialog windowDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(errorMessage, windowHandler, "OK");
    windowDialog.open();
    windowDialog.setWindowPosition(300,250);
    }if(str10.equalsIgnoreCase("2"))
    String errorMessage = "Duplicate Value !";
    IWDEventHandlerInfo windowHandler = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("OK");
    IWDConfirmationDialog windowDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(errorMessage, windowHandler, "OK");
    windowDialog.open();
    windowDialog.setWindowPosition(300,250);
    }catch(Exception e)
    wdComponentAPI.getMessageManager().reportSuccess(e.toString());
    //@@end
    //@@begin javadoc:onPlugFromEtrecStdView(ServerEvent)
    /** Declared validating event handler. */
    //@@end
    public void onPlugFromEtrecStdView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onPlugFromEtrecStdView(ServerEvent)
    wdContext.currentStdAllowanceElement().setAllowanceCode("");
    wdContext.currentStdAllowanceElement().setAmount("");
    wdContext.currentStdAllowanceElement().setSubCode("");
    //@@end

  • Mandatory Field issue in OIM 11g R2

    Hi,
    I have customized one field in application instance form and made it as mandatory. But when user raise the request it is allowing the user to proceed the request without filling values for that mandatory field.
    Can you please let me know how to make the application instance form field as mandatory ?

    Ketan Solanki,
    I haven't checked in MDS. Do you know the path to fetch the form details ?
    Nishith Nayan,
    Activated and restarted too but the result is same. Already this is second app instance which I am using currently.,

  • 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

Maybe you are looking for

  • Bursting a PDF Template is not working correctly

    We are using a PDF template for an export document and we are bursting the request so that we can send the output to multiple destinations. This all works correctly until we hit a document that results in multiple pages. This results in the generated

  • HT203175 My Ipod and Itunes on my computer are both working fine except on my Ipod when I try to play music it will not allow me to play any music

    Hello there everyone,   my Ipod and Itunes on my computer are working fine,  but my Ipod is frozen,  I can do anything else on it except I cannot play music on it  or  play music from a dock on it   ,    please let me know what I can do ,   thank you

  • Error occurs in background work process.

    Respected Guru's, error occurs in two background work process, i have displayed the trace files of both the bgd work process. How to rectify this error ? Further, can you please help me in identifying the problem, please suggest me good material whic

  • Issue printout from mail on Mac OS X 10.9

    We have a network printer Konica Bizhub C452 and I have an user when he want to print on this printer from mail under Mac OS X 10.9.2  around one time on 5 he has a error message " Mail a quitté de manière imprévue lors de l’utilisation du module pde

  • Weird Error from Content Server

    We are using Apache-Tomcat, I have built some content server portlets that display images, if I use .jpg's I get these strange errors, I have seen them when using bitstreaming on other Non-content server portlets, my solution was to use png's. Creati