How to set Batch as mandatory field in Subcontracting PR component input

Hello,SDN members
Happy New Year!
My scenario is about subcontracting purchasing:
1. Move stock to vendor through movement 541
2. Create a purchase requisition includes items with item category "L",
    and then input component,that is a quantity of material moved to vendor above
3. Convert PR to PO
4. Process GR according to PO
Beause the batch field is optional in component  input screen above step2,the user always forget to input it.
So I want to set Batch field as mandatory in component input screen.
I have not idea about it,Could anyone give suggestion?

this batch number field for the component in the PO is optional for various reasons. the batch that you send to your subcontractor may not even be produced at the time when you create the PO. In this case the user could not enter anything.
The PO is created by buyers, but the component is send to the vendor by the shipping department, the buyer usually does not care about the batch.
The batch field becomes mandatory when you ship the material to the vendor using ME2O, or even in the transaction MB1B
and the batch field is again mandatory when you receive the finished good and have to issue the component.
The batch field in the PO component can only be made mandatory from a good developer in a user exit

Similar Messages

  • Set Email as Mandatory field in User Master

    Hi There,
    Could anyone please tell me what are all the possible options to set Email as mandatory field in user master?
    Thanks in advance.
    Rajesh.

    Hi,
    could maybe a transaction variant (create via SHD0) be helpful? You have then however to also create a "variant transaction" (e.g. ZSU01) pointing to it and remove SU01 from your admins to enforce it.
    Advantage is, that this is SAP standard and compatible to any future SP implementations.
    Regards,
    Markus

  • How to set the Data Synchronisation mode for ADF BC component?

    Hi All,
    How to set the Data Synchronisation mode for ADF BC component
    Thanks
    Raghavendra

    Can you clarify what you mean by the data synchronization mode?
    If you mean the Sync Mode, then in 10.1.3 you set this property by:
    1. Selecting your DataBindings.cpx file
    2. Expanding the "Data Control Usages" section in the structure window
    3. Selecting the ADFBC-based data control
    4. Setting the "syncMode" property in the property inspector.

  • How can you ensure all mandatory fields are filled, before pressing the submit button?

    Hi all,
    I've got a complex form with many different pages (17 so far) and I'm using visible/hidden to change the layout so only 1 page appears at a time.
    What I want to do is have a better check for what mandatory fields have not been filled out in my form. The submit buttons checks that all of the mandatory fields have been completed, but if that's 1 field on page 1, searching through my entire document would cause the users to lose the will to live!
    I am after either returning more meaningful information to the user when a submit fails, or being able to run the mandatory check field every time the page changes. I already dynamically set most of the mandatory fields according to what is/isn't visible so adapting my form wouldn't take long but I have no idea how to get it to check if all the fields have been filled in.
    Many thanks,
    Tom

    Right, I have pretty much all of my validations working now... and here's the word you're waiting for... but, I am having a problem with fields that are already visible when the rest of the layout changes.
    Basically, one of the options above the field with the problem is being changed, which makes the layout above that field change. This is triggering the validate event.
    This wouldn't stop anyone using my form, but it is an annoyance.
    Anyone able to help?
    Many thanks,
    Tom

  • How to set the 'default to' field of a dashboard prompt to yesterday?

    Hi everyone,
    I have a dashboard prompt on a date (fully qualified name Date.Date and type Date).
    I also have a simple report with two columns: Date.Date and a mesure (whatever the name).
    I managed to filter on the day before the current date in the report by adding an advanced SQL filter:
    Date.Date = Cast(TimestampAdd(SQL_TSI_DAY,-1,@{system.currentTime}) as Date)
    Now, I would like the prompt to select the day before the current date by default.
    The filter on Date.Date would be 'is prompted' or so.
    How do I set the "Default to" field of the prompt?
    Thanks in advance

    Hi
    go to your prompt..
    select SQL Results from Default to: dropdown..
    here.. you need to write your Logical SQL..
    which defaults to the previous date
    some thing like this..
    *select case when 1=0 then anydate column else timestampadd(sql_tsi_day, -1, CURRENT_DATE) end FROM SubjectArea name*
    write like this.. and report back...
    Thanks & Regards
    Kishore Guggilla

  • How to set a default "from" field on outgoing Mail message

    i read through the last few pages of this support forum and googled my topic but i havent found a suitable solution.
    in Mail v 3 (3.4) there is a "From:" field in any outgoing mail. very useful for those of us with multiple non-accounts and/or .Mac aliases. i generally set a specific outgoing mail server (so that field is removed from outgoing email).
    my problem is how to set a default outgoing email address so that my recipients always get from a certain (eg work) email address when i am at work. at work, anything i send, i want to show my work email without always having to manually select the "FROM" field in the outgoing email.
    ( aside: i had read that Mail version 3 was supposed to auto-select any reply so that the reply would come from the same email i orginally sent as. this does not work on my mac.)
    This problem is exacerbated as Mail auto-rotates between my 4 email accounts/aliases (which are all listed (correctly) in the FROM field. it would be great if this list could be fixed with a default FROM address.
    eg i send an email from my work email address (FROM: [email protected]) the next email i send will be rotated through my list of .mac aliases. i.e. the next email i send will not be from [email protected], but from [email protected] the next time it might move on to [email protected] or it might revert to [email protected]
    any thoughts on how to fix?
    i have tried deleting the home/library/preferences/com.apple.mail.plist. that is fine, but any .mac aliases (which i do use, but i dont want to be listed in the "FROM" field) are listed in the "FROM" field, and are auto-switched through my Mail again.
    i looked through Rules and Automator, but no obvious help there. any thoughts?

    Did you try Preferences > Accounts > Account Information and entering these other email aliases in the Email Address: field, separated by commas? That would give you a pop-down menu in the New Message window letting you choose which alias to use when sending an email.
    If you go to Preferences > Composing, there should be a pop-down menu near the middle of that window labeled "Send new mail from:" which will let you choose any email address you have entered in the Account Information field mentioned above, or "Account of last viewed mailbox" as the default.
    Mulder

  • How to set space between the fields in SearchPG- Display issue

    Hi Friends
    I Have created a searchPG with a QueryRN , In my searchPG i have some display issue after running the page its looks like this
    For Example assue its a page with 3 field and one table region
    Employee no
    Employee name
    Phone no
    ResulttableBut i want my searchPG should hav some space between two field as shown below
    Employee no
    Employee name
    Phone no
    ResulttablePlease adviice me
    I appreciate all ur advice
    Thanks
    A.T

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • How to Set Prompt of a Field in OAF using lookup

    Hi Gurus!!
    We have a requirement to change the Prompt of some fields and also have to give the flexibilty to the business user's so that in case if they wants to change the promt of a field in future then they should also be able to change it.
    Is it possible to set the promt of field using lookup. So, that if users want to change it then they can go and change the lookup value .
    If yes, can you please give me an example of this code .
    Please let me know if any alternative approch is there to achive this requirement.
    Any help would be grately appreciated.
    Thanks
    KR

    Hi KR,
    System.out.println(">>>"+pageContext.getMessage("FND", "FND_TEST1", null)); *//displying my custom msg*
    is the message is printing the value,?
    projNum.setPrompt(pageContext.getMessage("FND", "FND_TEST1", null));
    Instead of above can you try with a hardcoded value like,
    make sure projNum is not null, you can just print the value projNum.
    projNum.setPrompt("Test Prompt");
    And one more way you can try is create a VO which will pickup the value from Lookup
    and use dataBinding (PROMPT_ATTR) and set the value.
    You can search the forum for how to use the dataBinding
    Eg.
    OAMessageTextInputBean mTextBean_Y =
    (OAMessageTextInputBean)tbl.findChildRecursive("NU_Y");
    if (mTextBean_Y != null) {
    OADataBoundValueViewObject promptNU_Y =
    new OADataBoundValueViewObject(mTextBean_Y,
    "QuestionName");
    mTextBean_Y.setAttributeValue(oracle.cabo.ui.UIConstants.PROMPT_ATTR,
    promptNU_Y);
    Thanks,
    With regards,
    Kali.
    OSSi.
    Added sample code.

  • How to set values of formula fields during runtime in crystal reports

    Hello All,
    Could any one help in letting me know how to set the values of a formula in the runtime.
    I tried using the below systax in the formula field
    Assume that I have 2 formula fields
    1. format_count
    2. format_display
    my formula is like below:
    in the formula field format_count i have
    format_display=pagenumber
    when checking for errors its throwing error stating "stamement is expected"
    Could any one help in resolving this
    Thanks

    Hi Ranjeet,
    Whenever you assign values to a variable, you need to use :=
    Like this:
    numbervar x := pagenumber
    And what exactly are you trying to do anyway?
    -Abhilash

  • How to set Exch.rate-acct. field on Billing tab of billing document item

    In R/3 4.7, we have billing documents with different values for Exch. Rate on each line item. We want the values to appear also in the Exch.rate-acct. field so the values will apply to the line items on the FI document. They are greyed out for us.
    Does anyone know what to set to allow this field to be entered?

    Lisa,
    Not sure about 4.7, we used userexit_fill_vbrk_vbrp (rv60afzc) back on 4.5 to populate Exch.rate-acct field with the rate which was different from the rate used for invoice. I think you may put some logic into this userexit to populate the field based on your rules.

  • How to set pdn12.trancat mandatory in this stored procedure?

    How can i make PDN12.transcat in this Stored Procedure
    USE [zIRC DEMO]
    GO
    /****** Object:  StoredProcedure [dbo].[SP_CHECK_MANDATORY_IN_OPDN]    Script Date: 03/07/2014 10:37:54 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER PROCEDURE [dbo].[SP_CHECK_MANDATORY_IN_OPDN]
      @list_of_cols_val_tab_del NVARCHAR(255), @error_message NVARCHAR(255) OUTPUT
    AS
    BEGIN
    --invoice type
      select
      @error_message='In header line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND isnull(OPDN.U_InvType,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND isnull(OPDN.U_InvType,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Invoice Type is missing'
    -- num at card
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In header line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.NumAtCard,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.NumAtCard,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Vendor ref. number is missing'
      END
    -- transporter
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Transport,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Transport,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Transporter is missing'
      END
    --dealer
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_dealer,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Dealer,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Dealer is missing'
      END
    --base price
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_BasePrice,0)=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_BasePrice,0)=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Base Price is missing'
      END
    --taxcode
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(PDN1.TaxCode,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(PDN1.TaxCode,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Taxcode is Missing'
      END
    -- ed rate
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDRate,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDRate,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Excice Duty Rate is missing'
      END
    -- ed duty
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDuty,0)=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDuty,0)=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Excice Duty is missing'
      END
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND ISNULL(PDN1.U_MfgInvNo,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND ISNULL(PDN1.U_MfgInvNo,'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Mfg. invoice number is missing'
      END
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND isnull(convert(nvarchar(10),U_MfgInvDt,112),'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND isnull(convert(nvarchar(10),U_MfgInvDt,112),'')=''
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Mfg. invoice date is missing'
      END
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgQty=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgQty=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Mfg. invoice Quantity is missing'
      END
      if(ISNULL(@error_message,'')='')
      BEGIN
      select
      @error_message='In line number(s), '+ substring
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      where
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgValue=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ),1
      ,LEN((
      select CONVERT(char(2),PDN1.LineNum)+','
      from
      OPDN
      inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
      WHERE
      OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgValue=0
      order by
      PDN1.LineNum FOR XML PATH ('')
      ))-1
      )+' Mfg. Assessble value is missing'
      END
      if(ISNULL(@error_message,'')<>'')
      BEGIN
      return -1
      END
      else
      begin
      return 0
      end
    END

    Hello Nabil
    Could you explain what is the point of making PDN12.Trancat mandatory? I am asking this because at my end that field has got NULL value in all PDN12 table entries, and I am not sure if this field can be updated manually when creating a Good Receipt PO. Considering this, it seems that by making this field mandatory TN will block all Good Receipts from addition.
    Regards

  • Sun IdM: How to set a multi-value field on document.mainform via javascript

    The following will set variables.variable1 to variables.variable2 when the "Script Link" component is clicked. I would like to modify
    this so that el2 references a multi-valued element (e.g. a list generated by a Select Field)
    <Field>
    <Display class='Javascript'>
    <String>
    function myScript() {
    el=getElement(document.mainform,"variables.variable1");
    el2=getElement(document.mainform,"variables.variable2");
    el.value=el2.value;
    </String>
    </Display>
    </Field>
    <Field name='Script Link'>
    <Display class='Link'>
    <Property name='URL'>
    <String>javascript:myScript();submitCommand(document.mainform,%20'Recalculate');</String>
    </Property>
    </Display>
    </Field>
    My issue is, if variables.variable2 is a list / multivalued, i get errors trying to traverse through the "array".
    How can i read and set a list element via the javascript function above? I've tried things like get(), put() , as well
    as path expressions like variables.variable2[0] .
    any help would be appreciated....
    is there an API somewhere i can reference?

    The MultiSelect field-type is a little different than the rest of the fields. If you use the applet version, then selecting/deselecting values cannot be captured by referencing the field directly in javascript.
    The way to identify the selections is to use the javascript methods includes/MultiSelect.js file (IDM form submission uses the same method):
    fixMultiSelectAppletBeforeSubmit( )
    fixMultiSelectNonAppletBeforeSubmit( )
    .. and then referencing the "<multiselect-field>_selected" form element.
    So in your case, the code should look something like this:
    function myScript() {
        fixMultiSelectAppletBeforeSubmit(document.mainform,"variables.variable1");
        var el1 = getElement(document.mainform,"variables.variable1_selected");
        // assign the value to variable2..
        el2 = getElement(document.mainform,"variables.variable2");
        el2.value = el1.value;
    }Just make sure ":variables.variable2" is not a multi-select field, else the value set here will be reset during form submission.
    Adi
    [www.xpressutils.com|http://www.xpressutils.com]

  • How to set focus on a field

    Hi:
    I have a form in IDM and I need to set the focus on a specific field after an action, but i don&acute;t know how to do it.
    Can anyone help me?
    Thanks.

    You'll need to create a javascript snippet that uses the onload function for the page and sets the active field within the JS function that is called by onload. You can apply the JS into your form with:
    <Field>
    <Display class='Javascript'>
    <Property name='script'>
    <String>
    function setActiveField()
    document.FORMNAME.FIELDNAME.focus();
    window.onload = setActiveField;
    </String>
    </Property>
    </Display>
    </Field>

  • Material Create Batch Management Mandatory Field

    Hi all,
    I would like to create material but the batch management fields in several views. Has it relation with, material type or material group or plant? And how can i disable this property for one of our plant ?
    Regards,

    >
    techmaster wrote:
    > Hi all,
    > I would like to create material but the batch management fields in several views. Has it relation with, material type or material group or plant? And how can i disable this property for one of our plant ?
    >
    > Regards,
    Batch management check once enabled, doesnot need to be enabled again in other view, its automatically enabled as they are all linked together and yes you can disable it for one plant.
    In OMSR, look up for field MARC-XCHPF which is for batch management and change the field reference to display and save
    Edited by: Afshad Irani on Apr 27, 2010 7:39 PM

  • How to set dynamic value for field Month when running background job ?

    Dear guys,
    I have a Z* report in our company, in the selection screen there is a period field (Month and Year) and this report running in background job periodically. My Question is how i can set for Month field become dynamic follow month value of date when this report executed ?
    Example :
    When Z* report running in background on 16.04.2008, Month Value will be 04 and when running on 16.05.2008, Month Value will be 05.
    Please advice.
    Regards
    Gunawan

    Dear guys,
    I have a Z* report in our company, in the selection screen there is a period field (Month and Year) and this report running in background job periodically. My Question is how i can set for Month field become dynamic follow month value of date when this report executed ?
    Example :
    When Z* report running in background on 16.04.2008, Month Value will be 04 and when running on 16.05.2008, Month Value will be 05.
    Please advice.
    Regards
    Gunawan

Maybe you are looking for

  • Need function module or Bapi name for uploading CJ02 tcode

    Hi All, When i am trying to record the data for TCODE : CJ02 i need to enter the project Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option

  • Binding on an iterator always return the first row  of the Children VO...

    I have 3 pages: A -- tree table bound to VO A; B is used to view the detail of a row selected inside the table; Inside B there is another table that contains the childrens VO of B. Select a row in the table will launch C to view the details of the ch

  • Pull XMLDATA from Varchar2 column type

    Hi All, I have a column (data_xml) in a table of varchar2(400) type in which XML data is stored. I want to read that data through sql query. The Problem: In xml there is something called <comments>AT&T </comments> which is causing a problem because o

  • Exporting to word from crystal without frames

    good afternoon, I have problems with the export from a word crystal, because everything is generated on me frameworks. pc sell any component or provide some advice for me to export a word without frames?. thank you very much for your attention and ho

  • How to Customize subscription service?

    Hi   I would like to customize the subsciption service in the following manner:   1) I want to customize the subscription service so that if the user makes a contribution he should get the automated mail that the object is published on the portal.