Billing type based on plant

Dear experts,
The client requires the billing type to be default based on plant.
I tried searching for it but could not find. Kindly let me know the possibility of achieving this.
Thank you.

Dear SCM.Sd,
There are 2 options.
One is standard where you will have to maintain copy control between your delivery type and all the different billing types which represent billing from each plant.(assuming that in the scenario, you have a single sales order type and delivery type).
Now during VF01, user can manually select the billing type and do the billing .
Else identify an exit during vf01  (creation) , and write a code to check the plant from the delivery.
For that put the delivery number in LIKP as VBELN and fetch LIKP-WERKS.
In the code , you will have to either hardcode the plant-billing type combination or
it is better to maintain an Z-table where we can maintain PLANT- BILLING TYPE, so that in future when more plants are created, we can easliy maintain it here in Z-table than re-work on the code.
So in the exit, write the code to find the Plant as per the above logic (from LIKP-WERKS) and put that WERKS in Ztable to find the corresponding billing type and input it automatically in the billing type field in VF01.
Thanks & Regards,
Hegal K Charles

Similar Messages

  • How to get list of docs for particulat billing type on plant wise

    very urgent
    is there any t-code, report to look thi
    how to get list of billing docs grnerated  for particulat billing type and if possible  on plant wise also
    very urgetnt
    points to be rewarded
    eagerly waitng from sap gurus

    Dear chakri
    As you may be aware, in VF05 you need to enter either Payer Code or Material Code and then based on the selection criteria, the report will generate.  Please give the (ensure that this code is exist in billing document) Payer code and now select "Further sel.criteria" and DONT forget to enter the date in from column of "Billing docs.date".  By default, there you can see one month date range. 
    Still if you get error message, please let me know the error message.
    thanks
    G. Lakshmipathi

  • 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

  • COPA account based extractor (Bill type field FKART) missing

    Hello Experts,
    I am new to COPA and currently working on account based COPA DataSource on ECC 6.0 & BI 7.0.
    I have created the DataSource in KEB0 for account based by selecting the appropriate operating concern. One of the field requirements for me is to have billing doc type but it is not available in KEB0 or in RSA6.
    When checked in KEA0 billing type (FKART) is available as display fixed fields.
    Main menu -> extras -> display fixed fields.
    Could you please let me know how to get this part of my DataSource?
    Does enhancing the DataSource is only the solution?
    Highly appreciate your help.
    Best Regards
    VJ

    Hi Vijay!
    If your current scenario does not present you with the standard extractor from the source system, perhaps you should try to create a generic datasource for your business requirements.

  • Can output type for purchase order be distuinguished based on plant.

    hI ,
    I have created an output type and acess sequence with Plant as one entity as i want the output to be determined in PO for one plant only.I  maintained condition record for the same  . But when i  create PO, i am getting that output type for all plants for that particular purchasing organisation . Is the output type determination in PO based on header data only or it can be maintained based on item data also (as plant comes at item level in PO).
    Waiting for your kind reply.
    Thanks
    Rohit Chavan

    Hi,
    If PO has each line item has different plants ,your access sequence output type/plant wont work.
    If PO has same same plant for every line item then only this work.
    For restict plant wise you need to chage access sequence add some criteria like PO document type & vendor.
    Hope this would help,
    JS

  • Error Log: The Billing Type Could Not Be Determined

    Hi Experts
    I have to produce the credit note sebsequent to the return.  But I am getting the "Error Log: 0084001006 0000 The billing type could not be determined".  Kindly help me with the solutions
    Thanks and Regards
    M.Dheerendar Jain

    Hi,
    Please check copy control VTFL for delivery and billing type
    go through the routine 350 (VAT Determination) whteher it is applied in ite category.
    if yes, then you have to configure the VAT Invoice type determination.
    also maintain the entries in below tables:-
    J_1IDCLSDET &  J_1IBILDET
    Even if the above entries are already maintained then check the supplying and receiving plant entries
    for the billing.
    To maintain entries in table go to t-code SM30.
    and put the above table in the "Table/View" it helps to determine FVAT Invoice types
    Invoice types determined based on supplying and receiving plant.
    Kinldy check and confirm.
    Thanks & Regards,
    Rahul Verulkar

  • STO Delivery (NL) Automatic Pickup Billing Type in VF01

    Dear friend,
    I have created PO for STO and delivery (Delivery Type NL) through billing VF01, working fine.  But when I create the Billing VF01, billing type (JEX) is not coming automatically. I am selecting manually the billing type. 
    I have already maintained the copy control (T-code - VTFL) against Delivery document to billing document.  I canu2019t create the sale order type.
    Is there any configuration or option to automatic pick up of billing type STO delivery(NL).
    Useful answers duly rewarded
    Devendra

    Devendra,
    We have achieved teh same using USer Exit in Delivery (MV50AFZ1)
    Form : FORM USEREXIT_MOVE_FIELD_TO_LIPS
    Created one Z Table - ZBLTYP
    with fields: Delivery type, WERKS, Prposed Billing Type
    Codes for picking up as below:
    SELECT SINGLE * FROM zbltyp
    WHERE werks = lips-werks
    AND lfart = likp-lfart
    IF sy-subrc EQ 0.
    likp-fkarv = zbltyp-fkarv.
    ENDIF.
    We have achieved automation based on Plant. If you do not need Plant as criteria then u can drop the logic accordingly.
    Your techical person will help you in the same.
    Sandeep

  • Automatic pickup Billing Type in VF01

    Dear experts,
    Is there any option to automatic pick up of billing type STO delivery(NL).
    I have created PO for STO and dilevery(Delivery type NL) through billing VF01, working fine but every time when i create vf01 billing is not coming automatically billing type i am selecting manually the billing type JEX
    please suggest is there any user exit or any configuration is required for picking of billing type automatically.
    useful answers duly rewarded

    Hi Sai,
    We have achieved teh same using USer Exit in Delivery (MV50AFZ1)
    Form : FORM USEREXIT_MOVE_FIELD_TO_LIPS    
    Created one Z Table  - ZBLTYP
    with fields: Delivery type, WERKS, Prposed Billing Type
    Codes for picking up as below:
    SELECT SINGLE * FROM zbltyp
         WHERE werks = lips-werks
                  AND lfart = likp-lfart
         IF sy-subrc EQ 0.
            likp-fkarv = zbltyp-fkarv.
         ENDIF.
    We have achieved automation based on Plant. If you do not need Plant as criteria then u can drop the logic accordingly.
    Your techical person will help you in the same.
    Hope this will resolve your issue as it does for me.
    Regards,
    Dnyandeo H. Ainarkar

  • How  to change the billing type Rv to DG

    Dear all,
    when ever we are doing the return order to a sales we will create a customer credit memo through the VF01 T-code.where billing type will be customize one that is credit memo..
    once we save that the in customer G/L we are getting the document type as RV instead of DG.
    please tell me how to change the document Type in customer Ledger.
    regards,
    chethan

    Hi,
    Just to draw your attention that DG is doc.type used to issue credit memo from FI (t.code FB75), where it does not involve the inventory movement.
    Whereas the credit memo generated from OTC cycle (i.e.VF01) involves inventory movement. Ideally, both of these types of credit memos should have different doc. types, so that users can distinguish the returns based on doc. types later on.
    So, after explaining the above, please check with your business thoroughly if they really need to use DG instead of RV. I would suggest to create new doc. type 'ZC' and set up through VOFA.
    Thanks,
    Nirav

  • How to get the open billing documets specific to Plant

    Dear All,
    I want list of Billing documets which is open i.e. not released to accounting according to plant not payer.VF05 OR VTX3 are not suitable.Please let me know how to get this?
    Regards,
    Murali.

    Dear Murali,
    I am not aware of any report based on Plant and as Ramesh has said that its nt possible to find in sap , i thought of some possibility.
    I hope that serves the purpose and as its one time activity you can try once using Excel.
    1) I think you can use VF05 to get the list of all the open billing documents.
    2) input all these documents in VBFA and get the corresponding delivery docs.
         e.g for 100 billing docs you will get 200 deliveries.
    3) Use these delivery docs and get the Plant assocoated with each delivery through LIKP lets say you have 5 plants
    4) Filter the deliveries as per Plant so you will have 5 delivery lists
    5) Use "Lookup" Function and get the Billing doc list.  Or if you dont knw look up in Excel.
    then go back to VBFA as you have already filtered the delivery list by plant, enter the deliveries list per plant one by one and it will give you the billing docs list.
    This just a thought i never tried it myself,
    Hope makes sense to you, and resolves your problem
    Regards,
    Paresh

  • Billing type in BAPI_SALESORDER_CREATEFROMDAT2 function Module

    Hi,
    Am creating sales orders through my program using the Function Module "BAPI_SALESORDER_CREATEFROMDAT2".
    I have data(fields) for which i have to create a Sales orders.
    I have mapped all the fields to the structures in the FM except Billing Type, I couldn't find where to map this "billing type" field in the Function Module.
    I want to know into which structure's field in the above FM should this Billing type to be mapped.
    Thanks,
    Adithya M.

    Why do you need to pass the Billing Type when you are creating the Sales Order? Only Sales order type is required in the sales order creation.
    Based on the configuration maintained in the sales order, if future, system will create the specific type of delivery and Specific type of Billing document.
    Regards,
    Naimesh Patel

  • Dynamic F4 help for workcenter based on plant given in select-option

    Hi all,
    I need to give F4 help on work center based on plant values in the select-options in the selection screen. I am using the FM DYNP_VALUES_READ to get the low and high values in the plant  field of selection screen. The problem is i do not know how to fetch the extension values of s_werks. dynpro fields what i am passing is s_werks-low and s_werks-high. But how will i name the extension field of s_werks. Even i have tries giving only s_werks. But FM is giving invalid dynpro field exception . Please help on this.

    You need to use FM DYNP_VALUES_READ to read values entered on selection screen and then you need to use FM F4IF_INT_TABLE_VALUE_REQUEST.
    FM DYNP_VALUES_READ can read the values of screen fields
    You have to use the function module DYNP_VALUES_READ to read the selection screen data after u enter the field value in Plant . Based on that, then call the function module F4_INT_VALUE_REQUEST. And this function module will
    retrive based on the value enter on the field1.
    F4IF_INT_TABLE_VALUE_REQUEST
    This function module displays a value list that you created in an ABAP program. The value list is passed to the function module as the table parameter VALUE_TAB. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the user’s selection is returned to the corresponding field on the screen. If you specify the table parameter RETURN_TAB, the selection is returned into the table instead.
    Have a look at below sample code:
    If you have two parameters, you want to display values(f4) in parameter 2 depending on the values entered in parameter 1.
    REPORT Z_SRI_HELP_VALUE_FOR_TABLES .
    tables tcurt.
    DATA DYFIELDS LIKE DYNPREAD OCCURS 1 WITH HEADER LINE.
    PARAMETERS: P_WAERS LIKE TCURT-WAERS, "Currency
    P_LTEXT LIKE TCURT-LTEXT, "Long Text
    P_KTEXT LIKE TCURT-KTEXT. "Short Text
    Example of updating value of another field on the screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WAERS.
    CLEAR: DYFIELDS[], DYFIELDS.
    *select currency
    CALL FUNCTION 'HELP_VALUES_GET'
    EXPORTING
    fieldname = 'WAERS'
    tabname = 'TCURT'
    IMPORTING
    SELECT_VALUE = P_WAERS.
    get long text for the selected currency
    SELECT SINGLE LTEXT FROM TCURT
    INTO DYFIELDS-FIELDVALUE
    WHERE SPRAS = SY-LANGU
    AND WAERS = P_WAERS.
    IF SY-SUBRC 0.
    CLEAR DYFIELDS-FIELDVALUE.
    ENDIF.
    update another field
    DYFIELDS-FIELDNAME = 'P_LTEXT'.
    APPEND DYFIELDS.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    DYNAME = SY-CPROG
    DYNUMB = SY-DYNNR
    tables
    dynpfields = DYFIELDS .
    Example of reading value of another field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_KTEXT.
    *read another field
    CLEAR: DYFIELDS[], DYFIELDS.
    DYFIELDS-FIELDNAME = 'P_WAERS'.
    APPEND DYFIELDS.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = SY-CPROG
    DYNUMB = SY-DYNNR
    TABLES
    DYNPFIELDS = DYFIELDS .
    READ TABLE DYFIELDS INDEX 1.
    get short text and update current field
    SELECT SINGLE KTEXT FROM TCURT
    INTO P_KTEXT
    WHERE SPRAS EQ SY-LANGU
    AND WAERS EQ DYFIELDS-FIELDVALUE.
    Have a look at below sample code:
    REPORT ZTEST_F4 .
    DATA : BEGIN OF ITAB OCCURS 0,
    NAME LIKE KNVK-NAMEV,
    E_MAIL LIKE ADR6-SMTP_ADDR,
    END OF ITAB.
    PARAMETER : P_EMAIL LIKE ADR6-SMTP_ADDR.
    INITIALIZATION.
    ITAB-NAME = 'A'.
    ITAB-E_MAIL = email@removed '.
    APPEND ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_EMAIL.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'E_MAIL'
    DYNPPROG = 'ZTEST_F4'
    DYNPNR = '1000'
    DYNPROFIELD = 'P_EMAIL'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    Another Code sample:
    REPORT DEMO_DYNPRO_F4_HELP_MODULE.
    TYPES: BEGIN OF VALUES,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    END OF VALUES.
    DATA: CARRIER(3) TYPE C,
    CONNECTION(4) TYPE C.
    DATA: PROGNAME LIKE SY-REPID,
    DYNNUM LIKE SY-DYNNR,
    DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
    FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
    VALUES_TAB TYPE TABLE OF VALUES.
    CALL SCREEN 100.
    MODULE INIT OUTPUT.
    PROGNAME = SY-REPID.
    DYNNUM = SY-DYNNR.
    CLEAR: FIELD_VALUE, DYNPRO_VALUES.
    FIELD_VALUE-FIELDNAME = 'CARRIER'.
    APPEND FIELD_VALUE TO DYNPRO_VALUES.
    ENDMODULE.
    MODULE CANCEL INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE VALUE_CONNECTION INPUT.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = PROGNAME
    DYNUMB = DYNNUM
    TRANSLATE_TO_UPPER = 'X'
    TABLES
    DYNPFIELDS = DYNPRO_VALUES.
    READ TABLE DYNPRO_VALUES INDEX 1 INTO FIELD_VALUE.
    SELECT CARRID CONNID
    FROM SPFLI
    INTO CORRESPONDING FIELDS OF TABLE VALUES_TAB
    WHERE CARRID = FIELD_VALUE-FIELDVALUE.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'CONNID'
    DYNPPROG = PROGNAME
    DYNPNR = DYNNUM
    DYNPROFIELD = 'CONNECTION'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = VALUES_TAB.
    ENDMODULE.
    The screen flow logic is as follows:
    PROCESS BEFORE OUTPUT.
    MODULE INIT.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    PROCESS ON VALUE-REQUEST.
    FIELD CONNECTION MODULE VALUE_CONNECTION.
    For the Flight number field, the POV module VALUE_CONNECTION is called. The
    function module DYNP_VALUE_READ transports the value of the screen field CARRIER into the program. The program then reads the corresponding values from the database table SPFLI into the internal table VALUES_TAB using a SELECT statement, and passes the internal table to F4IF_INT_TABLE_VALUE_REQUEST. This displays the internal table as input help, and places the user’s selection into the screen field CONNECTION.
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

  • Assign GL ACCOunt to billing type

    Dear gurus
    How to change the gl account of any customized billing type.
    i'm having a  problem that the billing type ZF26 is assigned to a wrong gl account. i want to change that
    please guide me
    regards
    Saad.Nisar

    Hi friend,
    GL account assignment is done in VKOA transaction.
    But it is not according to the Billing document type.
    it is as per the Sales org+ Accounting key.
    In the standard the tables generally we use are 4 and 5
    4 is teh combination of  APPLICATIONCONDITION TYPECHART OF ACCOUNTS+ACCOUNTING KEYS
    5.  is the combination of APPLICATIONCONDITION TYPECHART OF ACCOUNTSSALES ORGACCOUNTING KEYS.
    Based on the requirement you have to assign the GL account .
    Gothrough the below link for more clarity.
    http://www.sapstudymaterials.com/2007/12/sap-mm-automatic-account-determination_16.html
    Search them and let s know if you need any further clarification
    santosh
    Edited by: santosh kumar vemuri on Jun 8, 2009 2:53 PM

  • Default Billing type

    Hi frds,
    I have many billing document types using in my SAP system, i required one particular billing type to be appeared in "Billing Type" as a default billing type, where can i do that setting?
    Regards,
    Srikky

    Hi,
    Can i ask, why u need this functionalty, as system will propose the billing docuement type based upon sales order type configuration (VOV8), for a sales document type you can assign an billing docuement, in this case you don't have maltiple option to select.
    regards
    Vivek.

  • Default Billing Type for Delivery against PO

    Hi Experts,
    Is there any setting to maintain Default Billing Type for Delivery against STO. Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    Kinly help in finding out the reason.
    Thanks & Regards
    Girish

    Hi
    There is a customization available here no default or hard coded
    Normally in a sales doc type we mention which billing type system has to pick
    If the billing happens from a PO which billing type system will take depends on the controls set in the areas mentioned below
    Go to your delivery type OVLK (say your delivery type is NL)
    In that there is a field called default order qty in the order reference tab (say if you maintained DL there)
    This DL is called PSEUDO order type
    Then in VOV8 for DL based on the billing types mentioned ,system will take the billing doc
    For delivery related billing say if you mention say ZF8  in the details of DL in VOV8(provided you have created ZF8)
    Then while you bill the delivery doc of NL system will take ZF8
    For intercompany delivery you can create ZIV billing type also Pure customization
    PO is linked to delivery type ( MM spro settings)--Del type linked to order (pseudo)  type---in order type (pseudo) we mention the billing types. Here the flow is bit different that pure SD flow
    Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    This manual is not reqd if the said assignments are done properly
    Regards
    Raja

Maybe you are looking for

  • Iterate through XML find the missing element and prepare report

    Hi', I am reading a XML and if the ID is missing in that XML, then I have to make a report which can be send by mail by telling that these are the name for which ID is not present. I am able to iterate through the records and check if the ID is not p

  • Citibank - bank statements import

    Hi I started work with Citibank. There is an option in the Citidirect to export bank statements file in MT940 format for loading into the SAP (using FF_5). Can you please explain the loading process into the SAP? If I run it for example once a week,

  • Ericsson N5321 gw not working

    Hi all, I have a X240 with the WWAN  card Ericsson N5321 gw. The card works fine with Windows 8.1 enterprise. Now after installing Windows 10 9926 and upgrading to 10041 the wwan connecting is not working e.g. the device is not ready (yellow mark in

  • Text Missing for 0CURRENCY

    In BI 7.0 system, is it possible to get Text for 0CURRENCY since it produces Key only during BEx output and F4 value. Though it gives you the option to choose short/long text. However when its executed in BEx to display 'Key and Text', it does not pr

  • Retransport one transport request

    Hi gurus.   Is there any way to retransport one request?. I want to know this because I tried to transport in STMS but it gives me an error and it appears a truck icon. It is important because I have a lot o objects in this order and I prefer copy th