FM to create DN from PO assigning batch No.?

I need a FM to convert PO to DN, assigning stock batch no. as well.
Currently using BAPI_OUTB_DELIVERY_CREATE_STO but I can't assign batch no.
thus I can not use this BAPI function.
Can any one help me? thx

I think the scenario your are talking about is Stock Transfer where one plant A create a PO and material delivery is done from the other Plant B (with movement type 641)
When u are doing GR at Plant A then u have to give reference of outbound delivery number only which was created at Plant B.
Please check that you have all required authorizations and also your are selecting the correct Delivery number
Hope this will help you
Enjoyyyyyyyyy
Akshit

Similar Messages

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Batch create snippets from topics?

    Hi all, just wondering if its possible to batch create snippets from a heap of topics. I've got a lot of topics that I want to create snippets from for single source purposes and having to add them to the snippet library one by one is becoming teadous. Just wondering if it can be done, evena drag and drop or something would speed things up.....
    another quick thing, once I've create these snippets (from topics), the original topic that they were made from is now totally redundant isn't it? meaning I can delete it, I can see any relationship between the 2.
    These are only snippets made from an entire topic.

    Hi there
    I'm unclear on how snippets will help here. Please advise us on exactly how this topic you wish to change to a snippet currently works. Are you inserting it using inline frames or what?
    I'm failing to see why you would want to change an entire topic to a snippet.
    Indeed if you had the topic content as a snippet you would be able to delete the topic as the data is now inside the snippet.
    Snippets are used to insert repetitive text into certain areas of other topics.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Account assignment category in Auto created PO from shipment cost document

    Hi
    During shipment cost settlement PO generation is mandatory .
    In the configuration of Shipment cost item category I have taken Account Assingment Category as K
    When PO is created automatically the Acct Assignment  Category taken is U which is grayed out .
    I want to know why does system propose U in PO
    If i want to change the default value proposed by the system in PO from U to M where is the setting done
    Can you please suggest a solution
    Thanks and Regards
    Sunil Iyer

    Please read OSS note 506605.
    It seems that accout assignment "U" is hard coded in case of PO created from shipment cost document and you can define your own rule via "EXIT_RV54POCR_007".

  • How to assign batch to BOM line item when creating PO

    Hi Experts,
                  Programmatically i am creating PO using BAPI_PO_CREATE, for the line item  material of PO their is BOM, i am able to get the BOM for each material, but  struggling to find where can i assign Batch to the BOM line item material.
    Thanks in advance
    Thanks,
    Nitesh

    Even though the ORDCHG message contains all three line items, it should also contain qualifiers that tell you Supplier whether the line is new, changed, deleted etc. If your Supplier has SAP, it should just work.
    Cheers, Paul.

  • Can I batch create symbols from layers?

    I have Illustrator files of some fairly complicated schematics that I will be bringing in to Flash. The layers are already well organized and named so I would like to select particular layers, hit a "create symbols" button and have all of the selected layers turned into separate symbols that have the same name as their layer name. I would even be willing to code something to do this but I can't find any information about how it can be done.
    I know that I can import an Illustrator file into Flash and select layers that I can then make into movie clips but again, I have to manually select the layer, tell it to be a movie clip and then give it an instance name. I would be happy to try to automate that process as well but haven't found any info on how it can be done either.
    Does anyone have any ideas on how I can batch create symbols from my existing layers?

    I figured this out using recursion. Pasted here in case it helps someone else:
    #target Illustrator
    var docRef = app.activeDocument;
    var layersRef = app.activeDocument.layers;
    var layersCount = layersRef.length;
    var mySymbolInstance = null;
    if ( app.documents.length > 0 ) {
        // if the file is not empty, loop through all levels
        recurseLayers(docRef.layers);
        clearEmptyLayers();
        alert("I'm done");
    function recurseLayers(objArray) {
        // loop through main layers
        for (var l = 0; l < objArray.length; l++) {
            // loop through secondary layers
            if (objArray[l].layers.length > 0) {
                recurseLayers(objArray[l].layers);
            // loop through first level groups
            if (objArray[l].groupItems.length > 0) {
                recurseGroups(objArray[l].groupItems);
                // create a group
                var layerGrp = objArray[l].groupItems.add();
                //give new group the same name as the old group
                var layerName = objArray[l].name;
                layerGrp.name = layerName;
                // get all page items from group
                var layerGrpPageItems =  objArray[l].pageItems;
                //alert("how many group page items: " + layerGrpPageItems.length);
                for (var li= layerGrpPageItems.length-1; li >0; li--) {
                    // will become the symbol name
                    var layerPageItemName = layerGrpPageItems[li].name;
                    // if it's not already a symbol, make it into one
                    if (layerGrpPageItems[li].typename == "SymbolItem") {
                        layerGrpPageItems[li].moveToBeginning(layerGrp);
                    } else {
                        // create symbols
                        createSymbol(layerGrpPageItems[li], layerGrpPageItems[li].name);
                        // add symbols to group
                        mySymbolInstance.moveToBeginning(layerGrp);
                        // remove original content
                        layerGrpPageItems[li].remove();
                // create symbols from layer
                createSymbol(layerGrp, layerName);
                // remove original layer content
                layerGrp.remove();
    function recurseGroups(objArray) {
        for (var g = 0; g < objArray.length; g++) {
            // loop through second level groups
            if (objArray[g].groupItems.length > 0) {
                recurseGroups(objArray[g].groupItems);
                // create a group
                var grp = objArray[g].groupItems.add();
               //give new group the same name as the old group
                var groupName = objArray[g].name;
                grp.name = groupName;
                //alert("which group is this? " + groupName);
                // get all page items from group
                var grpPageItems =  objArray[g].pageItems;
                //alert("how many group page items: " + grpPageItems.length);
                for (var gi= grpPageItems.length-1; gi >0; gi--) {
                    // will become the symbol name
                    var pageItemName = groupName + "_" + grpPageItems[gi].name;
                    createSymbol(grpPageItems[gi], pageItemName);
                    // add symbols to group
                    mySymbolInstance.moveToBeginning(grp);
                    // remove original content
                    grpPageItems[gi].remove();
    function createSymbol(element, elementName) {
        //alert("elementName" + elementName);
        // create symbols from all items in the group
        var symbolRef = docRef.symbols.add(element);
        //alert("element unnamed before: " + elementName);
        // if the element name is empty, give it a name
        var addElementIndex = 0;
        if(elementName == "") {
            elementName = "unnamed" + addElementIndex;
            addElementIndex++;
        // loop through all the symbols in the document
        var symbolCount = docRef.symbols.length;
            for(var s=0; s<symbolCount; s++)  {
                // existing symbols
                var symbolCheck = docRef.symbols[s];
                //alert(symbolCheck.name);
                var addIndex = 0;
                // if the name already exists, add the index number to it and increment
                if(elementName == symbolCheck.name) {
                    elementName = elementName + addIndex;
                    addIndex++;
        symbolRef.name = elementName;
        //alert("symbol name: " + symbolRef.name);
        mySymbolInstance = docRef.symbolItems.add(symbolRef);
        mySymbolInstance.left = element.left;
        mySymbolInstance.top = element.top;
    function clearEmptyLayers() {
        if (documents.length > 0 && activeDocument.pathItems.length >= 0){
            for (var ni = layersCount - 1; ni >= 0; ni-- ) {
                // get sub layers
                var topLayer = docRef.layers[ni];
                for(var ii = topLayer.layers.length - 1; ii >=0; ii--) {
                    // delete empty sub layers
                    if ( topLayer.layers[ni].pageItems.length == 0 ) {
                        topLayer.layers[ni].remove();

  • How to assign Batch jobs ..........

    Hi,
    I want to know as to how can i assign Batch Jobs to different plants and in by which Tcodes can I see the programs of the Batch jobs.
    Thanks

    Hi Jyoti
    for specfic plant u have to create a variant for batch job.afterwards u have to schedule and release batch job by putting start date for batch job.
    You schedule a batch job in <b>SM36</b> and check whether the job has successfully completed in <b>SM37</b>.
    The host or server names that appear when you choose F4 for the target field in <b>SM36</b> are retrieved from the message service. They can be local or virtual.
    Hope ths helps
    Please reward points
    Sunil

  • Cannot create iView from PAR file

    I am trying to create an iView from PAR file. But when I select the option,
    "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR) file"
    and click next, I get the following error.
    Error______________________________________
    Step 1:  Portal Archive Selection
    No templates to display. You are not assigned to any existing templates.
    I have portal_configurator and developer roles assignmed to myself. Which other role do I need? I cannot get admin role.
    Note: Other users with admin roles can create iViews.

    Hi
    What is your portal version details ?
    In EP 7.0 you do not have the option -- New From PAR.
    So to create IView from Par, you should select the option New --> IView and then there will be an option to select par file.
    Otherwise
    1.Check if your par file is deployed on server.
    2. Check the portalapp.xml, if you have configured your components properly.
    Cheers
    Chinmaya
    reward for helpful answers

  • PS: WBS is not flowing for a Material, while creating delivery from Project

    Hi,
    While creating delivery from Project thro CNS0, WBS is not flowing for a Material in delivery, in turn WBS is not flowing in Billing document for same material, in turn not allowing to Post the Billing document to Accounting.
    Error while releasing Billing to the Accounting: Accounting Entry is not generated. Error Message:Assign Condition type
    YMRG in COPA.
    Pls let me know, what can be the reason ?
    Thanks.
    Amit.

    Hi Kuldeep,
    Check this note,
    Note 159387 - Message BP603: incorrect line item is displayed
    Its valid only till 4.6. Might give you some idea but.
    Regards,
    Gokul

  • Error while creating transformation from DSO to InfoCube

    Hi Gurus,
       When i am creating tranformation from DSO to InfoCube getting an error,        " The unit/currency 'Source Currency 0CURRENCY ' with the value 'space' is  assigned to the key figure 'Source Key Fig. ZAMT_PLC ' with the value   
    '8.50 ' "
    ZAMT_PLC is created with 0CURRENCY.
    On checking we found that there is no value stored for Currency field in table level itself. Now in this case how do we avoid this error.
    I want to know why is this we need to have value for 0Currency field???
    Thanks & Regards,
    Anup

    Hello Anup,
    If you load a key figure which has a unit assigned to it,
    then for every records where the key figure has a valid value
    (value 0) the corresponding unit has to be delivered as well.
    Additionally please check note 1366474 regarding the RSTRAN 312
    error message:
    "The corrections contained in Note 1165168 are incomplete.
    Depending on the sequence during loading, the system may not issue error
    message RSTRAN 312 even though data regarding the assigned unit or
    currency "space" is incorrect."
    This means actually, that the system should have issued the RSTRAN312
    error message even before the upgrade, but for some reason this
    check found no issues in some constellations. This means furthermore
    that your system behaved incorrectly in the past, that this
    error message was not triggered if you loaded key figures without
    any unit.
    I'm sorry to tell you, but the system behaves and works as designed
    as it should be even before the correction from note 1366474.
    Please change your transformations for key figures which
    have a unit assigned, that the unit field is filled correctly.
    with the corresponding units, otherwise the system will abort
    the processing of the data with the above mentioned error
    message.
    Best Regards,
    Des

  • Error while creating activities from Account application (Activity tab page

    Hi Experts,
                       We are using CRM 5.0 with PCUI ( EP 7.0 version). We are getting  below error when try to create activities from Account application in PCUI ( from activity tab page):
    Error : Activity contains error.
    Diagnosis
    This transaction has errors.
    Procedure
    To correct the errors, go to the maintenance interface of the transaction.
    To navigate to there, use the link to the account application
    Pls suggest how to proceed with this error & helpful solutions would be rewrded generously.
    Regards,
    Basavaraj Patil

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • While creating PO using BAPI_PO_CREATE1 vendor batch number is not comming.

    Hi Friends,
    I am using BAPI "    'BAPI_PO_CREATE1' to create PO in my report.
    The PO's are getting created but i the vendor batch number is not found in the PO.
    Where as i am passing the vendor batch number.
             bapimepoitem-vendrbatch = '2'.
              bapimepoitemx-vendrbatch = 'X'.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader          = bapimepoheader
          poheaderx         = bapimepoheaderx
          memory_uncomplete = 'X'
        IMPORTING
          exppurchaseorder  = v_po_number
        TABLES
          return            = bapiret2
          poitem            = bapimepoitem
          poitemx           = bapimepoitemx
          poschedule        = bapimeposchedule
          poschedulex       = bapimeposchedulx.
        Commit the transaction
      IF v_po_number NE space.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = 'X'
          IMPORTING
            return = bapiret2_c.
      ENDIF.
    Please reply urgently.
    Thanks Regards,
    Sandipan Jena

    Hi
    My answer is pure assumption.
    Please check the following OSS notes
    Note 758810 - BAPI_PO_CHANGE vendor batch and batch not visible
    Note 1230268 - Field Vendor Batch never filled for PO BAPIs
    Please take help from BASIS and SAP, before implementing the OSS note
    Regards
    Madhan D

  • How to setup Compressor to create video from multiple sequences within FCP?

    I am wondering how I can set compressor up to create videos from multiple sequences within FCP. When I click file -> export - > compressor for a sequence and go into the program, it doesn't allow me to go back into FCP. I just get a spinning beach ball. Is there no way to set it up so I can prep a bunch of fcp sequences within compressor and then click submit and walk away? I have over 100 sequences that need to be exported so it would be a little difficult to do this one at a time. Thanks.

    Batch processing
    *Step one. Make sure everything in every sequence is rendered.*
    *Step two. Make a folder somewhere and name it something relevant.*
    *Step three. In FCP select all you sequences that you want to compress and right click (option), choose Batch Export from the contextual menu.*
    *Step three point one. In the batch export window click on settings and choose the folder you made in step two for the destination. Make sure Make Self-Contained is not check and include Audio and Video.*
    *Step four. Click export in the batch window.*
    Once that is done you can close FCP.
    Now in Compressor
    *Step five. Make a setting that will give you the output that you want (mpeg2, AC3, h.264, whatever). Make a destination for where you want to save the output.*
    *Step six. Make a droplet from the settings you made in step five.*
    You can quit Compressor now.
    *Step seven. Take the files that you batch exported from FCP in step three and four and drop them on the droplet you made in step six.*
    o| TOnyTOny |o

  • Workflow - create document from template

    Hi,
    Could anyone tell me what could be the possible use of Create Document from Template step in workflow...

    Hi vijay,
    1)Open the PC application by choosing the entry Double-click to create in the Document templates tray by double-clicking or choose  in the step definition of the document generation.
    The PC application that you last used to create a template is opened in the Workflow Builder. The system fields and the container elements of the workflow container are offered for selection in the navigation area. They can be transferred into the template by double-clicking.
    You cannot use any multiline container elements in your template.
    All relationships created between container elements/system fields and the document template are displayed in the object area.
    It is not possible to insert system fields and container elements into all types of document template.
    2) If you want to create a document template of a different class, select  Change document class and choose the new type of document template.
    3) Select  to assign a name for the document template.
    4) Create the document template in the usual way in your PC application. You can use all the functions of the PC application.
    5) Insert container elements and/or system fields from the object area into your template by double-clicking. These fields are replaced with the content of the container elements/system fields at runtime.
    6) Select  to save your document template.
    Hope this helps u,
    Regards,
    Nagarajan.

Maybe you are looking for

  • Sound card works but not when rebooting

    i followed all the steps... alsaconf alsamixer /etc...noise.wav alsactl store edited the rc.conf sound works but when i reboot, before the root i get the error... sound card not found?

  • Spacebar in Finder: I don't want a preview

    All right, when I'm in a window in the Finder, and I push the space bar with a file selected, I get a pop-up window with the contents of the file. While this is great if I had actually wanted to do that, what I really wanted was to jump to the file t

  • Creating documents for CMYK vs. RGB

    1. When creating a document that will be printed on an Epson Photo Sylus 1400 ink jet color printer, should a file be setup as CMYK or RGB? It has more than 3 ink cartridges, it has an ink cartridge for each of the c,m,y,k, though I read somewhere it

  • Field symbol - unicode warning

    data: begin of z, txtmg(11)         type c, ladpt(06)         type p decimals 3, zprun_o(06)       type p  decimals 3, end of z. field-symbols:         <menge>. "(even tried type any here) assign table field (z-txtmg) to <menge> . z-ladpt = <menge>.

  • OTL: Multiple approvers problem

    Hi, In our OTL-settings we choose the Project Manager to be the approver. E.G. When a person enters hours for 10 different projects/project managers. 9 of the Project Managers approve and 1 rejects. When resubmitted the whole time card is sent again