Assign sales document to material document

Hello experts,
I had recieved goods with movement type 501.
Now I am trying to do roll conversion for this material document no.
For this I am using BAPI '/AFS/BAPI_GOODSMVT_CREATE' which is returning message type 'E' as 'Enter a sales order for special stock E' as no sales order no. is assigned to this material document no.
So, is there any way that I can assign sales order to this material document no.

Hi,
IT is not clear which BAPI you are using
As the note 307731 states, the fields SALES_ORD and S_ORD_ITEM are
used to design the account assignment object.
The fields VAL_SALES_ORD and VAL_S_ORD_ITEM are used to design the
inventory posting.
Therefore, please kindly check the way you are currently completing
the table GOODSMVT_ITEM. If you post the movement type 501 E, for
example, this should not be:
MATERIAL    AAA
PLANT       1000
STGE_LOC    001
MOVE_TYPE   501
SPEC_STOCK  E
SALES_ORD   1000 <<<
S_ORD_ITEM  10   <<<
ENTRY_QNT   1
ENTRY_UOM   EA
Instead, this table should be completed as:
MATERIAL       AAA
PLANT          1000
STGE_LOC       001
MOVE_TYPE      501
SPEC_STOCK     E
ENTRY_QNT      1
ENTRY_UOM      EA
VAL_SALES_ORD  1000 <<<
VAL_S_ORD_ITEM 10   <<<

Similar Messages

  • Assigning sales document to the sale area.

    before assigning sales document to the sale area, why do I need to combine sales organization, distribution channel and division and assign the same sales org, dc and division.

    Welcome to the forum.  As a new member, I would like to inform you that there are certain rules and regulations applicable to this forum which you can find to your right screen where it has also been indicated that posting basic / repeated query is not allowed. Please search in this forum or Google it with the same text, so that you will find many threads discussed on the same topic.  Take the inputs from there and update still if you are not able to resolve.  Meanwhile, this thread would be locked.
    G. Lakshmipathi

  • SAP SD Material Determination not reflected in assigned sales document type

    Hi Experts,
    I have implemented customized material determination, with requirement to change the UoM of the entered material, from GJ to MJ. I have assigned the procedure to 3 document types:
    1. sales order type
    2. credit memo request
    3. debit memo request
    However, this setup is only reflected in the 1st sales document assigned with the procedure. It is not reflected in the credit or debit memo request.
    I have turned on the material determination analysis in sales order. Per my checking during credit memo request creation, the analysis indicated that the condition is found successfully. But the UoM did not change in the document.
    Please assist.
    Thank you.
    HJMY
    Edited by: HJMY on Sep 20, 2011 1:24 PM

    Hi Ravi,
    Thx for your reply.
    But I am creating credit/debit memo request without reference to billing.
    When I create credit/debit memo request, the material determination is triggered.
    Per my test today for credit memo request, I found that the material determination is triggered.
    However, the substition UoM is not reflected in the credit memo request document.
    The result is reflected only in sales order.
    Please help.
    Edited by: HJMY on Sep 21, 2011 3:28 AM

  • Field "OutputType" when assigns sales document header to output procedure

    Hi Experts,
    When allocates the Output Determination Procedure to Sales doc header (IMG->SD->Basic Functions ->Output Control->Output Determination Using the Condition Technique->Maintain Output Determination for Sales Documents->Assign Output Determination Procedures)
    There is a field called "Output type(with all the output type defined)" and i wonder the utility of this field here during assignement of a Output Determination Procedure to Sales document header.
    Someone could tell me the use of this field here?
    Thank you,
    Best regards,
    Louis.

    Hi,
    i m just giving u clue...i think that will answer ur query..
    have u created Pricing procedure determination
    sales areaDuPPCuPPPricing determination Pricing type
    Now can u tell me what is significance of pricing type?
    if u know then u answered ur thread query..
    correct me if went wrong
    tnanks
    mk

  • Error in assigning sales document type to sales area

    Dear All,
    I am trying to assing sales document type to sales area, but system is not allowing me to do that
    I am having this error message
    " First, maintain the sales area <1000/14/00> as a common sales area, and
      then assign allowed sales document types. This means: Complete the IMG
      activity Assign sales area to sales document types in the sequence
      entered here."
    Note:
    I have never created a distribution channel "14" and division "00" then why system is asking me to define this as a common sales area.
    How can I maintain common sales area ?

    Dear Ali,
    1.You go to VOR1 transaction here you check what is the distribution channel assigned as common distribution channel for your sales organisation and distribution channel ,if it is improper then maintain correct Distribution channel.
    2.You go to VOR2 transaction here you check what is the division assigned as common division to your sales organisation and Divisionif ,it is improper then maintain correct Division.
    3.You go to OVAO transaction here you assign reference sales organisation to your sales organisations.
    4.You go to OVAM transaction here you assign reference distribution channel to your sales organisation and common distribution channel.
    5.You go to OVAN transaction here you assign reference division to your sales organisation and common division.
    6.Finally you assin sales document type to your referenced sales area.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Nov 11, 2008 5:58 AM

  • Sales document field in Service order

    Hi,
    In my scenario,Service order is getting created from sales order.But in the Order header I am not able to see the Sales Document field.But some of the service order types in IDES, Iam seeing the sales document field (above the biling form field) in the service order which got generated through sales order.
    How to get this Sales Documnet field.
    Regards
    SB

    HI
    As per your query
    We have 2 order types say SM01 & SM02
    In SM01 - Revenue posting is not allowed, so you have to assign a contract (Sales Document and Item No)
    In SM02 - Revenue Posting is allowed, so u cannot assign sales documents in this. Settlement wil be done in the order itself...
    In CS, we use SM01, assign the contract with Service Product Material.
    [http://help.sap.com/saphelp_46c/helpdata/en/e6/4a8df09e0311d189b70000e829fbbd/frameset.htm]
    Check out this link, will help in detail.
    - Pithan

  • Add Sales Document to Credit Limit Calculate

    Hi,
    How to Add Sales Document to Credit Limit Calculate?
    both for, to increase credit limit/to decrease credit limit.
    Thanks in advance.
    Swetha

    Hi,
    We assign sales document type to credit group.(OVAK)
    With credit groupcredit control arearisk category we maintain automatic credit control
    in credit control area we specify the credit limit(FD32) with the indivisual customer.
    1) SPRO- Enterprise Structure- Definition-Financial account- Define Credit Control area (OB45)
    The Credit limits specified here applies for new customers.
    2) Assigning company Code to credit Control (OB38)
    3) Credit control area is assigned to the sales area (OVFL)
    5) Defining Risk Categories (OB01)-High, low, medium
    6) Assign risk category to FD32 customer credit master data
    7) OVA7-item category type assignment (credit active)
    8) Define credit group (OB46)-sales doc., delivery doc., PGI
    9) OVAK-Sales doc. Type assignment
    10) Assignment of credit group (OVAD) to sales & delivery & PGI
    11) Maintaining Credit limits for Customer FD32
    12) Automatic Credit Control (OVA8): credit groupcredit control arearisk category
    Edited by: susrikant on Sep 4, 2008 8:02 AM

  • How to Create inspection that assign to Purchase Order / Material Document

    Dear QM Master,
    I am using QA01 to create inspection lot but can any master tell me , How to Create inspection that assign to Purchase Order / Material Document ?
    Appreciate.
    Thank you.

    Hello,
    When you create an inspection lot manually, you cannot reference an original document (for example, a goods receipt document, an order, or a delivery note).
    In QA01 you can create inspection lot manually for all inspection lot origins except the following:
    10 - Delivery to customer with sales order
    11 - Delivery to customer without sales order
    12 - General delivery
    13 - Repetitive manufacturing
    14 - Plant maintenance
    You can also refer this link
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/3519d8448c11d189420000e829fbbd/frameset.htm
    Please check and revert.
    Regards,
    Priyanka

  • Error during material determination for sales document item - RRB

    Hi
    Iam getting following error when trying to create a billing request using DP91.
    Error during material determination for sales document item 40001560/000010
    Message no. AD01155
    Diagnosis
    An error occured during material determination for a dynamic item.
    System Response
    The system cannot perform the function.
    Procedure
    Check in the profile being used whether its characteristic allows the assignment of a material to each dynamic item.
    I have checked my DIP profile using ODP02 there are no errors in it, I have created a Setid and assigned it to costing element in selection criteria and material determination criteria.
    Material origin is checked in costing tab in material master.
    Appreciate help in resolving this.
    thanks,
    Vaishnavi

    Hi Vaishnavi
    The error which you are getting is related to costing.So kindly reach your FI Consultant
    please check the following links which may help you.Also check the link that has been provided my Lakshmipathi
    ERROR AT DP90  TRANSACTION
    Regards
    Srinath

  • Change of Plant in Sales document  for BOM header Material

    Experts,
    I want to change the plant for the BOM header Material in Sales document.
    Now the field is getting grayed out.
    Please let me know how can we do this.

    Try using either of following TCode, (provided your Sales doc don't have any succeeding sales doc to it and material should have been assign to the desired BoM) :
    CS62
    CS20
    CS08
    Thanks & Regards
    JP

  • Find Item number based on Sales document and material in GTS system

    Dear experts,
    I have a situation where in I created a Sales order in ECC system and transmitted the document to GTS for compliance check.
    Now, during my subsequent processing in ECC side, there is a situation where in I need to check if the document (at every item level) is blocked for any reason or is it good to go. But I do not have the item number in ECC side (at the point where I'm calling RFC to GTS to check). I only have sales order number and the material number.
    So, can some one point me table level information in GTS side on how I could find the item number based on Sales document and the material (In our scenario all our materials in a sales order will be distinct).
    Please provide me table information on where the sales document number, item number, material info are stored in GTS.
    Thanks for your time
    -Amit

    Use these tables
    /SAPSLL/CORREF
    /SAPSLL/PNTPR
    /SAPSLL/CUIT

  • Assign partner determination procedure to Item Category/Sales document type

    Hello All,
    How can I assign a partner determination procedure to an item category or sales document type? That field is disabled in item category config step. Please suggest.
    Thanks,
    lavanya

    HI Lavanya,
    The partner determination will happen through a different way and not through item category definition.
    The path would be
    S&D->MAster Data->Bussiness partners->customers->Customer hierarchy->set partner determination for hirearchy categories.
    In this you will have one option to define by item category.
    Hope this helps.
    Abhishek

  • Unable to assign new sales document type to sales area.

    Hi,
    I had created new sales document type. While I assigning to sales area it showing error " Define <XXX/XX/XX > first as a general sales area." I had already created sales area in enterprise structure. I had configured Combine sales org, dist channel & division also. Kindly help me on this.
    Regards
    Nagendra

    Hi,
    I hope you have maintained following Settings:
    SPRO --> IMG --> Enterprise Structure --> Definition --> Sales and Distribution --> Define, copy, delete, check Sales Org
    SPRO --> IMG --> Enterprise Structure --> Definition --> Sales and Distribution --> Define, copy, delete, check Distribution Channel
    SPRO --> IMG --> Enterprise Structure --> Definition --> Logistics - General --> Define, copy, delete, check Distribution Channel
    SPRO --> IMG --> Enterprise Structure --> Definition --> Logistics - General --> Define, copy, delete, check Plant (In case)
    SPRO --> IMG --> Enterprise Structure --> Assignment --> Sales and Distribution --> Assign Sales Org. to Company Code
    SPRO --> IMG --> Enterprise Structure --> Assignment --> Sales and Distribution --> Assign Dist. Channel to Sales Org.
    SPRO --> IMG --> Enterprise Structure --> Assignment --> Sales and Distribution --> Assign Divsion to Sales Org.
    SPRO --> IMG --> Enterprise Structure --> Assignment --> Sales and Distribution --> Set up Sales Area
    SPRO --> IMG --> Enterprise Structure --> Assignment --> Sales and Distribution --> Assign Sales Org.-Dist. Channel-Plant
    SPRO --> IMG --> Sales and Distribution --> Master Data --> Define Common Dist. Channel
    SPRO --> IMG --> Sales and Distribution --> Master Data --> Define Common Division
    SPRO --> IMG --> Sales and Distribution Channel --> Sales Document Header --> Define Sales Doc. Type
    SPRO --> IMG --> Sales and Distribution Channel --> Sales Document Header --> Define No. range Sales Doc.
    SPRO --> IMG --> Sales and Distribution Channel --> Sales Document Header --> Assign Sales Area to Sales Doc. type
    Best Regards,
    Amit

  • Exit for assigning external number range to sales document

    hello friends,
    can anyone help with this issue.in tcode 'vn01' we are assiging internal number range but we dont want that number range that is external number range rather than using internal number for sales document.i.e the number range should start with 'ufc'followed by some number range.
    plz reply as soon as possible .
    thanks and regards,
    siri

    Hi Sirisha,
    I believe you can assign external number range manually by using transaction SNRO and then assign the number range before entering into the main screen of  VA01 or saving the document.
    The number range is linked to the order type (VBAK-AUART), this is done in customizing.
    For different sales area it need to have different number ranges for the same order type.
    Please see that the same sales doument number should not be linked to several sales orders which are to be created,if I am not wrong
    Regards,
    Naresh
    ****Please do reward points if found useful

  • User status profile assigned to document type in specific sales org.

    Hi,
    can anyone tell me, if it is possible to assign a user status profile to the combination sales document type and sales organization?
    Maybe with some kind of enhancement and/or user-exit?
    Best Regards,
    Florian

    Hi,
    You may use the following user exit to determine the relevant status profile with specific sales organization (VKORG) (There is no standard way is available to do so)
    User-Exits in Program RV45PFZA
    USEREXIT_SET_STATUS_VBUK
    In this user exit you can you can store a specification for the reserve fields in VBUK (header status). Reserve field UVK01 could, for example, be used for an additional order status (as for rejections status, etc.).
    The following workareas are available for this user exit:
    VBUK (header status)
    FXVBUP (item status)
    FXVBUV (Incompletion)
    USEREXIT_SET_STATUS_VBUP
    In this user exit you can you can store a specification for the reserve fields for VBUP (item status).
    The following workareas are available for this user exit:
    FXVBAP (Item data)
    FXVBAPF (Dynamic part of order item flow)
    FXVBUV (Incompletion)
    USEREXIT_STATUS_VBUK_INVOICE
    You can use this user exit to influence billing status at header level.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 12, 2010 2:46 PM

Maybe you are looking for