Planned order creation - DBIF_RSQL_SQL_ERROR

Hi ,
Recently we have done the ECC6.0 migration. Migration in the sense
Server A    ECC6.0        Maxdb          to             Server B    ECC6.0    Sqlserver.
we took the database export from server A and imported to Server B.
After completing the migration we are facing a problem.
Using Trx code MD11 I am creating Planned order. It is giving Planned order XXXXX will be created.
when I try to go back  it shows Express document "update was terminated" received from Author ************.
Also when I go MD13 and try to retrive the same planned order it says the order XXXXX doesn't exists.
I am seeing a dump in ST22.Runtime error.
Error 22.04.2010 DBIF_RSQL_SQL_ERROR CX_SY_OPEN_SQL_DB
Cann't insert NULL into column "ADCODE" Table "RESB"
Column doesn't allow NULLS . Insert Fails.
But for server A with MaxDB I am able to create planned order.There it is not giving this error.After Migration only I am getting this error.
Any Help is Appreciated.
Regards,
Guru.

Please check note 1377270.
There was a known problem with the R3load creating NOT NULL columns without defaults. For large tables with more than 28 columns, NOT NULL columns beyond the 28th column could be missing the default binding.
If you now run an INSERT against such a table you'll get the mentioned error.
Regards,
Guenther
Edited by: Guenther Drach on Apr 29, 2010 4:41 PM

Similar Messages

  • Planned order creation IDOC

    Hi Experts,
    i've a requirement where i need to develop a custom IDOC for Planned order creation. is there any standard IDOC for Planned order creation and if it is there then provide me the complete details like IDOC name, message type name, posting and selection program names etc.
    if i need to create a custom idoc then wht is the procedure for it.
    Regards
    Faisal

    Hi Abdul,
    You can use the below details for achieving the below requirement:-
    Message Type :- LOIPLO
    Basic Type      :- LOIPLO01
    You need not create any custom IDOC type as we are having a standard IDOC type available within SAP, but you need to write a custom function module to read the data from the IDOC segments and then call the below BAPI to post the Planned Order.
    Check the input parameters of BAPI and gothrough the documentation of the Basic Type in WE60 transactions, whether all the necessary input parameters of the BAPI are covered in the standard IDOC type, if not then we need to customize the standard basic type to meet the requirements.
    Bapi which needs to be used is BAPI_PLANNEDORDER_CREATE.
    I think all these inputs will solve your purpose.
    Thanks,
    Mahesh.

  • 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,

  • Automatic Planned order creation-Strategy 50

    Hi all,
    I am using strategy 50 and first two levels of the finished material are make to order. Whenever i create sales order a planned order is automatically created for the finished material but for the material one level below no planned order is create, although this material is also make-to-order (ind/Col indicator is empty). Please guide me how can i achieve automatic planned order creation for the materials which are one level below the finished material (Note: Assembly is also of make-to-order strategy)
    Best Regards,
    Shah

    HI ,
    You are using planning stg as 50 " Planning without final assembly ", and this stg you need assgin only TOP level code i.e salable code , and down level codes no need to maintain .
    Once you enter sales order in TOP level code system will generate planned order  and from next level onwards you need to run MRP manually / Scheduled  ( single level / multilevel).
    System will not generate MRP for two level automatically i.e TOP level and next level when you enter SO.
    I hope this will clear to you
    Thanks
    Sekhar

  • Prevent Planned orders creation in Sourcing Org

    Hi,
    We have a customer requirement as below:
    Supply Chain : Org1 <-- Org2 <--Org3
    Item Name: X
    Item X has demand in Org1 procured from Org 2 by Sourcing "Transfer From"
    Item X in Org2 has planned order demand which triggeres a Planned Order in Org2 and to be procured from Org 3 by sourcing type "Transfer From" and it will create a Planned Order in Org3 which has sourcing "Buy from" External supplier.
    Org1 : Sales Order -->Planned Order1 for Item X
    Org2: Planned Order Demand2 -->Planned Order2
    Org3: Planned ORder deamand3-->Planned Order3
    Planners are different for Org2 and Org3 wan to do releases indivudually on their own schedules.
    Planner in Org2 want to ensure Planned order3 in org3 not to be released earlier than ISO creation in Org2 for item X.
    How to prevent planned order creation in Org3 having transfer planned order from Org2 to org3 for ISO creation.
    Need your valuable inputs.
    Regards,
    Kumar Kancherla

    Hi Kumar
    If I understand your question, the requirement is not truely about Planned Order Creation but releasing a planned order in Org3 before ISO is recieved in Org2 from Org1?
    This is more of a business process issue than planning since plan will provide a replenishment suggestion when there is a requirement based on sourcing rule. I'm assuming that these 3 orgs are planned in single ASCP Plan.
    One way to enforce this business process is by using "Auto-Release within Time Fence". Since lead times for Item X will be longer in Org1 vs. Org2 and Org3, planned order in Org1 will be released first triggering Internal Req/ ISO between Org1 & Org2 first and then between Org2 & Org3. While this may be OK if you plan to implement all suggestions from ASCP without manual intervention, it may not be acceptable to some planners who may want to control the release process manually.
    You may try it out with a limited set of items initially before rolling it out for all item/ orgs.
    I re-iterate that this issue is more of a discipline that planners need to use their discretion and due diligence to collaborate with other planners to ensure that lower level supplies are released only after a firm demand is released from higher level.
    Please feel free to let me know of any further concerns in this respect.
    Thanks
    Navneet

  • Optmizer Planned Orders Creation

    Dear SAP Experts ,
    I am facing some problems with Planned Orders creation. I am executing discret optimization but it is creating planned order without taking into account minimum lot size.
    For i.e
    For one product with forecast 500 pc and minimum lot size 150 .
    Optmizer should create 4 orders with 150 pc taking into account minimum lot size but it is creating 3 orders with 150 and 1 order with 50 pc to fullfil demand .
    Some one can help me ?
    Nice Regards
    Mauricio Filho

    Hi,
    What is PPM/PDS max lot size? it seems due PPM max lot size you are getting these results.
    SNP Optimizer can't respect max lot size defined in product master.
    it can respect only min lot size and rounding value from product-location master for that
    in optimizer profile must be discrete and on discrete consraints tab define Mini PPM/PDS lot size and Integral PPMs/PDS horizon.
    If data view has weekly as well as month buckets, define 12 Months (don't define 52W) in discrete constraints tab if you want to respect these constraints for one year.
    Regards,
    Vipul

  • Planned order creation with PDS valid on only order start date and not finish date

    Hi All,
    We have requirement to allow creation of planned order manually if production version is valid on order start date and not finish date.  This is because lead time of order is longer. I refered OSS notes 385602. I could find out solution for this is implementation of OSS note 694140 to change validity mode at activity level to consider start date of first produce activity  in validity interval. Problem is even If I create order in APO by implementiong this note planned order is not transfered to ECC and it gets stuck with error production version not valid.
    Is there any way in ECC to control this? Any config or customization?
    Regards,
    Santosh

    Nilesh,
    I think there is a simple procedural skip happening in your business process. You are right when a planned order is created after MRP it would default assign it to the first available production version. 2options available for us,
    1. First use transaction MF50 and do the line loading and assign the quantites to the production versions/Production lines, so that the actual capacity planning is getting completed. This way you can have planned orders with both the production versions and matching to your actual line capacity.
    2. Use Quota arrangement concept, to automatically split the Planned orders during MRP for a percentage based on individual production versions.
    Now when backflush is performed S225 table is updated and Planned order qty also gets reduced.
    Hope this helps....
    Regards,
    Prasobh

  • Planned order creation problem

    Hello everybody,
    When I am creating a planned order manually in MD11, I receive the message "Planned order xxxxx will be created".
    Then I receive a popup window telling me "Express document 'Update was terminated' ".
    But, when I am having a look in MD04 to see the planned order, I can't see it.
    It was still okay yesterday morning, but since yesterday afternoon, no more planned orders can be created manually. Do you have an idea about what can be the reason of this?
    It's just like if the order creation was delayed... But for how long, and waiting for what???
    Thanks in advance for your help.
    Regards,
    Rudy

    Hi,
    There is something issue with ur data while saving..hence it is not saving and throwing the message. so that while upadting data in table  is not acccepting.
    GOTO SM14->click on ALL UPDATEREQUESTS push button->U will find the reocrds,select ur userid and double click on it,now u can see the module name,select it and double click on it,now u will get one small dialog box,there u can find the abap editor symbol ,click on it..it will take u to the program where it has taken place
    Please refer this thread,
    Update was terminated
    Regards,
    R.Brahmankar

  • PLANNED ORDER CREATION FROM SALES ORDER SAVING (REQUIREMENT CLASS 200)

    Dear All,
    By using requirement class 200, assembly type 4 (dinamic planned order) Iwould like that at sales order registration the planned order for the sales order material is created.
    I have two problems.
    The system doesn't schedule the planned order, even if the scheduling parametres are entered for planned order type (relation between routing id and planned order type).
    So I have a planned order in which i have to manually schedule it.
    The second problem is that the planned order is firmed at creation. I would like that it was not firmed to adjust by MPS procedure the components from BOM modification. Infact at the creation of the sales order The complete BOM is not defined, and I don't want to unfirm the planned order so run th mps procedure.
    Can anyone answer to these questions?
    Thank's in advance
    Luca Pastura

    Hi Luca Pastura,
    For Scheduling
    1. You need to Give the appropriate check mark ( 1 or 2 ) In the capccity check of the requirement class configuration (ovzg)
    For Firming
    1. Since youare using dyanamic processing ""During dynamic assembly processing, you can not change the quantities and deadlines"
    2. kindly refer the F1 help for the assembly type inthe OVZG.
    Check and confirm
    Reg
    Dsk
    1.

  • Manually Planned order creation

    Hi Gurus,
    When i am creating planned order manually in MD11, some times ( not allways) it is asking for components although it has a Bill of material. But if we create pland order through MRP it woudn't asking for any components. Can u please tell me when it will ask for components if it has a BOM maintained?
    Regards
    Rajib Pathak

    Hi,
    I am using same order type for both manual creation and automatic creation......also i am using a valid BOM. Furthermore some time it is not asking for components. My question is in which condition it wil ask for components whereas there is a valid BOM.
    Edited by: Rajib Pathak on Oct 27, 2009 12:14 PM

  • Planned Order creation for Sales Order and Purchase Order

    Hi
    We have a following requirement.
    In normal scenario when we have demand for material  which was created by MD61 and in addition to that if there is Sales Order the 1st planned order gets revised.To better expalin this consider possible scenario
    You create plan via MD61 for 200 qty .The system creates Planned Order for 200.
    Now there is Sales Order for 150 peices.Then what happens is original  Planed Order of 200 is changed to 50 and another planned order is created for 150 peices.The requirement is not summed.
    Now in new scenario instead of Sales Order there is Intercompany Purchase Order of 150 peices.
    Now the system is not changing original Planned Order of 200,but it created another planned order of 150.So now there are 2 Planned Orders of 150 and 200.
    What I want to know is there any way wherein the system will reduce the original planned order (similar to Sales Order scenario)
    Regards

    Hi,
    Use Strategy 52 in urs case.
    PIR witll be created .
    None convertable planned order will be created.
    Once you get sales order for that material.
    New planned order will be created which will consume PIR( planned order ).
    Eg.
    PIR 10.
    Planned order 10 qty.
    Sales oder 6
    Planned order for SO 6 qty
    Planned order through pir will become 4 qty.
    Regards,
    Vishal

  • Planned order creation with sale order assingment at the run time of MRP

    some material item not planed with sale order stock in MRP run time. all setting in material master are corrected as i knowing.having some mistake in setting other configuration.

    Planning strategy is Make to order individual collective as individual but still come as make to stock plan orders
    Incase of Header material- Plan order is creating in MTS
    Check the sale order procurement tab, Is The requiremnt type is relevant to your Stratergy?, if not chnage it to correct requiremnt type and rerun MRP again
    Incase of component material- Plan order is creating in MTS
    Check for the component material MRP 4 View, individual/Coll.req- as 1. If not set as 1 and rerun the MRP again

  • Planned Order Creation using MD_PLANNED_ORDER_CREATE

    Hi ,
       I am using the FM MD_PLANNED_ORDER_CREATE , to create planned order .
    The start date of the planned order changes based on the factory calendar, is there some way to avoid this the FM has a parameter ECM61S used to pass the scheduling paramaters , but using that also does not help.
    Can any one please suggest me some way of doing it.
    Regards
    Arun

    Hi Mangalraj ,
    Thanks for the details.
    Even when i try to create a planned order using the transaction MD11 , if i enter 01.01.2008 , it then changes the date to a working day .
    Can you provide me with some more input on the use if the parameter ECM61S in the FM MD_PLANNED_ORDER_CREATE .
    Is there some setting the factory calendar where we can set it such that planned orders are created even on holidays , kindly also tell transaction to view a factory calendar.
    Regards
    Arun

  • SNP Planned order creation

    Iu2019ve a material M1 at plant P1 with procurement type X. There is no SNP PDS/PPM for this material/plant. If there is a demand of 100 on this material/location and I run heuristics, it creates a planned order even though there is a transportation lane between vendor V1 and location P1. Why would it not create a Purchase Req in this case?

    system switches over to external procurement in place of in house production only when you use optimizer.
    Heuristic will do this only if there is a SNP PPM/PDS and the resource calendar prevents timely production.
    Regards
    Nitin Thatte

  • Exception message during planned order creation

    I am coming across a situation wherein am creating a planned order for Semi-fininsh good, but the problem is that am getting an exception msg "15" against the planned order created whihc states that "Reschedule out". Can somebody tell me the significance of this message, when am reviewing the overview tree for that order am not  seeing any message for the downlevel components. Expecting a positive response.
    Regards,
    J K Tharwani

    Hi Jitendra
    Logic behin EM 15
    It means to postpone the operation i.e. reschedule out the process if the receipts lies before my requirement.
    Rescheduling horizon is also linked to it. Check in OPPQ
    It defines the period for bringing the reciepts inwards i.e. prepone the receipts which are required to be considered for rescheduling.
    If your receipts come before your requirements system will give this EM 15.
    Opposite to above is EM 10 i.e. if receipts lie after your requirements
    Go the dates of your planned orders and compare it with your receipt date. U will get idea
    Rgds
    Edited by: Vicky Khabrani on Mar 5, 2008 7:38 AM

Maybe you are looking for

  • The "always open with-"  option doesn't work!

    Is there a way to get the "Always open with" option when doing a (control) (option) click on a file to actually ALWAYS open with the application I choose? Could this feature be broken or perhaps mislabeled? Here's what happens; I'll set a file to "al

  • Evaluating the value of a variable in OpenScript

    I am attempting to navigate through screens and views based on a spreadsheet containing the applicable screens/views. I am using variables based on a dataset which I have been successful in substituting into the various method calls to change views,

  • Adobe does not recognize my license key.

    Hi there.  I want to transfer my Photoshop Extended software to a new laptop.  I only have 1 license -- I got it from a thrid party service and downloaded it to my old computer about 2 1/2 years ago.  It looks like I need the serial number in order t

  • Photos not appearing in iPhoto when importing from SD card

    On the first instance of using my camera to import photos to iphoto, I used the SD card reader integral on the new iMACs; this worked fine - all photos appeared, I selected import and there they were. Since then, when I insert the SD card, it appears

  • [SOLVED] Finding the IP of a device

    Alright, so I installed arch on a computer and set sshd to run in the background. At the moment, the computer doesn't have a monitor, and the other computer in my room is a laptop (so no screen switching). I want to be able to log into the monitorles