How to set screen properties for Customer fields in PO(Enhanced using BADI)

Hi All,
I have added one custom tab with seven fields in the PO item level using the BADI 'ME_GUI_PO_CUST  and ME_PROCESS_PO_CUST'.
Now i want to change the screen property dynamically. According to some calculation i need to change the customer fields in display mode and change mode. when ever it is in change mode i need to set the fields as mandatory.
How can i implement this logic using this BADI. Please help in solving this issue.
Best regards,
Kannan. B

Hi,
Try adding the code in the PBO part of your custom program used for the custom screen which you have created and added inside the BADI.
Regards,
Harish

Similar Messages

  • MM06E005 - how to set screen attributes for custom fields?

    Hi all,
    I have implemented enhancement MM06E005. I have added my custom fields to CI_EKPODB.  I have created and activated all the dynpros.  I modified subscreen 0111 (items) to contain my new custom fields.  I have activated the function exits (016,017,018) for the item screens.  I am able to save data using the new custom fields on subscreen 0111.
    What I am having trouble with is modifying the screen attributes for the new custom fields that I placed on subscreen 0111. I know it should be in exit 016(PBO) and I need to check the action type.  I tried a "loop at screen" but my fields were not there. 
    How do I modify the screen attributes?  Also, can I change the "Tab" text from "Customer Data" to be something else?
    Any help would be appreciated.
    Thanks, Mark

    Hi,
      In the PBO of the screen 0111, create a module. And in that module you can do LOOP AT SCREEN..where the screen elements will be available..
    Thanks
    Naren

  • How to set CORS properties for BLOB Storage using node?

    Hi - I just got started with Azure using a Node-based web site and mobile services.
    I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
    In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
    I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
    http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
    Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
    What is the recommended way for setting CORS properties for the BLOB Storage via Node?
    Thanks for your help
    Stefan

    Unfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
    on your storage account. More information about this tool can be found here:
    http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
    Hope this helps.

  • Help Please: how to set JDBC properties for data encryption in BC4J

    Hello,
    I am trying to implement JDBC Thin Driver Support for Data Encryption and Integrity.
    With java.sql.Connection and java.util.Properties, one would do something like the following code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    int level = AnoServices.REQUIRED;
    props.put("oracle.net.encryption_client", Service.getLevelString(level));
    props.put("oracle.net.encryption_types_client", "( RC4_40 )");
    props.put("oracle.net.crypto_checksum_client",Service.getLevelString(level));
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:main", props);
    But, how can we do this with BC4J objects? Can we set this properties via EnvInfoProvider class? Please help. Thank you very much in advance.
    Zhirong

    Hi,
    Try adding the code in the PBO part of your custom program used for the custom screen which you have created and added inside the BADI.
    Regards,
    Harish

  • How to set parameter id for a field, which is in disable mode ?

    Hi,
    I Have to set parameter id for field ledger for transaction FAGLB03, which is in disable mode, i have to set it through program,please let me know how to set it.
    Thanks.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • How to create OVS help for custom field in OIF?

    Hi All,
    I have a requirement where i need to add custom field and display F4 help. I have added the custom field but how to add OVS search help to field as i need to pull data from db tables based on certain creteria.
    Please explain with steps.
    Thanks,
    Vimal

    Hi James,
    Thanks for reply.
    I checked few things you mentioned and here are the findings:
    1) Following is the code i have written it GET_DEFINITION
      ls_descr_attr-name = 'ZZ_APPOINT_AUTH'.
      ls_descr_attr-label_text = 'Appointing Authority'.
      ls_descr_attr-ovs_name = 'ZCL_INC_BINF_CLAS_UI_FRM'.
      APPEND ls_descr_attr TO et_field_description.
    is this enugh to identify which field  we want to make an OVS help? because suppose if don't implement all other pharses and only provide above code in Get_Defination then will it show me F4 icon atleast on field?
    2) DDIC_SHLP_NAME field is blank. And there are no duplicate records.
    3) I tried putting break point in HANDLE_PHASE0() and all other phases but debugger does not run while starting the application.So do we need to call these methods at some point or they are called automatically ?
    Thanks for your help.And let me know of any other details required.
    Thanks,
    Vimal

  • Screen exit for VL01 in ECC 6.0 using badi's

    Hi All,
    I got a requirement to create a new tab in VL01 transaction where i need to create one field in ECC 6.0.
    Can anyone tell me the complete procedure to create a new sub screen and adding it to the existing standard sap screen as a new tab in ECC 6.0 version.
    kindly suggest me how to do this using badi's.

    Dear Nicole,
    a)SE18:
    Definition name               ME_PROCESS_PO_CUST
    b)SMOD:
    Enhancement     MM06E005
    EXIT_SAPMM06E_013
    -> If you want to use it, use transaction CMOD to create a
    project with Enhancement     MM06E005
    Best Regards,
    Ian Wong

  • DI: How to set a category for userdefined fields?

    Hi,
    I've created some userdefinded fields using DI API and now I would like to assign them to a specific category. By default they are in category "General".
    How to do this programmatically?
    Thanks,
    Ronny

    Ronny,
    If I understand your question, the "category" of a user-defined field is based on a combination of the Type and SubType properties of the UserFieldsMD object. Type is a BoFieldTypes enum and SubType is a BoFldSubTypes enum. The trick is that not all Type and SubType combinations are permitted. In the DI documentation, go to the UserFieldMD object and drill into the SubType property. This will give you a matrix of allowed combinations and their application "category".(At least in the 6.5 documentation.)
    The UserFieldMD object is a little temperamental so make sure you have the latest patches before digging into it.
    Cheers,
    Corbin

  • How to set old content for a field when cancel?

    Hallo,
    i have a jdialog form where i can change the content of a field.
    when i close the form with cancel i will bring the old content back.
    how can i do that?
    thanks in advance. any help is appreciated.

    Huh? Just don't update the content when the dialog is dismissed by pressing 'Cancel'.
    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    db

  • Reg : F4 help for custom fields in ALV report

    hi friends..
    in my internal table i have fields including 1 custom field..
    DATA : BEGIN OF i_final OCCURS 0,
      pernr LIKE p0000-pernr,
      begda LIKE p0000-begda,
      plans LIKE ZPOSITION-plans,  (custom)
      werks LIKE pspar-werks,
      end of i_final.
    i want to display this i_final table in alv. for that i genetrate one fieldcatalog
    PERFORM fcat USING:
                      'I_FINAL' 'PERNR' 'P0000' 'PERNR' '15' 'X' '',
                      'I_FINAL' 'BEGDA' 'P0000' 'BEGDA' '10' 'X' '',
                      'I_FINAL' 'PLANS' 'ZPOSITION' 'PLANS' '8' 'X' '',
                      'I_FINAL' 'WERKS' 'PSPAR' 'WERKS' '14' 'X' ''.
    in custom table zposition, i maintain serch help for custom field "PLANS".
    then i used reuse_alv_grid_display.. for all the std fields along wit custom fields
    i got f4 all std fields but for my custom i am not getting the f4 help
    how can i get the F$ help for this custom fields Zposition-plans..
    plz give some idea

    Hi
    In that Ztable against the field
    PLANS give the check table name as  <b>T528B</b>
    then it will automatically give the search help
    or you can create your own search help(elementary) and add to that field
    Reward if useful
    regards
    Anji

  • How to set the properties

    If I want to use java ORB to visit Visibroker ORB , how to set the Properties for init ?? can you help me ?
    thanks !

    System.setProperty("org.omg.CORBA.ORBClass","com.inprise.vbroker.orb.ORB");
    System.setProperty("org.omg.CORBA.ORBSingletonClass","com.inprise.vbroker.orb.ORB");You can get some examples here:
    http://maris.site.lv/ejb.html
    best regards,
    Maris Orbidans

  • Screen Exit for Customer Master

    Hi All,
    How to create screen exits for Customer Master ( XD01 Tcode). Please give step by step procedure.
    For useful answers points willbe rewarded.

    Hi sathyaa,
    Please Refer this,
    https://forums.sdn.sap.com/click.jspa?searchID=5279713&messageID=3080834
    Thanks.

  • How to assign search help for custom cost centre field in SRM 7.0

    Hi Experts!!
    We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom
    cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre field there is a standard web-dynpro search-help assigned where it will return the F4 search help values from backend.
    Can any one of you please help me how can I assign the search-help for the custom cost centre field. Is there any FM to call the backend cost centre search help for custom field or any other way how can I achieve this?
    Thanks in advance.
    Regards,
    Kalyani

    kalyani,
    i can see your requirement in below way..
    as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH
    so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component
    USAGE_SH_F4     /SAPSRM/WDC_UI_BACKEND_SH                        
    USAGE_SH_F4     /SAPSRM/WDC_UI_BACKEND_SH     INTERFACECONTROLLER
    so you can replicate the same functionality for your z field.
    but can you clarify one thing.. why are you going for this z field in place of standard field ?

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • How do I set individual properties for a column in report layout at runtime

    How do I set individual properties for a column in report layout at runtime? I need to change this based on a user's input. This is for v10g.
    I need to change either the "Read from File" attribute or the "File Format" attribute for one column based on the user's input. IS this possible?
    Thanks in advance!

    Hi,
    define 2 columns and use format triggers to show the one or the other column.
    Regards
    Rainer

Maybe you are looking for