Order assignment in PO creation via ME27.

Hi Team ABAP,
i was searching the forum but could only find BAPI related threads about this topic, so i decided to ask.
We have a custom program in place, a returns monitor, from which you can do various things.
One of the things is that we can transpose certain records into PO´s using ME27.
This functionality is using actually a somewhat outdated method. It uses Batch input to create the PO using ME27.
But since it works, well why change it, but i fear the time for a change is now, at least if you guys got no idea^^.
Anyway on to the problem.
I got a new requirement where we can process individual customer stocks as well.
Setting the assignment category via BCD or in some enhancement of routine NEUE_POS_BESTELLUNG in program SAPMM06E works fine.
Even setting EKPO-UMSOK works and behaves correctly.
BUT i am unable to give order assignment.
I tried setting values of table ekkn (ebelp,zekkn, vbeln, vbelp).
I tried to create a XEKKN record (setting same values)
So if one of you knows a way to set order assignment either through batch input already or later in the routine itself, please let me know.
Edited by: Florian Kemmer on Nov 25, 2010 9:09 AM

resolved building the batch input map correctly.

Similar Messages

  • Planned order creation via MRP depends, If we change Delivery date in STO

    Hi,
    Planned order  creation via MRP depends, If we change Delivery date in Stock transfer Order.
    I created STO with delivery date as 31.1.2012 and when i checked MD04, i can see Planned order created on 27.2.2012 with the same above STO quantity .
    Now when i changed the delivery date as 30.1.2012 and runned MD03, and then checkd MD04, planned order disappeared.
    Why Planned order got created when STO delivery date was 31.1.2012 and when I changed the delivery date in PO, planned order disappeared.
    MRP profile details :
    Plnd delivery time   1
    GR processing time   1
    Planning time fence  38
    Tot. repl. lead time 38
    Can you please let me know why system is beaving in this manner?
    Regards
    Utsav

    Hi,
    Normally , MRP runs based upon the requirements.If your STO is created for a date , system checks through the availabiloty check wheather there exists any stock for that date to get deliverred in the supply plant .If there exists for that date the stock , planned order will not be created.If no stock available then a planned order will be created in MRP.
    cHECK the availability check parameters assigned to material master in supply plant.
    Regards,

  • Sales Order Assignment not seen in Production order after MRP Run

    Hi,
    I am running a Scenario with Strat 50.
    I am maintaining Strat 50 thru MRP Group in MRP 1 View.
    Creating Production Order through Sales Order.
    When i am running MRP thru MD02 I am able to convert it to Planned Order but when i convert Planed Order to Production Order, i am not able to get Sales Order assignment in production order
    Please guide me,
    Thanks in advance,
    Harris

    Dear Harris,
    Sales order planning is done via MD50 not MD02.Hence,please execute the MRP run via MD50.
    This will copy the requirement from SO and the appropriate procurement proposal will be generated,say planned order.
    Here we will be able to view the sales order assignment.
    Regards,
    Joseph Charles Vaikathussery
    Edited by: Joseph  Charles on Nov 3, 2010 4:26 PM

  • PO creation via BAPI is not into database after run BAPI_PO_CREATION1

    Dear friends ,
    I have done an case to test PO creation via BAPI_PO_CREATION1.
    I run the BAPI and the PO number is presented to me.
    But the PO is not in the database.
    Should I done another step to write this PO into the database?
    best regards,
    Ale

    *Confirm the document creation by calling database COMMIT
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
      RETURN        =
    end-of-selection.
    *Output the messages returned from BAPI call
    LOOP AT RETURN.
    WRITE / RETURN-MESSAGE.
    ENDLOOP.

  • OKB9-Internal order assignment is not working

    Dear Guru
      I have an Requirment that whenever Billing document get posted data must flow to xxxxx Internal order.I assign the Internal order to cost element in OKB9.But not when posting billing document I cant see internal order in accounting or general ledger view.

    Hi Deepali
    If copa is active, revenue will post to copa. Okb9 is just a default and is used when no other cost object found
    If you want biling to post only to Int order, assign it in your sales order account assignment tab
    Note that in vkoa, you will need to maintain GL acct against Kofi and kofk both in that case
    If you want it to post to both IO and copa, enter IO along with Prof segment in sales order
    Br. Ajay M

  • Reporting WBS with orders assigned

    We have a WBS elements structure just for planning and budgeting purposes. Each WBS has several type of orders assigned (investments order, and overhead orders) in order to receive all the actual postings.
    Does someone know if it is possible to see through a standard report in the system the orders assigned to this WBS element?? I mean, if filling in only the WBS (PLANNING) in the report we can see the actual data (orders) for making comparisons????
    Thank you.

    Hi Arreate ,
    You can use S_ALR_87013532 for Plan / Actual Comparison.
    & S_ALR_87013537 for Budget / Actual Comparison of you WBS structure.
    If you are interested in viewing Budget / Plan /Actual comparison in a single report you can create a new report form in CJE1 and execute that report in CJE0.

  • Customer Order Assigned to Tranport Order. Stock Available ?.

    Hello everybody,
    Our system release is 47.200.
    We are looking for run  a transport order assigned to a customer order.
    What happens:
    We have prepared the customizing and also a user exit to have the option to work with the assigned orders.
    Currently we can create the suppliers assigned orders
    and also we can create assigned transport orders.
    The problem appears when we want to make the expedition of the assigned transport order VL10G, then the system says that we don’t have stock available and that is not true because we have stock available Unrestricted Use.
    4999200004 000010 Only 0 ST of material 0401010 available
    4999200004 000010 An item with no delivery quantity is not permitted.
    The system looks the stock available for customers not the stock
    Unrestricted Use.
    Is possible to make a customer order assigned to Transport Order and this looks the stock available in the status Unrestricted Use.
    If we have to make a movement every time that we have stock available for the transport assigned order.
    It will not be a good process, will be very manual or if we will have to create a not standard Program sure that it will make mistakes...
    We are looking for this solution and sure that in a future we will need for
    the same with intersociety orders.
    Thanks for advance,
    Regards,
    Xavier Carbó

    Hi,
    I will explain our problem step by step:
    1.- In our system we have made the configuration to be able the assigned orders:
    When we make a customer order we can create an automatic purchasing order
    if we change the item category of the customer order.
    Also we can create a Transport Order.
    2.- We use the Transport Orders to send material from the central warehouse to
    the little warehouse.
    3.- The Transport Order is similar as Purchasing Order, the different is that this
    kind of order make a Picking / Delivery note in the central warehouse.
    With this delivery note we make the reception in other warehouse.
    4.- The problem that we have appears when we want to create
    the Picking / Delivery note. with VL10G
    At this moment the system says that we don't have stock available.
    Our Assigned Transport Order is looking the Customer Stock Available
    not the  Unrestricted use stock that is our normal stock ATP and is where
    we have always all our stock ATP .
    5.- For prepare the delivery note I have to make a material movement
    of stock to translate the Unrestricted Stock in Customers stock ATP.
    If I have to make this movement every time it will be very manual and
    we will do mistakes sure.
    I want that the Assigned Transport Order checks the Availability with the
    ATP Unrestricted Stock.
    I don't know if we can do something to find an automatic solution for the ATP,
    for us it will be very interesting because we can prepare this Transport orders
    connected to the Customer Order and this will be great.
    Thanks for advance,
    Xavier

  • MD73 - not displaying customer order assignment

    Hi,
    I am having 2 materials - both set up with planning strategy 40.
    For one material, Customer order assignment is displayed in MD73 but for other material it is not displaying.
    MRP-1 to MRP-4 viewa are same for both parts.
    What else shall I need to check  ?
    Please advise ASAP and oblige.
    Best Regards,
    Mitesh Desai

    Hi All,
    I am still looking forward to advise from experts .
    Thanks in Advance,
    Best Regards,
    Mitesh Desai

  • WBS with billing element but no sales order assigned

    Trying to write a SQ01 query to find WBS with billing element but no sales order assigned. Can anyone help?

    Such WBS elements can be identified using CN43N report also using proper filtering criteria.
    Fileting criterias:
    Billing element.
    Order accepted status.

  • Planned order cann't be generated via md02 or mdbt.

    hi :
    planned order cann't be generated via md02 or mdbt ,but i execute md05 and the planned order can be generated.
    please help my analyze it .

    hi:
    thanks for your reply.
    the requirements of material is from the sales order item ,the sales order is created on 12.8 2007.mrp run is on P.M.12:00 every day via background job of mdbt .but the planned order cann't be generated all along.i check the sales order item requirements is exist and sales order stock is zero,i execute manually the mrp via md50 according to materilal but the planned order cann't be generated still.
    i execute manuallly the mrp via md02  according to sales order item ,the planned order be generated successful
    helpy me analyze it .my msn:[email protected]
    best regards.

  • Nfs mount point does not allow file creations via java.io.File

    Folks,
    I have mounted an nfs drive to iFS on a Solaris server:
    mount -F nfs nfs://server:port/ifsfolder /unixfolder
    I can mkdir and touch files no problem. They appear in iFS as I'd expect. However if I write to the nfs mount via a JVM using java.io.File encounter the following problems:
    Only directories are created ? unless I include the user that started the JVM in the oinstall unix group with the oracle user because it's the oracle user that writes to iFS not the user that creating the files!
    I'm trying to create several files in a single directory via java.io.File BUT only the first file is created. I've tried putting waits in the code to see if it a timing issue but this doesn't appear to be. Writing via java.io.File to either a native directory of a native nfs mountpoint works OK. ie. Junit test against native file system works but not against an iFS mount point. Curiously the same unit tests running on PC with a windows driving mapping to iFS work OK !! so why not via a unix NFS mapping ?
    many thanks in advance.
    C

    Hi Diep,
    have done as requested via Oracle TAR #3308936.995. As it happens the problem is resolved. The resolution has been not to create the file via java.io.File.createNewFile(); before adding content via an outputStream. if the File creation is left until the content is added as shown below the problem is resolved.
    Another quick question is link creation via 'ln -fs' and 'ln -f' supported against and nfs mount point to iFS ? (at Operating System level, rather than adding a folder path relationship via the Java API).
    many thanks in advance.
    public void createFile(String p_absolutePath, InputStream p_inputStream) throws Exception
    File file = null;
    file = new File(p_absolutePath);
    // Oracle TAR Number: 3308936.995
    // Uncomment line below to cause failure java.io.IOException: Operation not supported on transport endpoint
    // at java.io.UnixFileSystem.createFileExclusively(Native Method)
    // at java.io.File.createNewFile(File.java:828)
    // at com.unisys.ors.filesystemdata.OracleTARTest.createFile(OracleTARTest.java:43)
    // at com.unisys.ors.filesystemdata.OracleTARTest.main(OracleTARTest.java:79)
    //file.createNewFile();
    FileOutputStream fos = new FileOutputStream(file);
    byte[] buffer = new byte[1024];
    int noOfBytesRead = 0;
    while ((noOfBytesRead = p_inputStream.read(buffer, 0, buffer.length)) != -1)
    fos.write(buffer, 0, noOfBytesRead);
    p_inputStream.close();
    fos.flush();
    fos.close();
    }

  • Can One Internal Order assign to Multi company codes

    Hi sap Experts,
    1. Can One Internal Order Assign to Two or More company codes.
    2. Can One WBS Element Assign to Two or More Company codes.
    Asper my knowledge it is not pssible . if, Possible, How?
    Please give me clarification .
    Regards,
    Prabhakar

    Not possible.

  • Assign QoS Service Policy via RADIUS to Catalyst 45k/37k?

    hi,
    is there a way to assigen a QoS service policy via Radius to an Caltalyst 4500/3750 Switchport?
    in detail, we would like to assign this policy
        policy-map SET_EF
         class class-default
           set dscp ef
    to an interface. All traffic should be marked with a defined DSCP value.
    This works find when doing it statically with
        interface FastEthernet2/1
             service-policy input SET_EF
    but we would need to assign such a policy via Radius during the 802.1x Authentication. different users should get differnt policies. We use Cisco ACS 5.2 as Radius Server and there actually is a field for
    that in the Authorization Profile Common Tasks Configuration. in detail, this uses the cisco-av-pair "sub-policy-In=<policy name>" attribute to assign a service policy to an NAS.
    we found also two other attributes "sub-qos-policy-in" and "ip:sub-qos-polcy-in" for that. CCO says that "ip:sub-qos-polcy-in" works with Catalyst 65k (http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/configuration/guide/qos.html#wp1926523)
    unfortunately this seems to not work on Catalyst 45k and 37k.
    In the ACS Logs we can see that these attributes are attached to the Radius Reply, but unfortunately they are ignored by the switch.
    it is interesing that when entering "show aaa attributes" on the Catalyst 45k, these attributes are displayd - so for my understanding the switch should understand these attibutes (?)
        4503-E#sh aaa attributes
        AAA ATTRIBUTE LIST:
            Type=1     Name=disc-cause-ext                 Format=Enum
            Type=2     Name=Acct-Status-Type               Format=Enum
        <snip>
            Type=345   Name=sub-policy-In                  Format=String
            Type=346   Name=sub-qos-policy-in              Format=String
            Type=347   Name=sub-policy-Out                 Format=String
            Type=348   Name=sub-qos-policy-out             Format=String
    any input is welcome :-))
    best reagrds

    additionally to this discussion, i've just opened a service request with TAC.
    unfortunately the engineer told me that by now per-User QoS is definitely no supported on this two plattforms but it's listed on the roadmap and will be possibly availabe mid 2012......

  • Does sales order assigned to WBSe increases plan value of WBS element

    Hello Experts,
    In my project, planning is done using activities, so ideally CN41 report displays the plan values (Proj.cost sched.000) for the network and the WBS assigned to the netwok is same.
    E.g. 1000 USD planned for network = 1000 USD planned for the WBSe.
    But for one of the project, I see the WBS planned value is more than that of Network though we plan only in NTW.
    I can see a sales order assiged to this WBSe for which sales order billing value 1500 USD displayed in CN41 in revenue plan column.
    Is there anything like sales order planning? the billing value is for revenue generation but does sales order planning also required? like to complete the sales order, how much is my plan cost? does the sales order plan cost gets updated in the WBS plan cost?
    I am asking this question becasue if i look in CJ41 (Display WBS planning) I can see all the cost displayed in the column Order/network
    Please clarify me on the sales order assignment.
    Regards,

    Thanks for the reply and clearing my doubt on sales order.
    my problem is as below:
    Cost planned on the network: 1000 USD
    as in my project, planning is done only on NTW, CN41 report should show:
    Project Object---- Proj.cost sched.000
    WBS.0001------ 1000 USD
    Network --- 1000 USD
    however, CN41 report is showing as below:
    Project Object---- Proj.cost sched.000
    WBS.0001------ 1100 USD
    Network --- 1000 USD
    I can see that the 100 USD are directly planned on the WBSe if I see the values as non aggregated but I am not able to understand how 100 USD are planned on the WBSe.
    If I see CJ41, I can see Planned 1100 USD under the column Order/network
    This means that all 1100 usd's are planned using orders/network.
    Please help me understanding why there is a difference of 100 USd's at network and WBS level and how to find out where the additional 100 USDs are planned on WBSe.
    Thanks

  • Assigning material to class via ALE

    Hi experts,
    I am looking for a way to assign the materials to the class through ALE.  What message type can I use to transfer this information.
    Thanks for your help.

    Hi Rolmega,
    Please check this link and scroll to the middle.
    There is a section to talk about assigning material to class via config and ALE.
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/cb843643a311d189ee0000e81ddfac/content.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for