REFERENCE DOCUMENT TYPE IN PRICING ROUTINE

HI ABAP GURUS,
i am modifying pricing routine.
i need to get reference docuemnt type for validation purpose . how do i get it..
Thanks,
Neo

Hi
check the KOMK-VBTYP field , which is document type of the document
First see what are the structures available there in that routine
like KOMP,KOMK like that structures
double click them and see the different fields in those strutures
I am sure you will find it.
Regards
Anji

Similar Messages

  • Scheduling agreement: Reference document type is diferent

    All SAP Gurus,
    We have created a scheduling agreemnet with document type SA01.
    Now, we want to create a new scheduling agreement with reference to it (SA01), but its document type is different (SA02).
    So, system is giving an eror message as 'Reference doc. type SA01 differs from doc. type SA02.
    Message no. 06033.
    Are there any configurational settings by which we can create a scheduling agreement with reference to some other document type?
    Regards,

    Hi Sandeep,
    Thanks for the reply.
    But, I'm unable to follow. Can you explain in detail.
    Right now what we are following is:
    Step 1. Going to T code ME31L
    Step 2. Entering the document type with which we want to create the scheduling agreement (in the field 'Agreemet type')
    Step 3. Then clicking on Copying document (Ctrl+F2), and entering reference document number (here the reference document type is different)
    Now, system gives an error as 'Reference doc. type SA01 differs from doc. type SA02.
    Regards,

  • Reference document type in J1IS

    What for OTHR and GRPO reference document type is used in Tcode J1IS .Everyone says it is for other movement but what sort of other movement .some give detailed description with example if anyone knows.

    HI pls refer bls explanation ;
    J1IS is used to create Outgoing Excise Invoice for Vendor Return. Also for cancellation of Excise Invoice.
    J1IS u2013 Excise Invoice Other Movements
    Here click on u201CCreateu201D button to create an outgoing excise invoice and reverse the CENVAT Amount.
    Here put all details as below and Press u201CEnteru201D.
    Ref.doc.type - MATD
    Doc Number - Material document No of 122 mvmt
    Doc Year
    Series Group
    Excise Group
    Vendor
    Here check BED, ECS and SECess values to be reversed and click on u201CSaveu201D button to post the excise invoice.
    Then go to J1IV - Post and Print Outgoing Excise Invoice.

  • Reference documents type

    Hi,
        Is there any transaction or table where i can find refrence document types associated with a document type(in this case CB-charge back) ,which has references to document types DG-Customer Credit Memos and DZ-Customer Payments?.This is FIAR line item data.Thank you.
    Ravi.

    No there is not yet support for referencing entities or types across multiple HDBDD artifacts. This is planned for the future.

  • Migo reference document not appearing in miro for frieght conditions

    Dear all,
    I ahve done migo for a po and i have checked GR based invoice in PO.When i am doing MIRO i am not getting the migo reference number for frieght condition where as the migo reference number is appearing for base price.How to get that migo reference number for frieght conditions also.
    thanks in advance
    regards
    vithal

    Sometimes the the MIGO creator might have reversed the same. In such cases the reversal document may be with different number in the same series and both posted & reversed documents will not appear in MIRO. Since you might checking with posted document number, you are seeing the blank in MIRO. In such cases, just enter the PO number in MIRO, give date & reference number press Show PO structure button in the left corner. You will find the following screen
    Expand the required once. The following screen appears. In this both positive & negative numbers with same reference & document type appearing are the reversed documents.
    Hope this is clear

  • Problem while print preview purchase order for new document type

    Dear Experts,
    I have got the problem as below and need your helps.
    I created a new purchasing document type and then created a new PO with this document type. PO was created successfully in the system. I added a message to print out PO with the followed parameters as NEU output type, 1.Print Out medium , VN partner function, dispatch time is 3 ( Send with application own transaction).
    Then, I clicked Print Preview button on the ME23n screen, the error message bellowed was shown
    "The combination of  document type
    and Purchasing organization is invalid.
    please check the document and change it.
    unable to print the form"
    I really want to print the PO with new purchasing document type on the existed purchasing organization, Could you please help me identify the problem and solution for this issue?
    Appreciate for your responses.
    Thanks,
    Tinh Vo Trung
    Edited by: Tinh Vo Trung on Sep 23, 2011 7:43 AM

    Dear All,
    Many thanks for your responses.
    Regarding to maintain the condition record in MN04, I already done for that but the problem was not resolved.
    Could you please come with the other posible causes and solutions for this issue?
    Dear Bijay Kumar Barik,
    Please let me know why we check the new document type in Program, Routine and From of NEU output type?
    p/s: I compared the version the program, FORM and routine of NEU output type and found that there is no the differences btw DEV server and QAs server. However, An PO created susscessfully in QAs server, but the error was happend in DEV server.
    Could you please come with the other posible causes and solutions for this issue?
    Thanks,
    Tinh Vo Trung

  • PO document type error

    Hi,
    I created one PO with document type as NB.  I want to create another PO by refering the NB po with ZNB document type.  At that time system is throwing error that "Reference document type NB differs from document type ZNB".  How to solve this issue.
    Munna

    Hi,
    This is a geninue problem... as u have created a Po with ZNB and now u want to reference to create a NB document type which is not possible...
    U can reference a NB doc type PO to create another NB doc type PO or U can reference a ZNB doc type PO to create another ZNB doc type PO
    Thanks & regards,
    Kiran

  • Reference transaction type

    What for OTHR and GRPO reference document type is used in Tcode J1IS .Everyone says it is for other movement but what sort of other movement .some give detailed description with example if anyone knows.

    Hi,
    These are excise Transaction types.
    57CM 57F CHALLAN COMPLETION
    57FC 57F CHALLAN CAPTURE/CHANGE
    57NR 57F NON RECEIPT
    ARE1 EXPORT PROCESSING UNDER ARE1
    ARE3 DEEMED EXPORTS UNDER ARE3
    CAGI CAPITAL GOODS ISSUES
    CAPE CAPITAL GOODS
    CEIV CANCELLATION OF EXCISE INVOICE
    DIEX DIFFERENTIAL EXCISE THROUGH JV
    DLFC GOODS REMOVAL THROUGH SALES
    EWPO EXCISE INVOICE WITHOUT PO
    GRPO EXCISE INVOICE FOR GOODS RECEIPT/PO
    MRDY REVERSAL WITHOUT REFERENCE
    MRRD REVERSAL INCASE OF COMSUMPTION OTHER THAN PRODUCTI
    MRWO CENVAT REVERSALS FOR WRITE OFF
    OTHR EXCISE INVOICE FOR OTHER MOVEMENTS
    TR6C PLA ACCOUNT ADJUSTMENT THROUGH
    UTLZ FORTNIGHTLY PAYMENTS
    In J1IS you can use
    DLFC Factory sale and stock transfer
    GRPO Goods receipt
    MATD Material document
    OTHR Other

  • Wrong Pricing Procedure in CR document type

    When we create a CR/credit request with reference to an OR/order (pricing procedure=ZRVFK1) the pricing procedure in the CR = ZRVFK3 which is correct.  However when we create a CR with reference to the F1/billing document Pricing procedure=ZRVFK1) the pricing procedure in CR = ZRVFK1 instead of ZRVFK3.  How do I correct this?
    Thank you, Julie

    In the copying controls (VTFA) from billing document type to sales document type maintain 053 data transfer routine in the field "Copying requirements for data transfer VBAK".
    Regards,
    GSL.

  • How to get order type from reference  document

    Hi ABAP Gurus,
      I am working on pricing routines for return orders.
      in this return order i am getting reference docuemnt number .
      now i need to find that this reference document is sales order or invoice .
      how can i find  this .
      i know i need to use VBFA table . but i am confused in precedding and subsequent document.
    please guide me how can i find this.
    Thnaks,
    Neo

    > I am working on pricing routines for return
    >  orders.
    > in this return order i am getting reference docuemnt
    >  number .
    > now i need to find that this reference document is
    >  sales order or invoice .
    >  how can i find  this .
    > i know i need to use VBFA table . but i am confused
    >  in precedding and subsequent document.
    Since you mention the pricing routines, I guess you are working on a VOFM routine or a user exit. I think that Anji gave the best universal solution for finding the document type by using VBUK table. VBFA table should not be used for this purpose IMHO.
    Additionally, inside the VOFM routine or a user exit you might be able to use VBPA or XVBPA/YVBPA table - the field VGTYP will contain the reference document category for each line. C = order, M = invoice, there are several orders, which you can see in SE11.
    Just FYI "preceding document" in VBFA is the document that was created first. For example, a sales order is a "preceding document" and the corresponding outbound delivery is a "subsequent document".
    Hope this helps and good luck!

  • Duplicate BP Reference Numbers for same document type -need check on orders

    Version: (2007A)
    Description of requirements:
    The user is allowed to create two sales orders for the same customer that have exactly the same BP Reference. When the user invoices one of them and then tries to invoice another, they are  warned that there is already a document of the same type with this reference number. The problem is, they ship the goods out physically before they actually create the invoice document, so that by the time they are entering the invoice in the system, the goods have already been shipped twice, when they should only have been shipped once, If they were warned when they were adding or updating the order, then this could be prevented from happening. Same thing for vendors. Our customers would like to have the check for duplicate BP references on the purchase order as well as on the AP Invoices.
    Business needs: Our Clientsu2019 customers are receiving duplicate shipments and this has a negative impact on their business relationship as it creates costly extra work and inconvenience for all.
    Examples: Would like the same check that is currently on AR and AP Invoices for the same BP reference number existing already on the same document type implemented on the sales order and purchase order. When the user is adding an invoice for a BP and there is already an invoice for the BP with the same BP reference number, the user is warned and asked if they want to continue.
    Current Workaround: None. As our customers often physically ship the goods before creating an invoice from the order, there are duplicate shipments and this is most inconvenient and costly to our customers as well as their customers.
    Proposed solution: see above. This is a high priority item for our customers.
    Sally Weinrauch,
    Senior Support Analyst
    Coastal Range Systems Inc.
    Recipients of: SAP's Partner of the Year 2007 & 2005,
    North America's Top Ten 2008, 2007 & 2006.
    200 - 6400 Roberts Street, Burnaby, BC, V5G 4C9

    hi,
    Use SP_TransactionNotification to block sales order & purchase order from adding having duplicate bp reference number.
    SAP Note 1258097 - Can the Suppliers Reference number be
    made unique? activated approval procedure also for ar invoice.
    It may solve problem.
    Jeyakanthan

  • Changes in the PRICING STRUCTURE FOR THE DOCUMENT TYPE

    Hello Gurus,
    What is pricing structure?
    and what is meant by changes in pricing structure for the document type.
    Could anyone let me know about pricing structure and changes in Pricing structure for document type.
    prashant

    Hi Prashnat,
    In SAP Pricing works on Condition Techniqe.
    Condition Technic consits to following things.
    1.Condition Tabels ( Assigned to Access Sequence )
    2.Access Sequence ( Assigned to Condition Types)
    3.Condition Types ( Assigned to Pricing Procedure)
    4.Pricing Procedure
    5.In Pricing Procedure Determination will be assigning as fallows:
    Sales Org + Dist Channel + Division + Document Pricing Procedure + Customer Pricing Procedure + Pricing Procedure.
    Based on this the Pricing will be takes place in the system.
    Hope this Clarifies your Doubts and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • SAP Pricing Routine For EDi1 & EDI2 Condition Types Not Triggered

    Hi All,
    We have implemented customer expected price functionality by incorporating EDI1 and EDI2 condition types in the pricing procedure.
    Also, I have copied standard routine 8 and made new routines and assigned to EDI1 and EDI2 in calculation type.
    The routines are getting triggered correctly for standard items which is pricing relevant.
    But for BOM Header item , these routines are not getting triggered at all. Actually the pricing relevant check is present inside the routine and it should go till that point. But these routines are NOT getting triggered at all for BOM Header.
    Please advise.

    Hi,
    Which level do you have the pricing? at BOM header or at sub item level?
    Regards
    Murali

  • Table to see pricing procedures assigned to document types

    Hi Folks,
    Greetings for the day,
    How can i see the pricing procedures that are assigned to document types.
    1. Is there a specific table name?
    2. Is there a tcode where we assign pricing procedures to document types.
    For example if there is pricing procedure "abc0000", how can i know what are the different document types that are assignes to this pricing procedure.
    I would like to know the table name or transaction code.
    Thank you in advance.
    Best wishes,
    Sarath

    First of all, you should know where we assign the pricing procedure.  If you come to know this, you would not have opened this thread.  As already suggested, you can see all pricing procedures assigned to the available combination in table T683V. 
    In one way, you can check this.  Execute VBAK table, input all document types with some validity period where you can see the related pricing procedure.  But here, if you have not created any document with a document type, then this table won't show.  So you have to be sure on this.
    G. Lakshmipathi

  • Reference of Contract for an FOC document type

    Dear all,
    I have a scenario where i create a Contract with value, then for that contract if needed i send materials in FOC, so when you check the copy contral we can assign the contrac to FOC sales order document type.
    when when i really create the FOC order with reference to Value contract it does not allows, as because the sale document is have reference mandatory option only for Quantity contract to be copied or referenced for a sales order,
    so any suggestion for acheiving the same.
    Thanks
    Sudhir

    Closing this thread, No solution yet

Maybe you are looking for