How to set for an asset a mandatory template?

My problem is, users can create assets and leave template attribute as null. I don´t want that. I want to set template as a mandatory field.
I request help.

Maybe you can try to customize "ContentForm"
OpenMarket/Xcelerate/AssetType/YourNewAssetType
<ics:setvar name='TemplateChosen' value='TeplateByDeafult'/>
http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/data_designbasictype.htm#CHDBIFEE
Regards,

Similar Messages

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

  • How to set for movement type 601 or 641

    Hi,
    For SAP standard, movement type 601 and 641 can post from restriced or block stock. In movement type setting, where can I set, then 601 or 641 can only post from unrestricted stock?
    Many Thanks
    Aries

    Hello Aries,
    I checked the system & can tell you the following. Only the 601 can book from the restricted (blocked) stock. You can't enter the stock type in the delivery but starting with 470 there's a BAdI, LE_SHP_GOODSMOVEMENT. With this BAdI you can tell the system to post the goods issue from the blocked stock.
    The mvt 641 is a different story: This movement type uses the quantity string MAU2. The quantity strings are defined in T156M. This string isn't able to post the GI from the restricted stock.
    I hope that this description is OK for you.
    Cheers,
    Attila

  • How to setting for the number range for Business Partner

    Dear Sir,
    I create the new role for Business Parnter , However, I would like to set the new number range for that buiness Partner with that role.
    Please kindly advise what is the step to do.
    Thank you and best regards,
    Vimol

    Hi Vimol,
    In CRM  standard system it is not possible to link specific role with specific grouping. 
    To achive the same go to following IMG path:
    SAP Implementation Guide>Cross-Application Components>SAP Business Partner>Business Partner>Basic Settings>Number Ranges and Groupings>
    Define Groupings and Assign Number Ranges
    Hope you selected the opton button for column 'Int Std.
    I already suggested a work around above.
    Best Regards,
    Satish Mathala

  • How to set the language of a mail template from NotificationUtil?

    Hi experts!
    I've been having some issues with the Message Template Language when using the NotificationUtil to send an Email.
    How do I set the language of the template?
    Do i set this by the sender? Or do I need to reference the recipient?
    If so, how could I get the Account Object Interface from the user given that I got him as a collaborator?
    I wish you could help me out whit this language problem.
    Here's an example of the code I'm using:
    Properties params = new Properties();
    params.put(new String("PHASE_NAME"), faseName);
    params.put(new String("DOCUMENT_TYPE"), docType);
    params.put(new String("DOCUMENT_NAME"), contractName);
    params.put(new String("OWNER_FIRST_LAST_NAME"), owner.toString());
    params.put(new String("START_DATE"), fecha);
    params.put(new String("INSTRUCTION"), "");
    params.put(new String("DOCUMENT_HEADER_URL"), vinculo);
    String[] recipients = {mail};
    sender = session.getAccount();
    mailTypeEnum = new MailTypeEnumType(MailTypeEnumType.ODP_WORKFLOW_APPROVAL_REQUEST_MSG);
    NotificationUtil.sendNotification(recipients,sender, mailTypeEnum,params,null,null);
    Thanks in Advance!

    Hi vikram!
    Sorry for the still inconvenience, but I'm getting this error:
    Error in method invocation: Static method sendNotification( com.sap.odp.usermgmt.masterdata.UserAccountBo, com.sap.odp.usermgmt.masterdata.UserAccountBo, com.sap.odp.api.comp.messaging.MailTypeEnumType, java.util.Properties, null, null ) not found in class'com.sap.odp.api.util.NotificationUtil'
    Im making the code the following way:
    Properties params = new Properties();
    params.put(new String("PHASE_NAME"), faseName);
    params.put(new String("DOCUMENT_TYPE"), docType);
    params.put(new String("DOCUMENT_NAME"), contractName);
    params.put(new String("RECIPIENT_FIRST_NAME"), nombre);
    params.put(new String("OWNER_FIRST_LAST_NAME"), owner.toString());
    params.put(new String("START_DATE"), fecha);
    params.put(new String("ORG_UNIT"), orgUnit);
    params.put(new String("INSTRUCTION"), "");
    params.put(new String("DOCUMENT_HEADER_URL"), vinculo);
    recipients = IapiAccountLocator.lookup(session, collaborator.getPrincipal()); // This Changed.
    ( I also tried like this:
    IapiAccountIfc recipients = IapiAccountLocator.lookup(session, collaborator.getPrincipal());)
    sender = session.getAccount();
    mailTypeEnum = new MailTypeEnumType(MailTypeEnumType.ODP_WORKFLOW_APPROVAL_REQUEST_MSG);
    NotificationUtil.sendNotification(recipients,sender, mailTypeEnum,params,null,null);
    Thanks again!

  • How to set #HOST# variable used in Chart template using Multiple Domains?

    I have a extended question to How can I set #HOST# variable referenced in the Chart template?
    In addition to the Proxy layer, we are looking to use multiple sub-domain names into the same Oracle APEX instance (through the one DAD) each mapped to a different application id. Therefore I don't think the solution in the link will work for me - as this embeds a single domain name in the DADS.CONF.
    Two questions:
    - Is it possible to set the "HTTP_HOST" in "dads.conf" using an existing HTTP Header value? - my proxy can pass on the original domain as "HTTP_X_FORWARDED_HOST". So if it was possible to use (say: using whatever form/syntax of parameterisation is available) ?
    >
    PlsqlCGIEnvironmentList HTTP_HOST=%{HTTP_X_FORWARDED_HOST}
    >
    If it can then that would work for me. It would be great if modl_plsql handled this out of the box as I understand the "X-FORWARDED" approach is pretty standard in the proxy world including passing on original IP addresses. Hitting an phpinfo() site shows headers
    >
    HTTP_X_FORWARDED_FOR     192.168.2.100
    HTTP_X_FORWARDED_HOST     dev.mycompany.com:443
    HTTP_X_FORWARDED_SERVER     mycompany.com
    >
    - Alternatively is it possible in APEX environment to set the #HOST# from the HTTP Header "HTTP_X_FORWARDED_HOST" if it exists for all requests?
    Thanks

    Hi Donna,
    changing the CGI environment variables HTTP_HOST, REQUEST_PROTOCOL and SERVER_PORT is the correct way how to resolve this, because it appears that your hiding the web server where you have installed mod_plsql or EPG by a different outside facing web server (also called reverse proxy). That's why APEX gets the host name, protocol and port of the internal web server, but should actually get the values of your reverse proxy web server. Can can fix that by changing the following CGI environment variables.
    HTTP_HOST should just contain the domain name (no protocol or port). For example: www.oracle.com
    REQUEST_PROTOCOL should contain http or https
    SERVER_PORT should be the port for https
    I don't want to add a new cgi variable called HOST because HOST sounds so generic and it might interfere with something else running in our environment. Or, I don't want to change the plsql cgi environment variable (such as HTTP_HOST) because many developers may use owa_util.get_cgi_env('HTTP_HOST') to get the current server. If the SERVER_PORT is part of the #HOST# then what could I change it to if it needs to be null. If you leave it blank, then the default SERVER_PORT comes from the CGI variables.The value of HTTP_HOST is wrong anyway and points to your internal web server, but I assume your developers actually want to get the host name of your external web server if they use it to generate absolute URLs. That's why I wouldn't bother and set it to the correct host name.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How to set the value of a data template parameter at runtime?

    I went through the document and found one line "A parameter is a variable whose value can be set at runtime.". But there is no further description or example about this feature.
    Can anyone tell how to do or show me a example?
    Thanks in advance

    Hi,
    define in the report-definition a parameter (for example p_deptno). This results in an entry in the xdo-file:
    <parameter id="p_deptno"> ....
    Define the same parameter in the Data Template ....
         <parameters>
    <parameter name="p_deptno" datatype="number"/>
    </parameters>
    and use this parameter in your Query:
    <sqlStatement name="QueryDept">
    <![CDATA[SELECT DEPTNO,DNAME,LOC FROM DEPT WHERE DEPTNO = :p_depnto]]>
    </sqlStatement>
    Regards
    Rainer

  • ORDS 3.0 - How to set VPD Context before executing SQL Template?

    I need to set a couple of attributes in an Oracle Session Context before the SQL/PLSQL template handler is executed, as we rely on Oracle VPD/Row-Level-Security for the data access.
    Is there a hook/functionality in ORDS 3.0 where I can register a PL/SQL (e.g. set_security_context(authenticated_user)) procedure, so this 'set_security_context' procedure is executed before and for each execution of a SQL/PLSQL template handler?

    I tried to log the request at Oracle REST Data Services (ORDS) but I could only start a new discussion: Possibility to register Pre-/Post-Procedures for an SQL Template Handler
    As I mentioned there, the PL/SQL handler approach works for me as long as I have no or only little data to send back to the client (e.g. put/post/delete succeeded or an error message why the call failed).
    If I need to return a lot of data from the PL/SQL handler I would need to, as far as I understand, to marshal the data to JSON and write it to the response body in the PL/SQL handler.
    I don't want to do the marshaling, because ORDS does it better.
    However, this works for me:
    I write a pipelined stored procedure that takes as input the attributes I need to set in the session context. I then can reference it in the SQL handler:
    select * from table(my_pipelined_function(:USER, ....)
    Now the JSON/HTTP response is created by ORDS again.
    I still needed to code a couple of lines, but it is way better than duplicating the functionality already existing in ORDS.
    With the hooks it would be perfect because I would not have to write any code (apart from the procedure to set the session context attributes), just configure the REST services in ORDS.

  • How to cusotmize the attribute of being mandatory for master data and order

    Hi,everyone
    how to make the  un-mandatory field on the verdor master data mandatory?
    Also, How  to set to define my own mandatory fields on  purchase order?   I also need to remove the mandatory setting which is pre-set by the system on many docutments&master data.
    How to fullfil them.
    thank very much

    hi
    for vendor master
    spro>Logistics - General>Business Partner>Vendor>Control>Define Account Groups and Field Selection (Vendor)
    or code  OMSG
    material master 
    OMSR
    Purchase Order
    Go to SPRO > MM > Purchasing > Purchase Order > Define Document Types > here get the Field selection key for the PO Doc type
    Now go to SPRO > MM > Purchasing > Purchase Order > Define Screen Layout at Document Level > Here the field selection key, under selection group "GR/IR control", mark "GR-based invoice verification" field as mandatory
    hope it help
    try asking the questions one by one
    regards
    kunal

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi,
    I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
    I  created a custom task in Sharepoint Designer 2007 using
    Collect Data from User
    Action.
    I created a field in the task form which is of choice type and
    unchecked allow blank values
    because i  wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
    without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly  tell me how to set the choice field as mandatory.

    Hi,
    You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
    This is by design that
    Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
    This thread has the JavaScript code can help you:
    http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
    Xue-Mei Chang

  • PS: Setting Project Profile as a mandatory field for Project Definition

    Hi,
    I would like to know how to set Project Profile as a mandatory field for Project Definition (CJ20N or CJ01).  I tried to look for controls at OPUK config but the Project Profile is not available for definition - either mandatory, optional, suppressed, etc.  Would appreciate if you can share your expertise on this.
    Thanks!
    Regards,
    Vivian

    Hi,
    I would like to know how to include some additonal fields in OPUK/OPUJ.  We have defined some .INCLUDE component / fields to SAP standard table PRPS/PROJ.  We want those fields to also appear in OPUK/OPUJ so that we could also defined their characteristics - whether input, mandatory, suppressed, etc.
    Thanks!
    Regards,
    Vivian

  • How to set MRP by MD04

    Dear
    I have Material master by setting in view MRP1 like below :
    MRP Type =  VB
    Reorder point  = 10
    rounding value = 5
    Now, my Stock on hand = 10
    When I use tCode MD04 for listing stock/ Requirement the result "MRP element" for PurRqs nothing, so I can't Create PR by MD04
    but if when my stock on hand = 9,  I found that
    Now My question : How to set for MRP, in order to "When My stock on hand = Reorder point then I can use to create PR by MD04 ?"
    thanks
    imron

    Hi,
    The system will not generate a P req until the stock has fallen BELOW the reorder point (not equal to it).
    So if you want the system to generate a P req when the stock reaches 10 you need to set the reorder point at 11.
    Steve B

  • How to set authorization - salesman with own customer

    Dear all,
    would like to know how to set for the following:
    User01 cannot create SO/Quotation with the user02's customer.
    If fact, we have 10 salesman and they have their own customer individually, each salesman is only enable to use their own customer to create SO/Quotation and they are not allow to see other's salesman's customer or SO/Quotation.
    please kindly help.
    thank you very much.

    Hi,
    a solution could be as follows:
    - create and mantain a ztable where you stablish the relationship between user and customer (this user can work with those sold-to's).
    - use userexit MV45AFZZ, form userexit-field-modificaction and check here if user creating the S.O. is found in ztable. Once you type in your sold-to system will check and you can pop-up an error message and stop the transaction if needed.
    - you'll need a developper for this solution.
    Regards,
    Joan

  • How to set and resent reconcilation a/c for Assent a/c

    hi
    how to set and resent reconcilation a/c for Assent a/c
    amk

    You are permitted to post the recon account undercertain special circumstances :
    USe the transaction codes OAMK and OASV.
    Kindly read the SAP on line documentation before making a postings directly to the recon account.
    Definition of the Reconciliation Accounts
    You are not allowed to manually post to the reconciliation accounts for Asset Accounting in Financial Accounting. Normally, you designate the corresponding General Ledger accounts in Financial Accounting as reconciliation accounts. This change, however, can no longer be made in Financial Accounting, once these accounts already have balances from the legacy data transfer. However, you can use a special report to assign these accounts the status of reconciliation accounts in Financial Accounting (in Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Set Reconciliation Accounts).
    There is another report for removing this specification (Reset Reconciliation Accounts).
    Subsequent Correction Postings to Reconciliation Accounts
    Suppose you have already defined the asset G/L accounts in Financial Accounting as reconciliation accounts, but still need to transfer balances to these accounts, or make corrections. You can make correction postings to these reconciliation accounts with a special posting transaction in Customizing for Asset Accounting (Transfer Balances), using posting key 40 or 50. You can only postings to those accounts in a company code with implementation status (Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Activate Company Code).

  • Str Loc Mandatory Setting for Project System PR

    Hi
    How can i make mandatory setting for a PR getting generated by project system thro the trans CJ20N.
    Since its not an mandatory field the PR s from project based are not hv str loc in PR.
    Also we are not able to edit the same. All the fileds are in PR in ME52N in grey colour whr the PR s from project based.
    Vijay

    if your material is not inventory managed, then you cannot have a storage location in the PR.
    If it is inventory managed, then you can set the defautl storage location in material master MRP view field Storage location EP

Maybe you are looking for