Sub Order not getting created

Hi All,
           i am debuggin a code which is creating SUB ORDER (iw36) through call transaction method.
The transaction is filling the superior oder ,but after OK CODE it doesnt navigate to the next screen, instead it shows a message log, without any messages.
In the debugging mode I could notice that it fails at the point where FM CO_ZF_ORDER_LOCK_MULTI is called in SAPLCOIH. The parameter 'NOT_LOCKED' is having 2 records, as a result of which the FM CM_F_ANALYSIS is getting called which displays the log.
Please guide me in understading why the sub order is not getting created.
Thanks,
Vasuki
Edited by: Vasuki S Patki on Jul 14, 2009 3:03 PM

Hi Gajesh,
1)                 The Work center does not exist , I checked it in IR02..
2)                 I created the sub order manually , but it works fine. There is no error when creating manually.. But whne it is called from the program it takes a wrong entry for Workcenter that does not exist. But when I change it to the existing Workcenter it proceeds further.
3) I want to know where in the program the KTEXT is being populated,  as it is taking an entry that does not exist in the superior order, it is a new entry.
Thanks,
Vasuki

Similar Messages

  • Sales order not getting created in background.

    I am using user exit to write my code to create sales order of basic type ORDERS05 with function module idoc_input_orders, and process code ORDE with my own message type.
    If I run the program in foreground message KUWEV-KUNNR is not an input field comes.
    IF I press enter the sales order is getting created with staus 53..
    But in background ERROR MESSAGE comes as:
    Function module not allowed: IDOC_INPUT_ORDERS.
    Please give suggestions.

    Dear Sir,
    Please check the FI Period is opened and FI account Number is opened.
    Thanks and Regards
    N.soma Sundaram

  • Transfer order not getting created automatically for a backflushed FERT

    Hi,
    I am having a strange problem. in my business process the WM system is set in such a way that the when a production order is confirmed automatic goods receipt  for the  FERT is done. which will automatically create a transfer requirement and convert the TR in to TO automatically and TO will be confirmed automatically.
    the issue its not happening so.
    when I confirm a production order its creating a TR instead of creating TR --> TO --> TO confirmation.
    I tried doing manual goods receipt for the production ordeer and the process worked perfectly.
    this process is not working for only one plant. and in another plant when i confirm a production order its creating a TR automatically and then tr is getting converted in to TO automatically and TO is getting confirmed automatically.
    I checked all configuration and its all same for both plants.

    Maintain a storage location in your delivery.

  • Restrict Product Allocation if Planned order is not getting created

    Hello All,
    We have a scenario that when ever a Sales Order is getting created, Product allocation assignment will be done automatically and planned orders will be created for that requirement in APO.
    There are some cases where in because of wrong Variant Configuration, Planned orders wont be created. Our requirement is to delete the Product Allocation automatically or to stop the product allocation assignment if the planned orders are not created.
    Do we have any standard setting for doing so or Kindly suggest me some BADI's which can be used for it.
    Thanks in advance.
    Best Regards,
    Srinivas.D

    Srinivas,
    A rather odd requirement.
    Have you tried in SCM APO 'Maintain check instructions' to perform the product check first, then allocation?  I would think that if the product check failed, then allocation would not be consulted, and no allocation therefore assigned.
    IMG > APO > GATP > General Settings > Maintain check instructions
    Best Regards,
    DB49

  • Invoice is not getting created in Order related billing

    Dear all,
    I am trying to do a Order related billing. After creating the order i am going to VF01 and selecting the billing type i have created and trying to create the invoice. I am getting the error "No billing documents were generated. See log" when i am checking the Log its showing now errors.
    In case if my account determination procedure is wrong, system should allow me to create a Sales invoice and accounting document will not be generated. But in this case even the sales invoice is also not getting created.
    Please suggest me if there are any configuration changes i need to do to overcome this problem.

    Apart from the suggestion already given, also ensure that
    the order is not showing in incomplete log
    the order is not blocked for credit limit
    You can also cross check in VF04 whether system is fetching that sale order.  For information, once you execute VF04, by default, system will check only "Delivery related" check box.  You have to manually select "Order related" check box.
    G. Lakshmipathi

  • AUC Asset not getting created when Internal Order is created

    Dear Experts,
    While Creating the internal order ( Object Class - Investment Measure)
    AuC (Asset Under Construction) not getting created automaticall . Note Investment profile is already there in the order.
    Following steps below are configured -
    1. Define the AuC Asset Class (with investment measure) - OAOA
    2. Define the Asset Class u2013 for Main Asset - OAOA
    3. Define Investment Profile - OITA
    a. Assign the AuC Asset Class (Step-1) in the investment profile
    4. Assign Investment Profile to Model Order - OITA
    5. Define Order Type (Investment) - KOT2
    a. Settlement Profile - OKO7
    b. Maintain Allocation Structures - OKO6
    Thanks
    Sanjai

    Hi Sreekanth,
    What is the setting needed to create AUC Automatically when an Internal order is created ?
    I have done all the setting, but still when I save Internal order neither AUC asset is getting created.
    So I went to extras selected create AUC and it went to AS01, but when I came back (F3) from AS01 to Internal Order and save , Auc Asset is not getting captured in the settlement rule. I even tried to give manually the AUC Asset in the settlement rule, for which sys is not allowing in the settlement rule.
    Any thoughts are highly appreciated
    Advance Thanks
    Sanjai

  • Reservation not getting created from shopping cart for stores order.

    Hi experts,
    Reservation not getting created from shopping cart for stores order,process used is some custom BADI.Extended classic scenario is the procrss .
    Please help me
    Thanks in  advance.

    Hello,
    please check below wiki:
    Determination of the follow-on document type
    Regards.
    Laurent.

  • Sub node is not getting created

    Hi Experts
    I have IDOC to SOAP scenario, here the subnode is not getting created in the main node. please help me
    Structure is given below
    Source
    Matmas
          IDOC
              e1m -
    (1...9999 ) occurance
    Target
    Target
    XMLDATA  --- (1.. UNBOUNDED)
         SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    Quesion 1.
    now i want XMLDATA node to be repeated as many times as e1m comes from source along with both the subnodes 2 and 3 at target side.
    but i could see only subnode2 is getting created not the subnode3 while testing.
    May i know why is this happening.
    I want the SUBNODE3 also be created.
    Note the occurance of SUBNODE3  is 0.. unbounded
    Question 2:
    I want the SUBNODE3 also to be repeated as many times as e1m node comes from source.
    For example:
    e1m comes twice then the target should be as below
    XMLDATA  --- (1.. UNBOUNDED)    
    SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    XMLDATA  --- (1.. UNBOUNDED)    
    SUBNODE1 ---(1.1)
              SUBNODE2 ---(1.)  -- UNDER SUBNODE1
              SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    SUBNODE3----(0...UNBOUNDED) -- UNDER SUBNODE1.
    Regards
    Lara

    Please see the below logic:
    E1MARAM --> XMLNODE
    E1MARAM --> useOneAsMany_customUDF -->SUBNODE3
    E1MARAM/MATNR -->  useOneAsMany_customUDF --> SUBNODE3/MATNR
    E1MARAM/xyzfield -->  useOneAsMany_customUDF --> SUBNODE3/xyzfield
    Source:
    <?xml version="1.0" encoding="UTF-8"?>
    <MATMAS05>
       <IDOC>
          <E1MARAM>
             <MATNR>123</MATNR>
          </E1MARAM>
          <E1MARAM>
             <MATNR>1234</MATNR>
          </E1MARAM>
       </IDOC>
    </MATMAS05>
    Target
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Test xmlns:ns0="urn:test-2:test:area">
       <XMLDATA>
          <SUBNODE1>
             <SUBNODE2/>
             <SUBNODE3>
                <MATNR>123</MATNR>
             </SUBNODE3>
             <SUBNODE3>
                <MATNR>1234</MATNR>
             </SUBNODE3>
          </SUBNODE1>
       </XMLDATA>
       <XMLDATA>
          <SUBNODE1>
             <SUBNODE2/>
             <SUBNODE3>
                <MATNR>123</MATNR>
             </SUBNODE3>
             <SUBNODE3>
                <MATNR>1234</MATNR>
             </SUBNODE3>
          </SUBNODE1>
       </XMLDATA>
    </ns0:MT_Test>
    useOneAsMany_customUDF
    for(int i =0;i<var1.length;i++)
       for(int j=0;j<var1.length;j++)
          result.addValue(var1[j]);
        result.addContextChange();
    Hope it helps!

  • SRM PR is not getting created in ECC backend

    Hello Experts,
    We are running SRM 7.0 with SRM-MDM Catalog, we are using SRM for shopping.  We do have PI 7.11 running in the Environment as well.
    We are on ECC 6.0 with Ehp 4.0
    Purchase Order:
    However we can see the PO creating successfully using PI.
    Question, in the SRM table (BBP_FUNCTION_MAP), we see the object type: BUS2012 for ERP 4.0 has adapter name: /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP for when creating PO. Please see teh screen shot.
    is this the reason that we need PI?
    Purchase Requisition:
    PR Creation is not working:
    PR is not getting created in the ERP, PR uses Object type: BUS2105, Adpater CL_BBP_BS_ADAPTER_RQ_CRT_470 for ERP 4.0 System type, can you please tell me if the adapter is correct for ERP 4.0 system type?
    I also have a question to ask:
    1) Where did you see that PR/PO was send to PI System (PI1)? My understanding is that since ERP amd SRM are 2 ABAP Systems, why we cannot send the PR/PO directly to ERP system from SRM? Why do we need a middleware(PI) in between for this process? We should be able to USE BAPI function to do it correct?
    Please advice.
    Thanks
    Kumar

    yes, i could see a PR number with all this additional details as below.
    Table   BBP_PDBEI
    CLIENT                       453                                                              Client
    GUID                         4CAEFA58EB9D005CE1008000AC1C2031                                 Globally Unique identifier
    BE_LOG_SYSTEM                QA1400                                                           Logical System of Logistics Backend
    BE_OBJ_ITEM                                                                                Follow-On Object Item in Back-End System
    BE_OBJECT_TYPE               BUS2105                                                          Follow-On Document Object Type in Back-End System
    BE_OBJECT_ID                 2000000167                                                       Follow-On Document Object ID in Back-End System
    BE_REFOBJ_TYPE                                                                                Reference Object Type in Back-End System
    BE_REFOBJ                                                                                Reference Object in Back-End System
    BE_REFOBJ_ITEM                                                                                Reference Object Item in Back-End System
    BE_REFOBJ_SBITM                                                                               Reference Object Sub-Position in Backend System
    BE_REFOBJ_TYPE2                                                                               Reference Object Type in Back-End System
    BE_REFOBJ2                                                                                Reference Object in Back-End System
    BE_REFOBJ_ITEM2                                                                               Reference Object Item in Back-End System
    BE_REFOBJ_FYEAR2             0000                                                             Reference Document Object - Fiscal Year in Back-End System
    BE_STGE_LOC                                                                                Storage location
    BE_PLANT                     2016                                                             Plant
    BE_BATCH                                                                                Batch Number
    BE_VAL_TYPE                                                                                Valuation type
    BE_MOVE_REAS                 0000                                                             Reason for Movement
    BE_EXPERYDATE                00000000                                                         Shelf Life Expiration Date
    BE_PUR_GROUP                 206                                                              Purchasing group
    BE_PUR_ORG                   2000                                                             Purchasing organization
    BE_CO_CODE                   2000                                                             Company Code
    BE_DOC_TYPE                  CLRQ                                                             Purchase Requisition Document Type
    BE_ACCREQUIRED                                                                                Account Assignment for Logical Backend Required
    BE_SP_STK_IND                                                                                Key for Special Stock Section
    BE_INFO_REC                                                                                Number of purchasing info record
    BE_MOVE_TYPE                 201                                                              Movement type (inventory management)
    BE_PACKNO                    0000000000                                                       Package number
    BE_INTROW                    0000000000                                                       Internal line number for limits
    BE_ITEM_TEXT                                                                                Short Text of a Service Purchase Order Item
    BE_PO_PRICE                  1                                                                Price from Backend
    BE_UNLOAD_PT                 200                                                              Unloading Point in Backend
    BE_DEL_IND                                                                                Deletion Indicator in Backend Documents
    BE_TRACKING_NO                                                                                Requirement Tracking Number
    BE_COND_TYPE                                                                                Condition Key
    BE_COND_STEP                 000                                                              Level Number
    BE_COND_COUNTER              00                                                               Condition counter

  • Transfer Requirement not getting created

    Hi All,
    My query as below;
    Production order is created using KANBAN (Control Cycle/Supply Area is defined) using classic KANBAN.
    WM is in place and all the setting related to TR/TO creation for WM movement type 103 is in place.
    When i am trying to receive this Production after completion it is not creating the TR/TO, while as material document is getting generated and shows the stock directly in interim storage type 901 without creating TR and TO.
    Further i checked there is indicator in Production order i.e "Kanban indicator" that gets checked automatically when Production order is created using KANBAN Processs and if i remove that indicator forcefully, TR and TO is getting created normally.
    Please provide some inputs where can be the problem and how TR and TO can be created normally eventhough KANBAN indicator is checked in Production order and where i can found the setting related to "KANBAN INDICATOR".
    Appreciate your help.

    Hi Maddy
    Thanks very much for your response.
    1. When you use KANBAN, you define separate KANBAN storage location, which is different from WM-managed replenishment storage locations, and separate KANBAN interim storage area with storage bin.
    Yes different storage location is defined which is not WM-managed in supply area.
    As you said Control Cycle is defined, see if the interface is properly defined for both of these Sloc.
    Where i can check whether interface is properly defined or not.
    2. See if you have defined the KANBAN replenishment strategy with Control type Transfer Requirements from a Storage Location which is being controlled by WM in the Customizing for Production under KANBAN > Replenishment Strategies > Define Stock Transfer Strategies
    Actually for a material two strategies are defined like;
    1) In-house Production strategies-0003-
    supply area is defined with storage location which is IM managed.
    And when this order is completed and i am trying to receive this in WM SLOC (usally whatever SLOC we have defined in supply area it proposes that SLOC at the time of receipt but i am changing this manually to WM managed SLOC) using transaction MIGO, it is directly taking the stock to 901 interim storage type and in total the stock increases but the problem is when TR is not getting created i am not able to take this to the storage bin as per strategies defined.
    2) Stock Transfer Strategies-This is working fine and in that TR/TO is working fine.
    3. For TO to get created automatically by the system from the transfer requirement, see if an indicator Automatic TO creation in the replenishment strategy is set or not. Yes this is set for stock transfer strategies but i didn't find option to check the TO creation automatically for in-house production strategy
    4. Also, check that you have set up a suitable replenishment movement type for KANBAN in the Customizing for Warehouse Management under Activities > Transfers > Define Movement Types (i.e.standard is 350 for KANBAN replenishment)-Yes this is also defined correctly.
    Appreciate your more inputs on this.

  • Required attribute not getting created

    Ok, here is a wierd one.
    I have some custom ID management code (an SSO plug-in cert mapper and a WAR file I deploy to OC4J_SECURITY). The application provides a registration process that creates user entries and RADs for Oracle Forms app users. Everything works fine, except that I have found that my RAD creation does not get the orclresourceviewers attribute created automatically.
    This has worked in my IM development farm. The attribute would be created automatically. It was difficult to figure out this was the reason my Forms App Server would fail with the following exception.
    oracle.ldap.util.AccessDeniedException: General Error when performing search: getExtendedProperties [LDAP: error code 50 - Insufficient Access Rights]
    I have gone through the motions of now preparing to query the OID Forms ID so that I can fill in this attribute in my RAD creation class. I still would like to know why this attribute is not getting created for me anymore.
    Any ideas?
    Oh and BTW, it did not help that orclresourceviewers is not documented anywhere I could find (not OID Admin and not Forms Deployment Guide)
    regards,
    tt

    Hi Sandeep.
    Yes, my application entities that I set up to manage a specific realm are used to create all RADs in a particular realm. As part of the setup for this I add these application entitites to the following three realms:
    cn=OracleDASAdminGroup,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    cn=RealmAdministrators,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    cn=UserProxyPrivilege,cn=Groups,cn=OracleContext,dc=<realm_name>,dc=<abc>,dc=<com>
    I add to these so that the app entity could create, modify, delete and proxy to any realm user. I had to create an ACI to allow my entities to search and see the Forms Server application entity entry in order to populate orclresourceviewers.
    I just wish I new why orclresourceviewers does not get created automatically. Of course, if I create the RAD in DAS or using the Oracle DynamicResourceCreate option, it is added. It has added it in my own RAD creation code at one point and it stopped for some reason.
    I had to add an LDAP search to my RAD creation code with the possibility of multiple Forms Server entries (Logical Application Group) just in case. Much ado for something that maybe should not have been necessary.
    regards,
    tt

  • Internal Order not being created in cProjects-Accounting Integration

    Dear All,
    We are working on cProjects 4.0 with ECC 6.0,
    Trying to do Accounting Integration.
    For only one Project I am able to create Internal Order,
    But I am getting following error.
    “Cost/revenue rate YP002 is not valid in organization 00000000   “
    Inspite of assigning these rates to the organization 00000000
    For other projects, when I click on accounting:
    I get following error
    "Single-Obj.Controlling on InternalOrders 0188993B3E343947A046B554FD886E03 000006000032 does not exist"          
    When I go to Controlling Cockpit, I see this Internal Order not being created.
    Have revisited all settings, project type, etc.
    How do I go about this.
    Kindly help,
    Navendu

    Dear All,
    I was able to solve the one of the problem, with the following settings,
    Assign Cost Elements & Activity Types:
    Choose Organization, Start & End Dates, Cost and Revenue Elements, Currency.
    The start and end date of the cost/ revenue did not fall within the start and end date of the Organization.
    Regards,
    Navendu Shirali

  • No creation if material is missing, Still IW31 ( Work order ) is getting created

    Hi Experts,
    I reviewed few discussions and unable to get the correct answer.
    I did the configuration for Material availability check on Order Creation with Path ..
    Plant Maintenance and Customer Service - Maintenance and Service Processing - Functions and Settings for Order Types - Availability Check for Material, PRTs, and Capacities - Define Inspection Control
    In this I assigned my order type with Business Function 1.
    Material Availability :
            Plant                      XX01
           Order Type            XX09
           Availability Check    1    Check availability during order creation
           Checking Rule        01 No Blocked Stocked - All rec/issue elmts
           Component Check Type    Blank
           Collect. conversion  3  No creation if material is missing
    PRT Availability :
              No Check ( Not checked )
               Checking Rule        01 Status check
               Collect. conversion  Blank
    Capacity check
              No Check ( Not checked )
              Overall profile Blank
              Collect. conversion  Blank
    My question is:
    MMBE for that Material ZERO.
    Before Config,
       when I create Order manually IW31 with a components , Status is showing Mat.availability not checked ( MANC ).
    After Config.
       when I create Order manually IW31 with a components , Status is showing     Material committed MACM.
    When Configured for [Collect. conversion  3  No creation if material is missing], still order is getting created.
    I changed to 2 or 1 , still order is getting created with no difference
    But its going to a confirmation proposals asking me to do
    either continue / ATP quantity / Scope of check.
    If I select 1 or 2, it should show Missing Parts status or if select 3, it should stop creation of Order. But its not happening as expected.
    Please let me know where I am missing Config.

    Hello
    Q1 )
    If I change option 1 or 2 :
    1 User decides on creation if material is missing
    Answer:If Material is not Created the system wont allow to add you that material until unless you create the material master created.I am considering here that you don't have material master
    2 Creation even though no material is available
    Answer:It will allow you to create the work order.i am considering here that you don't have sufficient stock.
    Q2) what should be the expected Status for Option 1 or 2.
    Before Config it was showing
    Status is showing Mat.availability not checked ( MANC ).
    After Option 1 or 2, Expected Status ?
    Answer: You need to enter value 02 on the Availability Check field on the MRP3 tab of Material Master via TC MM02.
    you will be  get Material committed MACM after Saving the Order.
    Br
    Rakesh

  • Automatic TO not getting create

    Hi,
    I have created 3 slaes orders and clubbed and did 1 delivery.  as soon as i saved the delivery it should create the Transfer Order also. 
    But here it is not getting create. 
    If i create one sales order and one delivery then TO is getting create.
    All setting are correct.
    Any one faced similar kind of issue.... please give me ur suggestion ASAP.

    Hi Hari,
    In order to know the reason or error which failed the background TO creation, the only way is by setting up the mail
    control according to Note 87194. With this setup, whenever there is any error or problem during background TO creation, an express mail will be sent to the recipent inbox specified. From there it is possible to know the reason of failure.
    Hope this helps.

  • Planned order not getting generated for FG

    Dear Experts,
    Planned orders not getting generated for the Finished Goods - X which is having MRP Type M0 - MPS fixing type strategy group 20 which is copied fron another FG - Y , its a new product and production plan has been updated through MC88 - Rough cut planning but the planned orders are not getting generated.
    And for the material valid production version exists with selection method 3 and individullcollective as 1.
    Please let me know what might be the possibalities and what all the key fields i need to check.
    Thanks & Regards,
    Sampath
    Edited by: sampath s on Jul 13, 2011 11:31 AM

    Dear,
    In general MPS is run for High value items ( if you use like Gold , Platimum or A class items. ).
    Always only single level is used for Explosion and planning. then only you can analyse the requirements at each stage before procurement.
    Otherwise if you run MPS to multi level, Bottom most high value will be procured without any notice to authorities. Even you may cancel the process in mid way. At that time what will happen to the procured high value material.
    So for that purpose only single item single level MPS concept is evolved.
    Fo that you run MPS at single level so that only for the first level MPS will be carried out.
    Check and revert back.\
    Regards,
    Alok Tiwari

Maybe you are looking for

  • Cannot install PhotoShop CC "Error writing to temporary file location", how do I fix this?

         I am working on a Mac OS X Server, version 10.6.8      I use my Adobe applications - Indesign, PhotoShop, Illustrator, and a couple of others - primarily for school work (graphic design). I download the applications from my Adobe Application Man

  • Preferred Networks by Location in Mavericks

    Back in Snow Leopard, preferred WiFi networks were stored separately, in different lists according to the location chosen. That worked great because I have 2 routers at home, one for my ISP and one for my VPN. When connected trough the ISP router, th

  • Cap 4 Corrupts on image drag and drop

    Hi All, I have run into a very frustrating problem with Cap 4. I will be working along creating slides then when I drag and drop a JPEG image into the movie: 1. the timeline on that side disappears 2.the project corrupts and will not save or open pre

  • AppleScript and FastTrack Schedule

    FastTrack by AECsoft has applescript support and a dictionary rich with items. But, the hierarchy of elements and properties is not behaving at all. A bar is an element of an activity which is an element of a document. Try to get activity 1 of docume

  • Hardcoding a 'tick mark' in the script.

    I have inserted a sapsymbol('tick'  mark) in script by following these steps: se71-> Window-> text editor->Insert->characters->sap symbols. It automatically takes up the value as 640, but this is getting displayed as' # ' in the layout instead of 'ti