Sales document number based on pricing procedure ,sales area , customer pri

Hi,
where can i get saler document number based on pricing procedure ,sales area , customer pricing procedure and document pricing procedure.
please tell me the table name.
Thanks
Edited by: pandu123 on Jun 16, 2011 8:22 PM

I never heard of this requirement before, pulling sales document number based on pricing procedure based on customer pricing proc + document pricing procedure +sales area. These data are found in tables VBAK, T683,KNVV and TVAK. I dont think you can use ABAP query to join these table, check with an ABAP'er to develop a program for this requirement.
Regards,

Similar Messages

  • Step number in the pricing procedure

    Hi experts,
    Pls advise the reasons. How to solve them without changing the step number?
    Q1: As long as HM00 is the first step number in the pricing procedure, the value of HM00 cannot be distributed among items.
    Example:
    Pricing procedure:
    step no.         conditon type
    10                      HM00 (statistical)
    30                      NETW (ERL)
    Sales order (HM00 = $100):
    item 1     NETW = 0
    item 2     NETW = $100
    Q2: When putting a conditon type between PR00 & subtotal in the pricing procedure, such as VPRS, the value of subtotal cannot be the same as PR00.
    Example of sales order:
    PR00 (unit price) = $19.95 per 10kg
    VPRS (internal price) = $10 per 1kg
    subtotal = $2 per 1kg
    Request: PR00 = subtotal = $19.95 per 10kg

    hello, cathy.
    i do not have access to my references now, but please allow me to advance a general concept.
    in SAP standard, HM00 is a group condition, and fixed value.  the distribution of this value is controlled by certain logic.  as in other header condition types, distribution of this amount can be based on either the value or quantity contribution of the different sales order items. 
    what serves as the basis for distribution of HM00, i do not recall but i will get back to you on this... or perhaps another consultant can give it sooner.
    as to your second issue, i will try to understand your situation better.  but generally VPRS is statitical and not meant to come between PR00 and the sub-total.  VPRS has a different logic compared to the other condition types, and is intended to return a statistical presentation of profit margin in the condition tabs.  if fact, in pricing procedure RVAA01 you will notice that VPRS is grouped with the other statistical condition types just before the profit margin.
    regards.

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • Define Pricing Procedure for a Customized PO

    Hi
    I want to have a customized pricing procedure with PB00 is manually changeable even though it takes the price from info record
    and assign this Pricing procedure to a customized PO type.
    What are the steps involved, appreciated if in detailed manner.
    Rgds
    MM

    hi..
    u cant define pricing procedure specially for PO type...
    Pricing procedure is maintained for the combination for vendor schema group and PO schema..
    what u can do...u can create some cond type specifically for customized PO type...then..while using that PO type..use only those condition type..
    Try this out..
    Thanks

  • Copy prices between documents assigned to different pricing procedures

    Different pricing procedures are assigned to sales document & Billing document -- however some of the condition types are common in the two procedures-- would the pricing get copied for the those common conditions if the copy control is set to copy (pricing type "G")
    Appreciate your responses.

    Pricing Type = G is to copy the pricing and redetermine taxes so it should based on if that is all in the copy control. We do not have a different pricing procedure for both, we just copy the values from the order and/or the freight document.
    When I have these types of questions, I always run a test order in dev and it answers many questions. Good Luck.

  • Billing document number based on plant

    Hi friends, I have new requirement from customer
    Billing document number should be based on plant
    Ex: Range start from 900000 u2013 for plant ABC1
          Range start from 800000 u2013 for plant  ABC2
    How to achive this
    regards
    Satish

    Create a zee table say ZV_NUMRANGE for the combination of plant, billing type & number range object.  There maintain some objects according to plant and save.
    Next go to VN01 and maintain number ranges according to requirement and save.
    Finally apply USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ) and trigger the above table as and when VF01 or VF04 is executed.
    thanks
    G. Lakshmipathi

  • Retrieving Accounting Document number based on PO numbers

    Hey All,
            I have a list of PO numbers(EBELN) for which I am trying to get all Accounting information from BSIS. But before going to BSIS I am trying to determine the Accounting document number(BELNR) from some other table so that my select on BSIS will be efficient.
    What I have tried uptill now is to go to EKBE with the PO numbers and get the Material document numbers. For some cases the material document number is the accounting document number and for others I have to go to BKPF with this material document number to get the accounting document number.
    Is there any other easier and efficeint way of doing this?
    Any input is highly appreciated.
    Thanks

    I am retrieving Large amounts of data, around 1.5 million from BSIS.
    The code related to our discussion looks like this:
    "First I get all related PO's for the last three years and determine the no of packets.
    DO v_no_of_packets TIMES.
          IF v_end_indx GT v_total.
            v_end_indx = v_total.
          ENDIF.
          REFRESH i_ebeln_range[].
          APPEND LINES OF t_ebeln_range FROM v_start_indx TO v_end_indx TO i_ebeln_range.
          v_start_indx = v_end_indx + 1.
          v_end_indx   = v_end_indx + p_pkjsiz.
    IF NOT i_ebeln[] IS INITIAL.
      CLEAR l_bkpf.
      REFRESH l_bkpf[].
      SELECT ebeln ebelp zekkn vgabe gjahr belnr buzei FROM EKBE INTO TABLE t_belnr
                         WHERE ebeln IN i_ebeln_range
                          AND vgabe IN ('1' ,'2').
      IF sy-subrc EQ 0.
        LOOP AT t_belnr.
        l_awkey+0(10) = t_belnr-belnr.
        l_awkey+10(10) = t_belnr-gjahr.
        IF t_belnr-vgabe = '1'.
          l_awtyp = 'MKPF'.
        ELSE.
          l_awtyp = 'RMRP'.
        ENDIF.
        SELECT SINGLE bukrs belnr gjahr blart budat
          FROM bkpf INTO l_bkpf
            WHERE awtyp = l_awtyp
            AND   awkey = l_awkey.
          IF sy-subrc EQ 0.
             APPEND l_bkpf.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
    "Then
      SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
    waers bukrs
       INTO TABLE i_bsis
       FROM bsis
       FOR ALL ENTRIES IN l_bkpf
        WHERE bukrs = l_bkpf-bukrs
                          AND  hkont IN r_hkont   "Contains all Accounts
                          AND  budat = l_bkpf-budat
                          AND  augdt = 0
                          AND  augbl = space
                          AND  gjahr = l_bkpf-gjahr
                          AND  belnr = l_bkpf-belnr
                          AND  blart = l_bkpf-blart
                          AND  gsber = c_zrl1.
      SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
    waers bukrs
       APPENDING TABLE i_bsis
       FROM bsas
        FOR ALL ENTRIES IN l_bkpf
        WHERE bukrs = l_bkpf-bukrs
                          AND  hkont IN r_hkont
                          AND  budat = l_bkpf-budat
                          AND  augdt = 0
                          AND  augbl = space
                          AND  gjahr = l_bkpf-gjahr
                          AND  belnr = l_bkpf-belnr
                          AND  blart = l_bkpf-blart
                          AND  gsber = c_zrl1.
    "Then process this data

  • Block material for Sales Area & Customer.

    Hi.
    I want to block material for particular Sales area.
    For that i used  "X-distr.chain status" &" DChain-spec. status" in Saleas Org1 Tab of material Master.
    Now in Sales Order Creation i am getiing Warning message as
    "Material 95343431321 has status:Discontd w/o Replace"
    Message No V1028
    How to Convert this warning to error so that it wont allow to Save Sales order?
    Also i want to Block material for Particular Customer How to achieve that???Any other better option than Material Exclusion???
    Reg.
    Amol

    Hi
    1.KIndly go to the below path
    SPRO-IMG-Logistics generalmaterial mastersettings for key fields Dat relevant for Sales and distribution-Define sales stauses-select the disct status ,details and maintin  as "B" in Block for order then system will give error message at the time of sales order
    2.Better option is through material  exclusion onle
    Regards
    Damu
    S

  • Pricing Procedure for Indian Customer

    Hi Friends,
    What will be the structure for indian Pricing Procedure.
    What are all the condition types used for indian customers.
    And
    Condition Types used for Tax for Indian client
    Regards,
    Kannan M

    Dear Kannan,
    I will suggest you to visit  http://sap-img.com/sap-sd.htm.
    There is a separate section on CIN in the link I have given you. Trust me if you go through all the links you will have a fairly good idea of the CIN.
    Do let me know in case of any queries.
    Hope this helps you.
    Regards,
    Rakesh

  • 2 pricing procedures for the same sales area

    Hi Gurus.,
                  My client requirement is the client requires 2 pricing procedures for the combination of Same sales areaDEocument Pricing procedurecustomer pricing procedure in OVKK
    He doesnt want to use new sales area or new document pricing procedure or new customer pricing procedure,I know that in standard SAP it is not possible.
    Can any of the gurus throw some light on this.Some work around is required here,So can u please say the required changes in Standard functionality.
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

    Hi Gurus.,
                   First of all thank you very much for giving me so tremendous response, But my client requirement is,
                  He has one customer and for that customer when raising an order ,for some orders Tax shouldnot caliculate and for some orders Tax should be caliculated,
            For example :  If he gives price 100,Then the base price should be 100,For some orders he  gives price as 130 rs which is inclusive of tax like 110 should be the base price and 20 rs tax should get caliculated
               So i have tried in the pricing procedures and we have standard pricing procedure RVAA01 & RVAB01 ,In which RVAB01 is the price inclusive of tax procedure,We can assighn different pricing procedures if any of the combination in OVKK is changed,But he dont want to change the combination in OVKK.
            So client asks now when he raise an order he decides how the price should be caliculated, i.e the price may be he give price or price inclusive tax,of which the pricing procedure should automatically split the tax and price accordingly,He is asking in the way like when we raise a sales order we should do like a pop up box should appear asking which pricing procedure should be selected,So on selecting the pricing procedure the order should caliculate based on the selected pricing procedure
    Thanks & Regards
    Narayana

  • Different pricing procedure in sales order and invoice

    Hi All,
    I have created a new pricing procedure .When i processed it,in sales order its picking the correct PP. but when I check it in excise invoice,its taking other pricing procedure. Where have i missed the settings.Please help

    Hi,
    We have document pricing procedure maintained at two levels for Sales order or Billing type.
    The pricing procedure is determined based on SAles Area Customer pricing procedureDocument Pricing procedure+pricing procedure.
    Example :For Sales Document type the document pricing rpocedure will be A and for billing type 'B"
    Sales Area1A+Pricing procedure A
    Sales Area1B+Pricing procedure B
    Now A will be maintained in VOV8 and B will be maintained in VOFA.So two pricing procedures.
    Regards,

  • Two pricing Procedure for one Sales Org

    Dear All,
    Is it possible to assign 2 Pricing Procedure for a single Sales Org? If Yes, How come can we do this?
    And, How come will SAP-System determine to use which Pricing Procedure at the time of creating Sales Order?
    Thanks and Best Regards,
    Amit Kr. Yadav

    Pricing Procedure Determination - T.Code: OVKK
    (Sales Organization + Distribution Channel + Division) Sales Area + Document Procing Procedure + Customer Pricing Procedure = Pricing Procedure
    A Document belongs to a Sales Area. Based on a different combination of Distribution Channel & Division for Same Sales Organization, we can derive a separate Pricing Procedure.
    For the same sales area, if Document Pricing Procedure or / and Customer Pricing Procedure, in that case also different Pricing Procedure can be determined.
    If the combination of Sales Area, Document Pricing Procedure and Customer pricing procedure is the same, in that case separate Pricing Procedure cannot be determined.
    Regards,
    Rajesh Banka

  • Pricing procedure not getting determined in sales order

    Hi All
    I have did all the configuration settings for determining  the pricing procedure in the sales order,but it is not getting in the order.
    The assignment  sales area + customer pricing procedure + document pricing procedure are fine
    And in the customer master the customer pricing procedure is maintained properly
    And in document type TA,the document pricing procedure is maintained properly.
    Without IPC is it not possible to get the prcing procedure of CRM in to the sales transaction.
    I dont have IPC installed on my system.
    Appreciate ur help
    Regards
    Sreekar M

    Thanks Shalini for the information
    Then i think i cant create a billing document in CRM with reference to sales order...as the sales order is incomplete
    Is creation of delivery possible in CRM?
    Regards
    Sreekar M

  • Add Sales Document Number in FBL5N

    How can we add the Sales Order Number in FBL5N. Although we have fields Sales Document Number and Order field but they are not populating.

    I write the following code to get the sales order in function module .
    Firt Try
    FUNCTION ZSAMPLE_INTERFACE_00001650.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    *"  EXPORTING
    *"     VALUE(E_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    TABLES : VBRP.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-ZSORDER* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    Initialize Output by using the following line -
    E_POSTAB = I_POSTAB.
    I addZORDER field in RFPOSX structure and first I use the RFPOSX in into clause but it gives me the error component ZSORDER does not have component ZSORDER although I followed the instruction. (Is append is same thing like I did)
    Second Try
    I change ZSORDER with AUFNR which is RFPOSX FIELD  then ift gives me error report/program statement missing.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-AUFNR* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    ENDFUNCTION.

  • Pricing procedure with a reference of a billing document

    Hi all,
    How to apply new pricing procedure when you use a reference of another billing document?
    by VA01, I want to use a billing document as a reference to create another sales document. Tthese 2 has different pricing procedures but when I do this, I want the sales document to use its own procing procedure.
    But when I refer a billing document and create a sales document at VA01, it copies the billing document's pricing procedure.
    These 2 pricing procedures have different condition types.
    I already went to "Maintain Copy Control for Sales Document" - "Copying Controld: Billing Document to Sales Document"  and set "B" as its pricing type.
    Waiting for a valuable replies from y'all.
    Best regards
    Misaki

    HI,
    Thank you for your reply,
    I already have assigned pricing procedures to the required order types at OVKK, and V/08.
    but it still doesn't go right.
    When I don't refer any billing document at VA01 and simply create a sales document using required order type,  the assigned pricing procedure is used. However, when I use a reference of a billing document to create a new sales document, it copies a pricing procedure from the refered billing document and doesn't  use its own pricing procedure.
    Wanting to know how to redetermine a pricing procedure to create a sales document when referring a billing document.
    Ideally, the new sales document doesn't copy a pricing procedure at all from the reference(billing document), if possible.
    I really appreciate for your help.
    Misaki

Maybe you are looking for

  • How do I determine if a sent message had a return receipt request attached?

    I don't always send return receipt requests with messages so I'm wondering how I can tell if I sent an RRR with a particular sent message? If I sent to multiple recipients, I'd like to know who has not returned a receipt.

  • 4 USES OF DIAGNOSTIC EVENTS

    제품 : ORACLE SERVER 작성날짜 : 2002-05-22 4 USES OF DIAGNOSTIC EVENTS =========================== PURPOSE Event를 사용한 시스템 진단방법에 대해 알아본다. Explanation <Event를 사용하는 방법> 1. Immediate Dump---cursor alter session set events 'immediate trace name <dump> level <le

  • Empty pages marked corrupt

    I run rman and it shows some blocks as corrupted; when I run dbv all the blocks corrupt show under empty pages. When I do select * from dba_extents where file_id = 25 and corrupt_block_no between block_id and block_id+blocks-1 all corrupted blocks ar

  • Oracle Startup/Shutdown Procedure

    Hi All, We have Oracle 10G R2 on AIX 5 with ASM managed storage. My question is what are the steps to shutdown oracle database. I mean should we stop the ASM instance first or simple shutdown database command will do all work. Similarly what are the

  • Aperture trial un-install query

    Having used the trial version of Aperture and been somewhat underwhelmed, I'm now getting error messages about being short on hard disk space. I have therefore dragged the Aperture application into the Trash but there is no discernible space saving.