IDOC fialed while creation of sales oredr

Hi Experts
   We are creating sales order through IDOC and for creating SO we are using BAPI_SALESORDER_CREATEFROMDAT2 but idoc is getting failed with error
' Internal error: 10 , 000010 , NOT_ALL_INPUT_DATA_PROCESSED '
Not able to understand when this error comes. Please letme know what is the issue?
Thanks,
Amit

Hi,
See this [Thread|Salesorder creation through BAPI;
Also.
[Link|http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1027244,00.html]
Rhea.

Similar Messages

  • Credit Check while creation of Sales Order for Item Category Purchase Req

    Hi Experts,
    We are creating Sales Order using an Order Type ABCD for a material 1000. While creating Sales Order, we use Item categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO).
    Credit Check settings are there at Order Type ABCD as well as all the Item Categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO). We are trying to test a scenario where a customer does not have enough credit limit while creating a sales order.
    When we create a sales order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP), credit check fails because our customer does not have enough credit limit, so that Sales Order gets created and Delivery does not get created (This is what we want), then we go into VKM1 manually and relase the sales order and then if we go to VA02 and check the status of the Sales Order, it says sales order status is complete. My Sales Team is saying here also Purchase Requisition is getting created.
    When we create a sales order for Item category ZOBO, it is going into Purchase Requisition screen. Once we give another plant in the create purchase requisition screen and save it we are getting a message that cannot create Purchase Requisiton because of Credit Block.
    The settings were same for all the Item categories.
    1) What made difference to complete Purchase Requisition for Item Categories (ZOVD, ZOVB,ZOST,ZOVP) and not for Item Category ZOBO when my customer is not having enough credit Limit.
    2) Why Purchase Requisition screen is not coming for us when we create an Sales Order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP). We only get Create Purchase Requisiton Screen for Item Category ZOBO.
    Thanks
    Rajanikanth

    Hi,
    None of the Item Categories has Create PO Automatically.
    Thanks
    Rajanikanth

  • No commitment Item Update while creation of Sales order

    hi,
    I have  maintained Derivation Rule
    Co Code / GL/ BA/ Plant / S Loc/ = Fund / Comitement / Fund Center.
    Stil in that case at the time of creation of Sales order, systeme is giving error (++No commitment Item Update M V2225++)
    And also i have maintained the Comitement Item in GL master.
    Could you give me some solution.
    Thanks
    Nilesh R

    Hi Nilesh R,
    Please check the following information of Consulting Note 1268001 (the same for funds center is valid to commitment item):
    1.  You receive the error message in a Sales Order (SD) process.
       a) SD customizing settings for FM objects.
       You can set "commitment item" as an optional entry in SD customizing settings for field status. This can be checked in the IMG path: SPRO -> Public Sector Management -> Funds Management Government-> Actual and Commitment Update/Integration -> Integration ->
       Maintain Field Status for Assigning FM Account Assignments
       You should have a record with Object type = '04' (sales order).
       It is not necessary to have the field as required (unless you want to insert it in the origin process) due to the fact that
       this can avoid the account assignment derivation between CO objects and FM objects. The field can not be hidden otherwise it will be not derived.
       For more information, check note 572729.
    The system response depends on how you defined the fields of the FM dialog box using Customizing activity 'Maintain Field Status for Assigning FM Account Assignments':
         -  The fields of the FM dialog box are defined as ready for input ('Opt. entry' or 'Req. entry') in Customizing:
            If you change the reference object in the sales order, the system does not re-derive FM data automatically. For that, you
            must navigate to the FM dialog box and, by choosing icon 'Redetermine account (F5)', trigger the derivation manually.
         -   The fields of the FM dialog box are defined as not changeable ('Display') in Customizing:
             If the reference object is changed in the order, FM data is redetermined automatically.
         -  The fields of the FM dialog box are defined as not displayable ('Hide') in Customizing:
             FM data is not determined.
    Therefore, set the field status to optional permit the user to enter the FM objects manually and still benefit from the possibility to
    automatically derive the FM objects from a CO object.
    For more information on integrating Plant Maintenance, Sales and Distribution and Project System, see the SAP Library Accounting -> Public Sector Management -> Funds Management -> Actual and Commitment Update -> Integration with Plant Maintenance, Integration with Sales and Distribution and Integration with Project System (Network).
    You can also check the documentation available in the IMG menu of the status (written above).
       b) If you do not want to integrate sales order process within PSM-FM, you should consider to deactivate this integration in
          customizing transaction OFUP. In release EA-PS 1.10 and 2.00 modification note 591573 is available.
    Please also check consulting note 1267998 and let me know if you have used FMDERIVE trace tool.
    If you want to have SD integrated to FM, please check if in OFUP the flag of this integration is accordingly set.
    If you work with free-of-charge sales order line items mixed with line items having value, please consider to apply note 1441847 (if it is valid to your current release/package).
    I hope this answer your inquiry.
    Best Regards,
    Vanessa Barth.

  • How to generate IDOC while creation of Sales Orders

    Hi
       If i create a sales order means.. i want to trigger a IDOC with this ORDER data .. how can  we do this.. when ever i'm creating a sales order it should be automatically trigger a IDOC , Because  ehen ever sales ordre  was created in R/3 system it should be transferred to some destination.. all the ALE configurations are done.. .
        so, how can we trigger an IDOC based on Orders creation..
    Thanks
    Babu

    Hi,
    Here is the link
    [Re: Idoc creation;
    Regards
    Sudheer

  • Idoc generated for creation of sales order

    Hi all,
    In my project we have two different boxes-I and B.When a purchase order is created in I Box an idoc is triggered which goes to the B Box and creates a sales order.I want to do some changes in E1EDKA1 and E1EDPA1 segment in the idoc in I Box so that when it goes to B Box it will show the changed one.For example if there is EN in E1EDKA1 and E1EDPA1 segment then in B Box it will be appeared as ZA.I need to know that for this change I have to do the coding changes in which USER EXIT?The function module which is triggered during the sales order creation in B Box is IDOC_INPUT_ORDERS.
    Thanks in advance
    Raj

    Hi Raj,
    go to se37..
    enter the function module and after each segement append there is a customer exit and badi is available to add you custom code..
    in the user exit read the segement and modify the segemnt data..
    these are the below exits available for the Orders
    ORDCHG I VEDB0001 Sales Ord. Change
    ORDERS I VEDA0001 Sales Orders                  "this is the user exit for you to code..
    ORDRSP I MM06E001 Order Response for
    Purchase Order
    search--  CALL CUSTOMER-FUNCTION '011'--Fm--EXIT_SAPLVEDA_011--include--INCLUDE ZXVEDU13.
    Regards,
    Prabhudas

  • Restrict Manual Entry of Items while creation of sales order

    Hi,
    <b>Requirement:</b>
    User can create a sales order only for line items of contract if sales order is created with reference to contract. Any manual entry of line item should be restricted.
    <b>Analysis:</b>
      I have coded to check the line item is created with ref to contract or not.( VGBEL gets populated if it is created with ref to contract.). I checked in userexits (USEREXIT_SAVE_DOCUMENT_PREPARE) and (USEREXIT_FIELD_MODIFICATION).
      Do help if anyone have come across such scenario.
    Regards
    Sailaja.
    (Intelligroup)

    Hi,
       This functionality may be possible with a Configuration setting in SPRO.
       plz check with your Functional guys.
    regards.

  • Problem while creation of sales order

    Hi Experts,
    I have created customer and i am creating sales order for the same. I am creating it through transaction VA01 and taking order type as OR.
    Actually i have changed VAT tax for particular sales org. and testing it for order. I insert appropriate data in frist screen which is for sold-to-part, i put order number and it's quantity there. When i double click on the material and goto second screen in conditions tab, i put there condition type Z701 and rate. After that i hit enter so that 1st debug screen appeared and after that 2nd debug screem appeared, but when i wanted to go ahead from 2nd debug screen as below
    Debug :
    Please maintain the following settlement rule for the order:
    Path: Goto > Item > Account Assignment > Settlement Rule
    Category          Settlement Receivers         Bus.Area
    when i am trying to go ahead from this screen it is going in infinite loop, can you please tell me the possible reasons.
    Thanks.

    Hi,
    Business area is available, i just didn't mention it there.
    It's like
    Debug
    Please maintain the following settlement rule for the order:
    Path: Goto > Item > Account Assignment > Settlement Rule
    Category          Settlement Receivers         Bus.Area
    G/L                   4101045                   1001
    If you know why it is happening, please let me know.
    Thanks..

  • Updation of condition type in conditions tab while creation of sales order

    Hi folks
    I have added one field called  price key in Sales B screen of VA01 in item level.
    When user will input price key here and then put enter. Then the Price should be updated in Conditions tab i.e the condition type will be updated in conditions tab.
    I need to maintain this price key in VK11. So As per the Price key i need to update condition types in conditions tab.
      here i am using a user exit  SAPMV45A. i can get condition type for the specified price key from A905 table.Then how to update this condition type in conditions tab through user exit.
    Plz suggest.
    Thanks
    pmr

    Dear friend,
        if the sales order is saved and you want to change the pricing click on update which will be on the lower level of your condition tab in va02.
    and if you are trying to create a new sales order  and if the value is greyed our - check whether in pricing procedure - control data - you would have maintained statistics against that condtion tab.
    check this out and get back
    regard,
    Sudhir

  • Add partner while creation of sales document

    Hi All,
             I have a requirement in which I need to add a PARTNER FUNC (forwarding agent) to the partners tab in sales order (VA01). The partner is determined from a custom table based on shipping conditions, transportation group,landing zone and country. I have chosen USEREXIT_MOVE_FIELD_TO_VBAK ( MV45AFZZ) to put my logic in. After I enter item details and hit enter and go to header->partners I see a new entry partner function (Forwarding agent) and the Partner fields populated correctly. But the address fields (Name1, City, Street etc) are empty even though the address is maintained in the master data. Once I save the document and come back in change mode even the partner field is showing '0'. The VBPA table is properly populated, I am not able to figure out why its not visible on screen. Any input is greatly appreciated.
    I tried USEREXIT_SAVE_DOCUMENT but it doesn't even populate the partner function.
    Thanks,
    Giri..

    You can write the code under form routine(MV45AFZZ) :
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    ENDFORM.
    if you update the address in VBPA,it will not update centrally,you should update ADRC Table,then it effects into centrally
    Thanks
    Seshu

  • Availability check for configurable material while creation of sale order

    Hi Experts,
    Does anyone know how stock can be viewed for configurable materials.
    Does ATP work at the time of Sales order to check for material avaialablity based on the variant in the sales order ?
    Regards
    Chandru

    Dear Sir,
    Sorry for the delayed reply. I was in long leave.
    My scenario is same like Material variant.
    This is my requirement. Whether this is possible or not.
    To check stock of machine nearest to configured specs or lead time.It should indicate the percentage of material  in production stock & lead time for manufacturing the same. & also we should be able to link production order number in sale order manually.
    Please guide me to sort out this issue.
    Regards
    Chandru

  • Process Orders, send idoc (LOIPRO) while creation/modification(COR1+BADI)

    Hi all,
    I'm just trying to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. First of all I've decided to do it via user-exit but I've seen that the order number (AUFNR) is not determinated yet, so finally I'm doing it with the BADI WORKORDER_UPDATE (method BEFORE_SAVE) where there is all the data ok.
    Until this point all goes fine. To send the standard idoc there is the program RCCLORD but as the order is not saved on the system tables I cannot do a submit, so I'm doing a call to the function where the idoc is send of the program ( CLOI_MASTERIDOC_CREATE_LOIPRO ). All seems to be ok, but finally it goes allways to a short dump because at the end of the function there is a commit instruction ( and it seems it is not possible into a BADI ).
    There is a easy way to do it or am I on the correct way?
    I'm trying a lot of possibilities ( and it doesn't work for distinct causes ) but allways the start point is the avobe process.
    Many thanks in advance.
    Legoles_

    Ok, I believe I have this solved...
    CORn
    --> Create or change a PP order, release and save
    BADI WORKORDER_UPDATE~BEFORE_UPDATE
    --> Do your checks and call a custom function module (ZZ_SEND_IDOC) sending the aufnr, matnr, and werks. Cal this FM starting new task destination 'none'.
    ZZ_SEND_IDOC (RFC-enabled)
    --> wait up to 60 seconds (so update finishes)
    --> add code to see if the record is no longer locked
    --> Fill parameter table rsparams with aufnr, matnr, werks, logical system, and mess type
    --> submit RCCLORD and return
    parallel processing rules say you should not use a submit in the FM but it is working for me.
    With this I can avoid using batch jobs to send these out. Yay.

  • Process Orders, send idoc (LOIPRO) while creation/modification cor1

    Hello,
    I need to send standard LOIPRO idoc when a process order is saved on COR1 / COR2 transactions. I want to do it using  user-exit but I've seen that the order number (AUFNR) does not have a value.
    Is there any way to know the number? is it stored in another field ? How can I find the first user exit where the AUFNR field is already populated?
    I saw a post in the same subject but there was no suggestion how to do it.
    Thanks in advance,
    sara

    Hi Sara,
    did you find a solution by now?
    We have the same Problem.
    I tried to call the function "CLOI_MASTERIDOC_CREATE_LOIPRO" from a BADi (IF_EX_WORKORDER_UPDATE~BEFORE_UPDATE" but since there is a commit inside it does not work. 
    Thank you!

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

  • Creation of sales order- screen exit

    Hi all,
    I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.

    Hi
    See SAP Note 209278 - Display of customer-specific fields in sales doc
    Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
    Regards
    Eduardo

  • Idocs for  quotation creation

    Hi Experts,
    Have any one of  you worked on idoc meant for sales quotation ?
    could u please tell me whether the idoc meant for creation of sales order and sales quotation are  "orders--"
    only .
    Thanks,
    sabs
    Edited by: sabsvk on Jan 7, 2010 8:21 AM

    Hi experts,
    I am new to idocs, Requiremnt is to send the idoc having quotation no to the external sys ( out bound ).
    i have tried but i cld only find idoc for sales order which is orders--. somehow i cld not locate the idocs for quotation
    if someone has already worked on the idoc for  sales quoatation wld request you to suggest.
    I have also tried to search on sdn for the above mentioned requirement but was not successful
    your help will be appreciated.
    Thanks
    Regards
    Edited by: sabsvk on Jan 11, 2010 6:29 AM

Maybe you are looking for

  • Calling a method that returns values in a map - using JSTL

    Hi I have a method within an object that returns a List for a particular category public List<String> getFieldsInCategory(String categoryName){     return _categoryFieldsMap.get(categoryName); //This is a map that returns a list                      

  • Execution of subquery of IN and EXISTS clause.

    Hi Friends, Suppose we have following two tables: emp empno number ename varchar2(100) deptno number salary number dept deptno number location varchar2(100) deptname varchar2(100) status varchar2(100) Where dept is the master table for emp. Following

  • Simple Question Alternate color for Interactive form

    I can easily change the alternate color in rows for tabular but not interactive, can someone show me how. Thanks, Doug

  • Applying functions to database fields when querying for a form field

    Hi, how is it possible to apply trim() or another method to the content of a database field when a query is initiated? The actual problem is that there are entries in the database which are entailed by a blank and, because the user is not aware of th

  • Cast Exception Issue. Please help

    Hello all, I have a piece of code that is giving me runtime class cast exception error. The error occurs whenever code trys to cast the tableData into Strin. Any insight into why this error occurs I would I appreciate the information: for (int i=0; i