Sales Document type not defined

Hi
I am working on an interface. Design is like below
Purchase Order->File Adapter->XI (BPM)->RFC Adapter->Sales Order in R/3
When I am trying to cretae a sales document in R/3, I am getting a message back from R/3 saying 'Sales Document is not defined'. But when Checked in R/3, that sales document type is existing. I don't see any Mapping execption in monitoring, but I am receiveing this message back from R/3
Any feedback will be highly appreciate.
Cheers
Rajiv P

Hi
Well initially it was a value-mapping problem. It is possible to debug a BAPI/RFC from XI. If it is possible, the please advise me of the procedure. My XI is working fine but I am getting a message back from R/3 as below. Any feedback will be highly appreciated
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:BAPI_SALESORDER_PROXY_CREATE.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
  <E_SALESDOCUMENT_EX />
  <E_STATUS>E</E_STATUS>
- <RETURN>
- <item>
  <TYPE>S</TYPE>
  <ID>V4</ID>
  <NUMBER>233</NUMBER>
  <MESSAGE>SALES_HEADER_IN has been processed successfully</MESSAGE>
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1>VBAKKOM</MESSAGE_V1>
  <MESSAGE_V2 />
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  <PARAMETER>SALES_HEADER_IN</PARAMETER>
  <ROW>0</ROW>
  <FIELD />
  <SYSTEM>UD1CLNT010</SYSTEM>
  </item>
- <item>
  <TYPE>E</TYPE>
  <ID>V1</ID>
  <NUMBER>384</NUMBER>
  <MESSAGE>Sales unit ****** is not defined for item 000000</MESSAGE>
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1>******</MESSAGE_V1>
  <MESSAGE_V2>000000</MESSAGE_V2>
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  <PARAMETER>SALES_ITEM_IN</PARAMETER>
  <ROW>1</ROW>
  <FIELD />
  <SYSTEM>UD1CLNT010</SYSTEM>
  </item>
- <item>
  <TYPE>E</TYPE>
  <ID>V4</ID>
  <NUMBER>248</NUMBER>
  <MESSAGE>Error in SALES_ITEM_IN 000001</MESSAGE>
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1>VBAPKOM</MESSAGE_V1>
  <MESSAGE_V2>000001</MESSAGE_V2>
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  <PARAMETER>SALES_ITEM_IN</PARAMETER>
  <ROW>1</ROW>
  <FIELD />
  <SYSTEM>UD1CLNT010</SYSTEM>
  </item>
- <item>
  <TYPE>E</TYPE>
  <ID>V4</ID>
  <NUMBER>219</NUMBER>
  <MESSAGE>Sales document was not changed</MESSAGE>
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1 />
  <MESSAGE_V2>000001</MESSAGE_V2>
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  <PARAMETER />
  <ROW>0</ROW>
  <FIELD />
  <SYSTEM>UD1CLNT010</SYSTEM>
  </item>
- <item>
  <TYPE>E</TYPE>
  <ID>C_</ID>
  <NUMBER>005</NUMBER>
  <MESSAGE>The object references could not be written to the CRMKEY</MESSAGE>
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1 />
  <MESSAGE_V2 />
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  <PARAMETER />
  <ROW>0</ROW>
  <FIELD />
  <SYSTEM>UD1CLNT010</SYSTEM>
  </item>
  </RETURN>
  <TI_EXTENSIONIN />
  <TI_ORDER_CCARD />
  <TI_ORDER_CFGS_BLOB />
  <TI_ORDER_CFGS_INST />
  <TI_ORDER_CFGS_PART_OF />
  <TI_ORDER_CFGS_REF />
  <TI_ORDER_CFGS_REFINST />
  <TI_ORDER_CFGS_VALUE />
  <TI_ORDER_CFGS_VK />
- <TI_ORDER_CONDITIONS_IN>
- <item>
  <ITM_NUMBER>000001</ITM_NUMBER>
  <COND_ST_NO>000</COND_ST_NO>
  <COND_COUNT>00</COND_COUNT>
  <COND_TYPE>EDI1</COND_TYPE>
  <COND_VALUE>57.600000000</COND_VALUE>
  <CURRENCY>AUD</CURRENCY>
  <COND_UNIT />
  <COND_P_UNT>1</COND_P_UNT>
  <CURR_ISO />
  <CD_UNT_ISO />
  <REFOBJTYPE />
  <REFOBJKEY />
  <REFLOGSYS />
  <APPLICATIO />

Similar Messages

  • Error message  - Message no. 26168, Document type '' not defined .

    Hi,
    I am setting up QA system after successful building of Dev System .
    While chnaging newly created folder in QA system gives error message  - Message no. 26168, Document type '' not defined .
    Document Type exists and are used to create folders successfully.
    Why I am getting this error?
    Kind Regards
    Harish

    Hi,
    Am Not able to implement this Note .
    Am facing the same issue .Please let me know the solution ASAP.
    Our SAP Version ECC6 EHP6
    Regards,
    Veeramani

  • Error Document type "" not defined

    Hi All,
    I am getting below error message when i am trying to see the output of a query build on Infoset in SAP R3 system.
    The Infoset is build on top of BKPF,BSEG and EKPO Tables.
    Document type  not defined
    Message no. F5814
    Diagnosis
    Financial Accounting service: document type "" was not found in the document type table. There are two possible causes:
    document type "" has not been set up in FI customizing
    document type is supplied incorrectly from the calling application
    System Response
    System error.
    Procedure
    There are two possible measures:
    set up document type "" in FI customizing
    system error within the calling application - get in contact with the SAP Hotline Service.
    Any input on above issue will be of great help.
    Regards,
    Anjali Singh

    Hi Anjali,
    In which system you are getting this error? Development or Production?
    I think you have doc. type just in BKPF (Accounting documents headers). Check if you have any record with document type blank.
    You can use t code SE16N for this issue. When you are setting filter on field "document type" (BLART) you can see the list of values. Check if there is any blank item
    Regards,
    Omid

  • Document type not defined in lsmw idoc method

    hello  iam posting Open AR Line Items for contract account using message type
    CTRACDOCUMENT_CREATE  using lsmw idoc method .iam getting error as Document type not defined but actually when iam creating document manually item is created with out any error that means it is defined and my functional consultant is also saying he defined document type.can some body explain me what is the  problem.
    Regards
    priya

    Check OMW9, here document type is defined for the transaction MIRO..
    Go to OMW9, click in the Document Type.
    Then double click on MIRO.
    Also check the sap notes which is referred in the similar thread Document type not defined f5814

  • Document Type not defined-J1IS

    Hi,
    When i am doing J1IS Transaction, at the time saving the documest i am getting an error Document Type not defined, so please guide where to define and necessary Customizing for that!
    Thanks in advance,

    Dear Andy
    If I understood your explanation correctly, please check in [VOFA]  for the billing type S1, whether you have assigned S1 in the field [Document Type]
    For information, as like for F2 document type, RV is the accounting document type which flows by default even if you maintain blank field but for S1, you should maintain the accounting document type for cancellation which is nothing but S1.
    thanks
    G. Lakshmipathi

  • While click on document shows error"document type not defined"

    HI
    we have folder structure in  DMS like:
    public folder->engineering folder->design folder->document(any)
    while i am clicking on document it shows error msg document type not defined
    please let me know why this error occur

    Hi,
    Since you are using document structure functionality, You are require to create an public folder initially and private folder for each user which is specific to user ID.
    If you dont want to create private folder you can select "Select document Via in CV03N screen and select only" Selection screen " and not browser.
    If the above changes is done then system will not through an error from CV03N screen"document type not defined"
    reward points if useful.
    Rgds,
    Nayeem.

  • Issue With Sales Document Type in BW.

    Dear Experts,
    I am facing an Issue with Sales Document Type(Object name is 0DOC_TYPE).
    when i am loading data from R/3 to BW It is converting Sales Document type as follow
    Sales Document Type in R/3                         Sales Document Type in BW
    OR                                                                        TA
    CR                                                                        G2
    DR                                                                        L2
    I check with an ABAPer and he told that there is conversion exit for this Object so that's why it is converting when sending to BW. But the user wants to see in Report same as it is in R/3 like OR, CR DR ... etc.
    I have done some investigation and found that the conversion exit (CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) are converting the values based in the table TAUUM
    The staructure of TAUUM is
    MANDT(Client)  SPRAS(Language) AUART(Sales document type (not converted)   AUART_SPR(Language key for sales document type)
    and values are
    100 E TA OR
    100 E G2 CR
    etc....
    The same Conversion exits(CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) and table TAUUM are available in BW as well. So i thought I can Use InfoObject 0DOC_TYPE by changing it's conversion Routine as AUART(which runs based on the above mentioned conversion exits).
    but the the problem is table TAUUM(Pool Table) does't have any data in BW.
    So can anyone tell me is there any option to load data into table TAUUM from R/3 or any other option to solve this issue.
    Your ideas will really help's me.
    Thanks in advance,
    Dara.

    Hi Venkat,
    Thanks a lot for your immediate response.
    The InfoObject 0DOC_TYPE was without conversion exit by default. but when data coming from R/3 it is converting and sending to BW So that's why i am planning to use conversion exit "AUART" in the info Object.
    I checked data in R/3 using RSA3 it is showing sales document type as "OR" and for the same transaction data when i checked in PSA it is showing as "TA".
    Could you please let me know if there any other options.
    Thanks in advance,
    Dara.

  • Indicator in Sales Document type

    Hi Gurus,
    what is the use of the field Indicator in the Sales Document Type while defining VOV8.
    What exactly the use of it.
    Thanks & Regards
    VASU

    mr.vasu
    indicator in sales documents clasifies the document type.it is only for to display in TVAK table.TVAK table is the table where all the sales document types going to be stored.
    vijaya rajendra.g
    reward if it is useful.

  • Sales document type CR is not defined

    Hello Experts:
       I tried the Bapi_Salesdocu_Createwithdia to Create CR sales document table. In SE37 it works fine. But once moved into .net, when the proxy code trying to execute this
    results = this.SAPInvoke("Bapi_Salesdocu_Createwithdia",new object[] {
                                Binary_Relationshiptype,Convert_Parvw_Auart,Sales_Header_In,Sales_Header_Inx,Salesdocument,Sender,Synchronous,Partneraddresses,Return0,Sales_Ccard,Sales_Cfgs_Blob,Sales_Cfgs_Inst,Sales_Cfgs_Part_Of,Sales_Cfgs_Ref,Sales_Cfgs_Value,Sales_Conditions_In,Sales_Conditions_Inx,Sales_Items_In,Sales_Items_Inx,Sales_Partners,Sales_Schedules_In,Sales_Schedules_Inx });
    It returns a unhandle exception of
    Sales document type CR is not defined
    Anyone had experience with this? And have a solution for? Thanx

    I just tried with "OR" and still doesn't work. Must be a sub reference or something! ??

  • Sales document type is not defined for(sales org/division/distribution chan

    Hi Friends,
    I am getting the error that sales document type is not defined for x/y/z(sales organisation/division/distribution channel). while creating sales order.
    Any pointers will be rewarded.
    Regards

    Hi there,
    When you define a sales doc type in VOV8, you also should assign that to the sales area SA (sales org / dist channel / division).
    Only then you will be log a sales order for a sales area.
    Check if you have done it. You will find it in SPRO --> Sales & Distribution --> Sales --> Sales doc header --> Assign sales doc type to SA.
    Regards,
    Sivanand

  • Immediate Transfer Order Creation not occuring for Sales Document Type

    Hello gurus,
    I have a situation where a transfer order is not being created immediately for a specific sales document type.
    Here is an example document flow of a desired scenario where the system is working:
    Sales document type:  ZOR
    >  Delivery type:  LF
    >  WMS transfer order
    The Item Category in this scenario is TAN.
    Here is an example of the document flow in the current scenario where the system is not working:
    Sales document type:  ZPRD
    > Delivery type:  LF
    The Item Category is also TAN in this scenario.  The only identifiable difference in these scenarios is the sales document type.  For the ZOR SaTY, a Transfer Order prints immediately once the delivery is created.  For the ZPRD SaTY, a Transfer Order needs to be manually created after delivery creation.
    Is there a configuration setting that is controlling this?  Any help would be greatly appreciated.

    Thank you very much for the link.  When I insert the WMTA output type in the delivery output header, the Transfer Order is automatically created.
    The problem I'm running into now is the configuration setting that controls this.  I thought I figured it out when going to this IMG path:
    SAP Customizing Implementation Guide  -->  Logistics Execution -->  Shipping -->  Basic Shipping Functions  -->  Output Control -->  Define Print Parameters Shipping
    When selecting the Delivery Note, the shipping point I was using was not configured in this location.  I added the shipping point into this transaction, saved, and created a new order & delivery.  However, the WMTA output type still was not automatically inserted into the delivery when saving.  Is there another location I should be looking to fix this so that when I enter an order with a particular Shipping Point, the WMTA output type automatically appears in the delivery?

  • Copying from sales document type L2 to RK is not supported

    Dear Experts,
    Can any guide me please regarding my issue,
    My process is linked with service order,after creation of service order,I am going to DP90 Tcode with this it will generate debit memo request,and I will do the billing from vf01.
    Now I want to make some  invoice correction,
    so I have copied the standard RK invoice correction document to ZRK
    and i have assign this for my sales area in sales document header,
    now I have raised the order from va01,and I have given the invoice document number,
    its showing this error u201CCOPYING FROM SALES DOCUMENT TYPE L2 TO ZRK IS NOT SUPPORTEDu201D
    for this I think I have to maintain the copy controls,
    can any one help me out how to maintain the copy controls for invoice correction.

    Dear JP,
    As you said I have maintained the item category,I have only two item categories,one is L2N,L2W.
    I have copied the standard document  from VTAF,and I have maintained the copy controls like this,
    Copied from RK to F2 as ZRK to ZL2 header data
    Data T   052  billing doc header
    Data T  103   billing bus header data
    Data T  003   billing header partner
    Copying requirements as   021  billing header
    Tick on copy item number
    Then item category maintained as
    Item category as L2N
    Data T  153  Item from billing document
    Data T  104  billing bus item data
    Data T  004   billing item partner
    Copying requirements  as  000
    Pricing type         u201CEu201D
    2nd pricing type  u201CDu201D
    And the same for L2W,but I have not maintained for u201CG2Nu201Ditem category,but I has copied automatically?
    Then I have raised the sales order from va01,its ask the billing document number,I have  given the billing doc number and press on copy,its has open the sales order,
    Here I have two issues,
    1st its generating the two same line items,with G2N item category
    EG:if I have given 2 materials line items then its generating the 4 line items with the same material.
    2nd I am not able edit any line litem,it all are coming in non editable mode,how to make editable field,and make the changes for price and quantity.
    After saving the document again I have to do the billing from vf01?
    please suggest me,so this will be added advantage to the user.

  • Copying from sales document type QTH to HU is not supported

    guys i was trying to create a contract based on a quotation created by me  here QTH is my quotation type and HU is my contract type the error i encountered was thiss.
    Copying from sales document type QTH to HU is not supported .

    Hi
    In VTAA maintain the copy control settings from Quotation to Contract
    I think you can copy the AV document type which is quotation for contract.
    regards

  • 'Order type not defined in the sales area'.

    Hi,
    I am creating a sales order, in order type I am taking standard order 'OR' but it is giving error message -'Order type not defined in the sales area'.
    Pls where to tweak..
    regards,

    Hi,
    In the transaction code OVAZ you can assign the SALES ORDER type to your SALES AREA
    and also check the below transaction code
    OVAM--- Reference distribution channel
    OVAN---- Reference Division
    OVAO ---Reference sales organisation
    revert back if you need any more
    thanks
    santosh

  • Two different billing document types for 1 sales document type.

    Hi Gurus,
    I have a requirement , wherein our client is having counter  sale.
    He is using one sales doc type , and while creating a order , he is manually adding payment terms.
    Requirement is , if the payment terms are cash, billing doc type created later on should be one , else during credit sales , billing document type should be different.
    As per my understanding this is not possible.
    Want to know if anyone has some different thought on this.
    Thanks in advance
    Nilesh.

    Dear Nilesh,
    There two options you can look in to
    One option is
    1.You can define different sales document types for cash and credit.
    2. You can define two different billing documents.
    3.Do the copy control settings for each combination
    Cash sales order >Delivery>Cash invoice
    Credit sales order >Delivery>Credit invoice
    Second option is
    1. You can maintain single sales document for both the processes.
    2.Define two different billing types then do the copy control settings for both billing types.
    But in this option user need to select the billing type manually based on the process while creating billing document.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for