"CS_BI_BOM_CREATE_BATCH_INPUT1",  I need to create mutilple items.

I saw this thread "use "CS_BI_BOM_CREATE_BATCH_INPUT1", only one bom item saved? "  in May.  I am now using this FM, does anyone have the answer?
Regards,
Greg

Hi,
It is very late reply but this is for others.
Just keep  BOM_ITEM-XLINE = '0001' for all line items.
Regards,
Rupom

Similar Messages

  • Need to Create Line Items through CRM_ORDER_MAINTAIN

    Hi all,
    I need code for creating Line Items with product and Quantity through CRM_ORDER_MAINTAIN,
    I am able to create header and the partner data through CRM_ORDER_MAINTAIN.
    Suggest the solution.

    Since you have already used the function module CRM_ORDER_MAINTAIN for partners, it shouldn't be difficult for you to use it for more sets of data. Well, the idea is to know what is required to be filled in the input fields and keys. There is a report program CRM_ORDER_READ. Use this with an existing transaction that contains the type of data you want to know about. You will get lot of insight into the data required to for any set of data.
    Also, see this thread for some sample code
    Set item, partner data of sales order using BAPI_BUSPROCESSND_CREATEMULTI

  • Need to create stock item reservation with account assignment

    Hi Gurus,
    we are working on EBP 4.0 , extended classic scenario . We have a scenario where we want to create a shopping cart for stock item reservation with account assignment as work order.
    but when we try to do it , we are getting following error message
    "Unable to create stock reservation for this account assignment."
    Any ideas how this can be resolved?
    Regards,
    Mangesh

    Hi Mangesh,
    In reference to the info. you have provided, the issue seems to be with the account assignment category than anything else.What do you mean by Account assignment as work order? Need some clarity in this statement, to help you in this regard.
    You can create a cost center (account assignment) P.O and can mention the storage location. The stock will be updated in the storage location where as the FI document will be posted against the cost center.
    Rgds,
    Teja

  • Need to create link items dynamically

    Hi,
    I need a help from you guys regarding the creation of dynamic link items.
    Version: 9i.
    Technology: OAF.
    Regards,
    tamil.

    Tamil,
    The "you guys" you need to ask can be found [url http://forums.oracle.com/forums/forum.jspa?forumID=210]here
    John

  • How to create an item Phone Number of US Format

    Hi,
    Need to create an item in a page Phone Number.
    The Item should accept only US Phone Number Format.
    Need Suggestions.
    Regards,
    Krishna

    Hi Krishna,
    You can make the US Phone format validation in the Page controller by making a validation function and call this validation function on the submit button or form submission. u can use the following function in the page controller-
    public void validatePhone(String sPhoneNumber )
    Pattern pattern = Pattern.compile("\\d{3}-\\d{3}-\\d{4}");
    Matcher matcher = pattern.matcher(sPhoneNumber);
    if (matcher.matches()) {
    throw new OAException("Phone Number Valid", OAException.INFORMATION);
    else
    throw new OAException("Phone Number must be in the form XXX-XXX-XXXX", OAException.INFORMATION);
    and call the validation function in processFormRequest function
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAMessageTextInputBean msgInBean =(OAMessageTextInputBean)webBean.findIndexedChildRecursive("<id of the element>");
    if ((pageContext.getParameter("<submit button>") != null))
    String val =(String)msgInBean.getValue(pageContext);
    validatePhone(val);
    u also have the following imports in the controller -
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    I hope this will help u.
    Regards
    Renu

  • While Sales Order Change , need to create Billing plan Item wise

    Hi ,
    We are using BAPI_SALESORDER_CHANGE for changing item category as well as parallely need to create billing plan item details (FPLT-FKDAT, FPLT-AFDAT, FPLT-NFDAT), Hence Please tell me the Procedure.
    Example: Billing Plan is Depending on Item Category, In my scenario , initially Item category do not have Billing Plan Tab, When we go for BAPI_SALESORDER_CHANGE for changing Item Category to Supported Billing Plan, So How can we update (FPLT-FKDAT, FPLT-AFDAT, FPLT-NFDAT) in Billing Plan Tab for every sales order item.
    Regards
    Jana

    Hi Ravi,
    Can You explain in detail.
    Regards
    Jana

  • Dynamically need to create multiple text or select items.

    Hi All,
      There is a requirement in my application, we need to create multiple textbox or selectlist items, on click of "add" button in apex.
      Any help on this how i can process the request to create multiple items dynamically on click of "add" button.
    Regards,
    Sruthitamiri!!

    APEX_ITEM

  • New to applescript. need to create a plist file using applescript

    Needed some help I need on creatinga plist file below using applescript and I can't make it happen needed some hand on this.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Username</key>
    <string>${localAdminUser}</string>
    <key>Password</key>
    <string>${localAdminPassword}</string>
    <key>AdditionalUsers</key>
    <array>
    <dict>
    <key>Username</key>
    <string>${userName}</string>
    <key>Password</key>
    <string>${userPassword}</string>
    </dict>
    </array>
    </dict>
    </plist>
    I have tis code but it doesn't seems to work.
    tell application "System Events"
      -- create an empty property list dictionary item
              set the parent_dictionary to make new property list item with properties {kind:record}
      -- create new property list file using the empty dictionary list item as contents
              set the plistfile_path to "~/Desktop/example.plist"
              set this_plistfile to ¬
      make new property list file with properties {contents:parent_dictionary, name:plistfile_path}
      -- add new property list items of each of the supported types
      make new property list item at end of property list items of contents of this_plistfile ¬
                        with properties {kind:string, name:"Username", value:"${localAdminUser}"}
      make new property list item at end of property list items of contents of this_plistfile ¬
                        with properties {kind:string, name:"Password", value:"${localAdminPassword}"}
      make new property list item at end of property list items of contents of this_plistfile ¬
                        with properties {kind:list, name:"AdditionalUsers"}
      make new property list item at end of property list items of contents of this_plistfile ¬
                        with properties {kind:string, name:"Username", value:"${localAdminUser}"}
      make new property list item at end of property list items of contents of this_plistfile ¬
                        with properties {kind:string, name:"Password", value:"${localAdminPassword}"}
    end tell
    The result of the above code will generate a plist file below
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>AdditionalUsers</key>
              <array/>
              <key>Password</key>
              <string>${localAdminPassword}</string>
              <key>Username</key>
              <string>${localAdminUser}</string>
    </dict>
    </plist>

    Hello
    You need to create elements at correct container. Like this.
    set plist_file to (path to desktop)'s POSIX path & "example.plist"
    --set plist_file to "~/desktop/example.plist"
    tell application "System Events"
        tell (make new property list file with properties {name:plist_file})
            make new property list item at end with properties {kind:string, name:"Username", value:"${localAdminUser}"}
            make new property list item at end with properties {kind:string, name:"Password", value:"${localAdminPassword}"}
            tell (make new property list item at end with properties {kind:list, name:"AdditionalUsers"})
                tell (make new property list item at end with properties {kind:record})
                    make new property list item at end with properties {kind:string, name:"Username", value:"${localAdminUser}"}
                    make new property list item at end with properties {kind:string, name:"Password", value:"${localAdminPassword}"}
                end tell
            end tell
        end tell
    end tell
    Or you may create a record in AppleScript and set the value of plist file at once. Like this.
    set plist_file to (path to desktop)'s POSIX path & "example.plist"
    --set plist_file to "~/desktop/example.plist"
    set dict to ¬
        {|Username|:"${localAdminUser}", |Password|:"${localAdminPassword}"} & ¬
        {|AdditionalUsers|:{¬
            {|Username|:"${localAdminUser}", |Password|:"${localAdminPassword}"} ¬
    --set dict to {|Username|:"${localAdminUser}", |Password|:"${localAdminPassword}", |AdditionalUsers|:{{|Username|:"${localAdminUser}", |Password|:"${localAdminPassword}"}}}
    tell application "System Events"
        tell (make new property list file with properties {name:plist_file})
            set value to dict
        end tell
    end tell
    Regards,
    H
    Message was edited by: Hiroto (PS. Fixed second script so that it uses the original case (uppercase)  in key string)

  • Need to Create delivery on the basis of sales order and schedule line

    Hi,
    I need to create delivery on for sales order which is splitted in schedule line number (ETENR).
    I am using FM RV_DELIVERY_CREATE and passing sales order number with single line item at a time for different (schedule line) VBEP-ETENR. but it is creating the delivery for all schedule line  items in first time only and in second loop it is not returing any thing even error. can any one please suggest me  urgently what can I do for it.

    Hi Ankit,
    You will have to create your own program to do this.
    There is no standard way todo this.
    Best regards,
    Ramki

  • Creating page items from pl/sql procedure and using them on a page

    I have a page containing 2 select lists (P21_DEPARTMENTS and P21_DATE). Originally I added them as items that were "select list with submits". The problem is that based on the clearance level of the currently logged on user I only wanted the P21_DEPARTMENTS to be a select list if the user was an administrator. If however the user is not an admin then I want the page to have a hidden form field called P21_DEPARTMENTS that stores the user's department and has a label item that has the department name.
    There is also a report region that generates a table based on the department selected from the select list (if the user is an admin) or the value stored in the hidden form field if the user is not.
    My problem is that I cannot have both those items on the same page and use the HTML built-in authentication to determine which item should be rendered because I need to use the same ID for both items so that the stored procedure in my report region doesn't break. HTML does not permit items to share the same ID.
    I tried to circumvent the problem by creating a stored procedure that performs all of the item rendering in the procedure and uses "htp.p()" to output all of my HTML code. This solution would allow me to pass a parameter into the procedure informing me as to whether or not the user is an administrator. If the user is an administrator the procedure would use a conditional statement and render a select list. If not, the hidden form field and label option would be used instead.
    I finally got the stored procedure working perfectly. Now I am encountering the most bizarre thing. Since the "select list with submit" was not working (I used the same code that gets generated when I created other items using htmlDB's GUI) I decided to use a JavaScript function instead that gets triggered by the onChange event. I send along the value that is currently selected in the select list and in the function I set:
    location.href='http://www.myoraclesite.com/pls/htmldb/f?p=111:21:729740000000000000::NO::P21_DEPARTMENTS:1';
    In theory this should work. The problem is that it doesn't. The page reloads and the P21_DEPARTMENTS select list is not pre-selected.
    The only thing I can think of is that when htmlDB generates page items that you've created with it's own admin tool it assigns some internal guid or something as opposed to when someone tries to generate dynamic page items of their own from a pl/sql procedure it's like the application doesn't even know they exist.
    Any help would be GREATLY appreciated.
    My only other solution would be to create a totally separate page (one for admin and another for non-admin). I would really like to avoid this.
    Thanks in advance.

    I would love to be able to generate my menus and
    various other items in my htmlDB applications in much
    the same way I can using ASP, PHP and Cold Fusion.
    Users should have the ability to write server-side
    code wherever they feel like it. The way htmlDB works
    right now I spend more time trying to figure out how
    to create simple effects and generate simple
    interfaces when I need to be building a portal. Ami - it's important to understand that HTML DB is not like other languages. Thus, trying to force concepts which are common in other languages into HTML DB will often result in more work.
    It's definitely worth the time to go over the HTML DB 2-day Developer, which can be found here: http://www.oracle.com/technology/products/database/htmldb/pdf/B14377_01.pdf
    I can build a portal using Classic ASP, C#, PHP or Cold
    Fusion in like 1/10 of the time that it takes me to
    build one using htmlDB. I understand that this is not
    meant for the hard-core programmer but no web
    programming application in today's day and age should
    prevent experts from getting under the hood.And I can build a Portal in HTML DB in 1/10 the time it will take me to do it in any other language. It's like anything else - proficiency comes with practice and work.
    As for getting under the hood, there is plenty of places you can do that with HTML DB. Keep in mind that HTML DB itself is an HTML DB application, so the limits on what you can build with HTML DB are virtually limitless.
    Sorry for the vent there. After spending the last 2
    days trying to figure out how to implement such a
    straightforward thing and now being informed that it
    can't be done kind of bugged me.I understand your frustration, as I've been there before. My rule for beginners is that if you are writing more than a line or two of code in the first week, you're doing something wrong. Stop, take a break, and then use the ample resources (including searching this forum) to help solve your problem. There are plenty of resources available for you to learn about HTML DB on the HTML DB home page: http://otn.oracle.com/htmldb
    Good luck,
    - Scott -

  • How to create list items with multiple attachment files using rest api javascript

    In one of user form I am using javascript rest api to create a list item with multiple attachment files. So far I am able to create list item and once created uploading an attachment file. But this is two step process first create an item and then upload
    a file.
    It create an additional version of the item which is not desired. Also I am not able find a way to attach multiple files in a go. Following is the code I am using.
    createitem.executeAsync({
                    url: "/_api/web/lists/GetByTitle('UserForm')/items(1)/AttachmentFiles/add(FileName='" + aFile.name + "')",
                    method: "POST",
                    contentType: "application/json;odata=verbose",
                    headers: {
                        "Accept": "application/json;odata=verbose",
                        "X-RequestDigest": $("#__REQUESTDIGEST").val()
                    binaryStringRequestBody: true,
                    body: fileContent,
                    success: fnsuccess,
                    error: fnerror
    So somehow I need to combine item attributes along with attachment files in body: param. I visited https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListItem but no success.
    Appreciate any help.

    Thanks Mahesh for the reply and post you share it was useful.
    But this does not solve the core of the issue. You are uploading attachments after creation of item and multiple files are being attached in loop. This is kind of iterative update to an existing item with attachments. This will end up creating multiple versions. 
    What I am trying to achieve is to create an item along with multiple attachments in a go. No item updates further to attach a file.
    Please suggest how this can be done in one go. SharePoint does it when one creates an item with multiple attachment.
    Thanks for your reply.

  • Question - are we not able to create indexed items in custom folders?

    Just a question here. I would like to use the index/Value option for parameters in a workbook. This is where the List of Values drop down box for the parameter would show both the index number and the value and let you choose to select based on the index or on the value. An obvious example of this would be with months, where you would have January (1), February (2), March (3), and so forth. To do this, you have to set up indexed items in Discoverer Administrator.
    That is where I am running into a problem/issue. I am not being able to pick an item and click to look at its properties, scroll down to the Indexed Item property, click on that property, and get a list of items to pick from. On the indexed item property I see a value of <None>, and when I click on that property, no list of items pops up.
    I have defined indexed items before, but that was always done on regular folders (imported from the database). In this case, I am working with a custom folder.
    The SQL that I have keyed in for this custom folder is this -
    SELECT flex_value, description, flex_value_set_id, flex_value_id
    FROM fnd_flex_values_vl
    WHERE flex_value_set_id = 1011187
    ORDER BY flex_value;
    FND_FLEX_VALUES_VL is an Oracle view, that combines Oracle tables FND_FLEX_VALUES and FND_FLEX_VALUES_TL.
    My goal would be to show both the FLEX_VALUE and the DESCRIPTION in the parameter to the users, so they can better decide what value(s) they want to pick. This is a general ledger application that I am working with, with the General Ledger account number segments and the Flexfield value set for each segment (we are using 7 segments to define our general ledger account number).
    Am I not able to define indexed items when working with a custom folder? The documentation is not real clear. It talks about simple folders and complex folders, but does not mention custom folders, at least that I can find. Or perhaps I need to do something different with how I code the SQL for the custom folder to enable me to define indexed items in the custom folder?
    Hope this makes some sense. Always a challenge to explain the situation in a clear manner. Thanks for any insight/assistance anyone can give me on this.
    John Dickey

    Ahh, those picky little details. Once I created an Item Class LOV on my item, then I could click on the Indexed Item property and get the list of fields in the folder to show up and pick my item (to be the indexed item) from that list. I went back to the user guides and the documentation sure does not indicate this requirement. For example, in the Discoverer Administrator guide, you have the section (page 9-30 in the version I have) titled "How to assign an indexed item to an item". Nowhere in that section does it say that you have to create an Item Class LOV first to be able to do this. Though it does show how if you do not have an LOV on the item you pick to be the indexed item, you will be prompted to create an LOV for that item. In the past I had my LOVs created first. This time I was trying to do the indexed item first before creating my LOVs. So lesson learned - you have to create an Item Class LOV first before you can assign an indexed item to an item.
    Thanks for the assistance.
    John Dickey

  • SharePoint Designer 2013 workflow - creating new items in the list

    Hi,
    I need to create a workflow in SharePoint designer 2013. Basically the flow is like that:
    There is a Request List where people submit their requests. The requests have status: Submitted and Completed.
    Once the status goes to 'Completed" there should be a workflow triggered that creates an entry in another list; VoC list and populate VoC columns. Additionally there should be an email send to the requestor that the request has been processed.
    I tried to do that but I failed - what do I do wrong? It keeps telling me that there is an error in workflow.
    Could you, please help me? Thank you.
    Thank you.
    Kind regards,
    Jowita

    With this command it populated the Voc list. But when I tried to add additional fields, the workflow did not work. Fo example, I've got a column "Requestors Name" in Request List and I would like the same column in Voc List to be automatically
    populated with the data from Requestors List. I set Field Requestors name to Value Current item:Requestors name but it did not work :-(
    What do you mean by "VoC column is already created in VoC list"?
    And one additional question: is it possible for the workflow to automatuically create new columns in the VoC list?
    Hi Jowita,
    We could use workflow to populate values in column but not populate new columns, so the column should be created in list manually before workflow.
    As I understand now, you need to use workflow to populate at least two columns in another list, and one is person or people type. I captured a screenshot for your reference, pp column is in person or group type in both two lists, please set return
    type as Display name:
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Creating Error message during creation of SC using create limit item option

    Hi,
    I am using option "create limit item" option to create a service SC, now i need to set an Error message if the value in the "value limit" field is lower than the value in the "expected value" field during the creation of sc and i should not be able to order such cart. Currently there is no message displayed and i can create a SC with the lower value in the value limit field.
    Please suggest.
    Regards
    GGL

    Hi. Try BBP_DOC_CHECK_BADI to issue a custom error.
    Regards,
    Dave.

  • Help needed for creating 1 invoice for 2 different material types.

    Dear, Gurus
    I really need help here I have spent 3 days cracking my head trying to solve the problem. Problem is client was creating invoice with reference to order and while invoice was being made it would cause an invoice split. The materials involved are Trading Good and Service Material. They would like only 1 invoice. Note nothing was different except material group and item cat. of the material. payment terms billing dates partners everything is same.
    Current item config for Trading Good material is ZMPI-project item cat.
    Copying requirements   023  Item ord.ref. w/o AZ        Billing quantity     A
    Data VBRK/VBRP         000                                           Pos./neg. quantity   +
                                                                                    Pricing type         K
                                                                                    PricingExchRate type
                                                                                    Price source
    Current item config for service Material is TAD-Service
    Copying requirements   002  Item/order-related          Billing quantity     A
    Data VBRK/VBRP         001  Inv.split (sample)            Pos./neg. quantity   +
                                                                                    Pricing type         G
                                                                                    PricingExchRate type
                                                                                    Price source
    I was told to change Data VBRK/VBRP to 003 One Invoice which I did in both of these item cat. and yes they worked perfectly but at time of creating the invoice for service material the qty that showed was 11. Note: In sales order it is 1 qty. So I went back into the config of item cat TAD and changed copying requirement to 023 instead of 002 but nothing changed. Seems a qty of 10 is referencing something else which I have no idea what or where it is picking this up from. Just to see or test things I went into the sales order and tried changing the service material qty then a weird popup appears and says service order 12344456 has been blocked. (Seriously I have no idea why this would happen or should be existing at all.) Even if for some reason it is being referenced the service order that is existing is qty 1.
    I really really do need help and if someone can help me that would be god sent.
    Regards, Ali

    You did not mention what value is maintained in the field billing quantity in the copy control->Item settings. Check for the service item, what value is assigned. Put value A and re-test.
    Note that whenever you change any settings in configuration side, you need to create a new documents to test the results of the settings. You should not use the existing documents.
    When you say the document is blocked, then check the status of the sales order to find the reason for blocking (like credit block, approval etc)..
    Regards,

Maybe you are looking for