Automatic ORDRSP idoc creation problem for customer order

Requirement;
When client received order from customer through EDI, while creating order it has to check is there any difference in the order quantity and confirmed quantity. If any difference reason code should set up automatically at line item level (I configured reason code as "Quantity short" and it's not big deal to get this in user exit). After inbound  EDI order process, order response should invoke only one time that too first time (Not all the time for all orders) when there are line items exist with "Quantity short".
First I'm trying to kick out ORDRSP Idoc from manually created order. While creating order which has confirmed quantity less than order quantity I setup item level reason code as "Quantity Short".
I created condition table with conditions Sales org, Order type, Sold to party(from KOMKBV1) and item level reason code (from KOMPBV1).  I maintained condition record, partner profile.  But Idoc is not generating automatically after I created order manually with reason code at line item level.
Can any one help me on this.
Thanks in advance.

>
Ram_Lin wrote:
> Requirement;
>
> When client received order from customer through EDI, while creating order it has to check is there any difference in the order quantity and confirmed quantity. If any difference reason code should set up automatically at line item level (I configured reason code as "Quantity short" and it's not big deal to get this in user exit). After inbound  EDI order process, order response should invoke only one time that too first time (Not all the time for all orders) when there are line items exist with "Quantity short".
>
> First I'm trying to kick out ORDRSP Idoc from manually created order. While creating order which has confirmed quantity less than order quantity I setup item level reason code as "Quantity Short".
>
> I created condition table with conditions Sales org, Order type, Sold to party(from KOMKBV1) and item level reason code (from KOMPBV1).  I maintained condition record, partner profile.  But Idoc is not generating automatically after I created order manually with reason code at line item level.
>
> Can any one help me on this.
>
> Thanks in advance.
There are two things here
1) the Output not getting generated
2) Output is triggered but IDOC isnot generated.
I feel the Output must not have triggered. this may be because generally the response IDOCs are riggered from the Header level and in the communication struture ( or in the condition record ) you have inserted a field from the Item level, so when the system is trying to trigger the output , the field value may be blank, you can check this in the determination analsysis and you may find an yellow icon in the field agains item reason code. you may have to modify the user exist to pass the correct value to this field.
an alternative way is to trigger the output manually and see if the idoc is geenrated or not.
If the output is triggered and the idoc is not generated. again look in the Processing log. there must be some error description why the IDOC is not triggered. Let us know the description of the error codes so that we can give an idea of where could you have gone wrong.
Thanks,

Similar Messages

  • What is the IDOC Basic Type for sales order creation

    Hi Experts,
    Can anyone tell me Idoc Basic type for sales order creation.
    Thanks
    Prashant

    Hi,
    The basic types for creating the order are:
    1.Orders01
    2.Orders02
    3.Orders03
    4.Orders04
    5.Orders05.
    The basic type for SIS order is:
    SISCSO01.
    Regards,
    Krishna.

  • VMI - ORDRSP IDOC to create a Purchase Order automatically

    Hello All,
    I would like to simulate the VMI process. Which data in a ORDRSP IDOC (Message variant VMI) has to be filled at least, so that from it an Purchase Order is created automatically? Does anyone of you have an example IDOC - maybe in the XML format?
    Thanks in advance
    BR
    RMP

    Hi Hanuma,
    For creation productin order IDoc, you can use standard program RCCLORD and FM CLOI_MASTERIDOC_CREATE_LOIPRO.
    For creation purchase order IDoc, you can use FM IDOC_OUTPUT_ORDCHG or IDOC_OUTPUT_ORDERS.
    There is customer exit available for you to populate new status and order number.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Automatic Source of supply selection for Dependent orders.

    Hi Experts,
    I have a scenario where we have one FG (F1)  with two assembly components S1 and S2 .Assembly components have their own routings.All the master data is exist in APO as well.An order is created for FG and dependent requirements are generated on assembly Components S1 and S2.Please see below to find the clear picture of routings and operations
    In ECC
    Operations for FG
    Op3
    Op4
    Operations for S1
    Op1
    Operations for S2
    Op2
    We have four resources in Line 1 - R1,R2,R3 and R4
                                           Line 2 - R11,R12,R13 and R14.
    Operations are dispatched accordingly in routing.
    Op1 - R1,Op2 -  R2, Op3 - R3 and Op4 - R4
    In APO
    PDS created for S1,S2 and FG
    Each having two different PDS consisting resources of Line 1 In PDS 1 and Line 2 in PDS 2
    My requirements is when order is created against a requirement for FG then dependent requirments is generated for S1 and S2.After MRP run orders are created against dependent requirement.Now if i see the relationship for FG order in Ds Board I can see the dependent orders also.Since my op4 is a bottleneck resource, if there is not much capacity available to produce the order qty then I try to swtich the order from Resource R4 to Resource R14.I am just dragging the order from one resource to other resource but the problem is I want my S1 and S2 orders should also automatically move from R1 to R11 and R2 to R12.
    For Finished good's order source of supply is changing but for Assembly components orders its is not changing automatically.Please provide some solution how I can achive this scenario in PPDS.

    Hi Debasis
    No , it can be used also in Discrete Manufacturing , as APO point of view PDS is master  data which can be transferred from routing or recipe
    This Heuristic can be find in SCM 7.0 EHP2  only according to this link :
    https://websmp207.sap-ag.de/~form/handler?_APP=00200682500000002672&_EVENT=DISPLAY&_SCENARIO=01100035870000000122&_HIER_KEY=501100035870000009166&_HIER_KEY=601100035870000257667&_HIER_KEY=601100035870000258400&
    what's the your SCM Version ?
    Regards
    Rami

  • Automatic Generation of form Printing for an Order

    Hi,
    In an Order one line itme dates are like this <b>from 29.03.2007 to 29.03.2008</b>.
    Here year is splitted into 2 parts. One is <b>1st of Jan to 30th June</b>, second one is <b>1st July to 31st Dec</b>.
               So that my requirement is like this.
    1) I need to print the form automatically when an Order is created.
    2) Every <b>June 15th</b> and <b>Dec 15th</b>  I need to print the form for that Order
        automatically with some other data.
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    How can I trigger the Form automaticall for the above requirement.
    Regards,
    Balavardhan.K

    simple,
    create one new program  not driver program . Then u have to call that FORM
    1.Get all the data created during the dates.
    split the data into , based on the date ranges.
    2.
    loop at itab1.
    perform open_form
                write_form
                close_form
    endloop.
    loop at itab2.
    endloop.
    1) I need to print the form automatically when an Order is created.<b>---->COnfig</b>
    2) Every June 15th and Dec 15th I need to print the form for that Order
    automatically with some other data.
    <b>---> what ? what u split ?</b>
    *--Similarly I need to trigger the form in this way automatically for all Orders.
    <b>---> Config+ABAP</b>
    How can I trigger the Form automaticall for the above requirement
    Regards
    Prabhu

  • Seeburger problem for Custom Mappings..!!!

    Hi All,
    File to Idoc using seeburger adapters(BIc & split)
    When I use standard mapping (Which starts with See_.. )in seeburger splitter configuration, ,the scenario is working perfectly.The idoc is posting in R/3 and Funcack is sending to Partner.
    But When I do for customised mappings (Like the ones which we will develop in BIC and deploy into XI and we will use the mapping name like E2X_DT_INVOICE).. then its not working.
    I tried by keeping custom mappings (E2X_DT_ORDERS) in splitter configuration. But it didn’t work.. !!
    Can anyone please tell the changes what I need to do in the modules or in splitter configuration..??
    Here is the Module parameters which i mentioned in sender File adapter.
    localejbs/SeeClassifier            C
    localejbs/CallBicXIRaBean   BIC
    localejbs/Seeburger/MessageSplitter   S
    C         attID                classifierAtt
    C         destSourceMsg        MainDocument
    C         showInAuditLog       true
    BIC       classifierAttID          classifierAtt
    BIC       destSourceMsg       MainDocument
    BIC       destTargetMsg         MainDocument
    BIC       mappingName           AUTO
    BIC       split                          true 
    1. mappingName I kept as “AUTO” for standard mappings..
    I need to change anything here for Custom Mappings???
    2. I didn’t mention anything here in split adapter in modules.
    Did I need to mention anything here when we do for custom mappings??
    Kindly let me know anyone has idea on this.
    Thanks&Regards
    Seema.

    You will also have to create this mapping on the BIC site.
    check the documentation on the classifier and functional acknowledgements
    Seeburger Classifier with customer mappings.
    In the manual Functional Acknowledgement For SAP XI3.0, Configuration Guide this is described. I add a description of how I have configured it at another customer
    In the Sender Communication Channel the classifier modules are configured (localejbs/SeeClassifier). This module expects some parameters:
    Parameter               Value
    attID                    ClassifierAtt
    classifierMappingID          XXXX (Choose something for XXXX)
    destSourcMsg               MainDocument
    showInAuditLog          true
    The parameter “mappingName” of module localejbs/Seeburger/CallBicXIRaBean should be set to AUTO otherwise the classifier functionality won’t work.
    In the BIC Mapping Designer now you have to create a program called Edifact_XXXX (have a look at page 40 of the manual)
    I generated a mapping called Edifact_XXXX from the message Edifact_service with the programs “CreateXMLMessage”, “CreateMappingXMLToEdi”, “CreateMappingEdiToXML”.
    After this I adjusted the generated program in the UNH segment I added the following rules:
    if name$ = "See_E2X_ORDERS_UN_D96B"
       copy "E2X_ORDERS_UN_D96B" to name$;
    endif
    With this code you change the mapping name that is called in the BIC to convert the EDIFACT message to XML. Or other functionalities.
    The mapping that you use here should be the same as configured in the Splitter of the Seeburger FrontEnd
    Screen prints:
    Configuration of Sender Communication Channel
    BIC MD: Generation programs
    BIC MD: New generated mapping Edifact_xxxx from message Edifact_Service
    BIC MD:Adjustment in mapping program Edifact_XXXX
    Seeburger FrontEnd Splitter configuration

  • Inspection lot settings for customer order returns

    Hi
    The course material for CS states the following :-
    +++++++++++++++++++++++++++++++++++++++
    The serviceable item undergoes a technical check when the goods receipt is
    Posted(repair orders) . You can use inspection lots in Quality Management in the technical check. The system automatically generates an inspection lot for the technical check for a returns goods receipt. <The system does this if you have made the corresponding settings in the material master of the serviceable item.>
    +++++++++++++++++++++++++++++++++++++++
    what settings are required & where in the material master ?
    Thanks
    Edited by: Isabelle Britten on May 7, 2008 12:08 PM

    You must have the 05 inspection type activated in the material master.  You'll find this in the QM view of the material.  Click on the button labelled "insp. setup".
    In the next screen add inspection type 05.  Make sure the "Active" box is clicked on at the end of the record line.
    Craig

  • Idoc creation problem urgent...

    I have a 2 deliveries which has same sold to party 138. The output type defined is ZLDO which is EDI processing. The deliveries are created by batch job.
    Partner profile is maintained correctly as well condition record also exits for this partner 138.
    But for 1st delivery the IDOC got created correctly and everything is fine.
    for second delivery no output was triggered...no Idoc created.
    I am enable to find out what is wrong with other delivery..
    how should I find???
    Please help....its urgent.

    Basic type DESADV01
    message type DESADV
    Partner is 138 which is my sold to party for which partner profile is det correctly.
    process code SD05
    In NACE appliaction V2 shipping Output type ZLD0...processing routines
    Medium 6 EDI program RSNASTED form routine EDI_PROCESSING.
    Now codition record  is maintined for sold to party 138 in VV23 correctly.
    So it should pick this condition automatically. It is doing for first delivery correctly but for second no output is triggered.

  • ALE/IDOC Change Pointers for Custom Table

    Hello all,
       There is a requirement for my client, to trigger IDOC based on the Custom Table changes. The custom table has a maintenance view and will be updated/modified/deleted randomly by user. Now, i need to track the changes in that table and should trigger IDOC for the changes. The Message type i am using for this is MATMAS, as I need to incorporate changes to the same IDOC.
        Is it ok to modify BDCP/BDCPS tables to update the changes from custom table? The Custom Table changes can be tracked through DBTABLOG......and i have my logic to trigger the IDOC
      The question is: If i do modifications to BDCP and BDCPS, how this will impact? In future SAP upgrade/enhancements will this affect anyway? Can any one of you share your experience regarding this. Thanks.

    Hi Raja,
    You can send IDOC based on  table maintenance event
    I think you can code in event 02, to generate IDOC.
    Check below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Regards,
    Nisha Vengal.

  • Standard analyis for customer order

    hi SAP gurus,
    Do we have any tool or report or a t code which can give us our current availability to meet a customer order. For example we get a customer order of 100 units. Is there a way where the user can go in and input that 100 units and the system tells us that yes you have all the required sufficient materials and yes you will be able to meet the customer order. (taking into consideration the existing reservations, due orders etc)
    Thanks
    Anusha

    Hi,
    SAP won't say "yes" (standard system) but ATP can be used for this. Please check SAP online help for details:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/cf/70124adf2d11d1b55e0000e82de178/frameset.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/79/c1c53ace2d6265e10000000a114084/content.htm
    Regards,
    Csaba

  • The problem for sales order ra settlement

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

  • RE G.I Problem for prod order in MTO

    Hi All,
             I am having stock as sales order stock in unrestricted. when I want to issue goods for prod order in MTO through MIGO. when I am checking I am getting the error as sales order stock not available. Any solutions for this Issue.

    Vachanala,
    If the stock is assigned to the perticular sales order & line item, the error won't be there.
    Agin check the stock in MMBE, & ensure that it is assigned to that perticular sale order number & line item.
    If it's not there then do the assignment to the desired sales order with movement type 413 E in t code MB1B.
    Hope this helps you.
    SmanS

  • Automatic GR Problem for Production Order - Missing PARTS

    Hello
    Stocks are available in the QA stock, The Availability check is considering this stock also, but during Production order confirmation,( CO11N)  we are getting error  message missing parts , we have two problem
    1) we don't want to consider the different storage location / QA stock for availability check
    2) Once we transfered the stock to Unrest stock , we can't do CO11N , we have to do manual GR / GI , how to overcome this.
    Thanks
    Ni

    Hy Nick,
    For your First Qustion,
    For this go to OPJJ - Avaibility Check Control
    Select Chcking Group which you have assign to your Order type
    (OPJK) and remove tick from Incl. QI stock.And for Storage location don't tick No Storage Location after doing system will check Material availability in only production storage location (Which you have maintain in MRP - 2 view of Material Master) .
    For pop up option, go to T.Code OPJK Slect your Plant , Order type and option 1 or 2 (At the time order Creation or Release).
    Material Availability checks,
    Don't tick No check option,
    This setting will give the option of Pop up screen with Massage of Missing Parts.
    For your Second Question
    Sorry still I still don't under stand your Problm.
    But I guess you want to restrict the GR until GI is not done due to Missing parts.Correct or not?
    If yes then do the below settings,
    go  to t.code OPK4 (Parameters for Order Confirmation):-
    Go to second tab General Individual Entry,
    Tick Goods Movement selecttion and then also tick Terminate for Incorrect Goods movement.
    This setting will help to terminate any confirmation for which goods movement containes any error.
    Hope it will help to solve your problem.
    Regards,
    Dhaval

  • Problem with automatic outbound IDoc creation

    Hi all!!!
    I want to configure an IDoc to be created when an Installation (IBASE) is saved.
    To do this, I use the IDoc type CRMXIF_IBASE_SAVE01, assign a message type, link with the FM APPL_IDOC_INPUTM to create the IDoc, create a partner profile, create the process code and set on the message type.
    After this, when I create an Installation, Must not the IDoc be created?
    Is the process correct or lack some step?
    Thanks and regards,
    Manuel.

    And, on the partner profile, I can´t set the process code on the outbound parameter because the field doesn´t appear.
    I think this could be the error.

  • CRMXIF_ORDER_SAVE_M01-IDoc Sample data for sales order in CRM.

    Hi Friends ,
    I am usig the IDoc CRMXIF_ORDER_SAVE_M01,I could able to save the Order in CRM,but the values of partners, Sales area,PO Category,Customer Po details and the material detail are not available in the created Sales order,though I am pasing them.
    Are there any mandatory fields/qualifiers I am missing
    E101CRMXIF_ACTIVITY - for the PO Category
    E101CRMXIF_PARTNER - for the Partners
    E101CRMXIF_ORGMAN - for the Sales Area
    E101CRMXIF_SALES - for the Customer Po details
    E101CRMXIF_BUSTRANS_ITEM - for the Material details
    Can any one share a sample IDoc segment fields with the data.
    I greately appreciate your early help.
    Thanks
    VJ

    Hi Vijay,
    Here what I would do to analyse this further. Please try to create the saem order directly in CRM with the
    same masterdata and test the result.  There might be a partner procredure or accesses which cna interfere.
    If this is not helpful please let me know the error message ID and number   you are getting in CRM as well.
    Best regards
    Christophe

Maybe you are looking for

  • Sleep/wake button works, but not when iPhone is asleep

    I just upgraded from an iPhone 4S to an iPhone 5. When my phone is asleep the top wake/sleep button is unresponsive. The home button will wake the phone up, and once it's awake I can use the top button to wake/sleep the phone. But if I sleep the phon

  • How to create variable in BEx on a Nav Attribute?

    Hi All, We are creating a report on Master data object 0MILESTONE. 0PROJECT is the navigational attribute of 0milestone. and ZSTATUS is the navigational attribute of 0PROJECT. Requirement is to create variable on ZSTATUS in BEx. How do I do that? I d

  • DEFAULT a value for a filed from a table used in ABAP query

    I have used a field makt-spras in my infoset query and used it in my selection screen. Whenever I go into the transaction for the query and see the selection screen it always has 'EN' in the language key. Is there a way I can clear that . I dont want

  • CIN-Exicse Invoice created but no internal invoice number generated

    Hi all, While saving the Excise Invoice, the Excise Duties get updated and  shows that the MODVAT is updated, but no internal invoice number is generated. Hence I am not able to change/display the saved invoice in J1IIN. It shows " No document genera

  • Need Organization unit addrress?

    I need to get the city of a organization unit. I have the organization unit id but i am not sure in which table the address is stored. If someone could tell me in which table it is stored or a FM from which i can get address of a organization unit id