Prevent billing on a particular company code

Dear All,
I want to stop the billing on particular company code from certain date. What would be the best way to do it. The requirement is not through authorisation or through blocking the customers/payers.
The billing F2 sahll be still to be used for other company codes
Reg
CD

If the date happens to be month-end then close the FI and MM period for all subsequent periods for the particular company code.
Closing MM period will block creation of delivery (PGI) and hence billing.
Closing FI period will block posting billing doc to FI.

Similar Messages

  • How to block postings for particular company code ?

    Hello All,
    I have a scenario like FI document shouldn't generate automatically when I invoice with reference to order/delivery document.
    Just I want only Invoice number but not FI document (It should park instead of creating automatically) for particular company code among all and later I will create manual FI document with reference to that Invoice.
    Existing solutions:
    1.Can control in document functionality but I am using single document for all company codes
    2.Can control using FD02 transaction but I have many customers
    Please suggest any new solution other than above.
    Regards,
    Gangadhar

    Hi,
    Please check the below thread:-
    Re: VF01: Prevent document posting in FI via user exit
    It should be useful in your situation.
    Regards,
    Gaurav

  • Restrict PR/PO/GR for a particular company code from particular date

    Hi Experts
    How we can restrict PR/PO/GR for a particular company code from a particular date?
    I know PR is not directly linked with company code
    PO can be restricted by deactivating the assignment between company code & plant
    GR- we can use posting period option.?
    Suggest me the best solution for the above requirment.
    Thanks/karthik

    hi
    Obvoiyusly , you can stop the company code posting by not activating the month end closing of periods (MMPV) in MM and similarly in FI ( OB52).
    By removing the assignment you can stop PO creation for the company code but you need to ensure that all the old, un-finished PO/SA and other related activities are taken care off before that.
    Regards

  • How to pass the currency of particular company code into a text variable.

    Hi
    I want to pass the currency of particular company code into a text variable.
    The company code is selected by the user using Input variable "0S_COM_M".
    I have created a text variable "ZD_CURR" with processing type customer exit.
    I have written the following abap code but its not working.
    DATA : LV_CURR type /BI0/OICURRENCY.
      WHEN 'ZD_CURR'.
        IF I_STEP = 2.
          CLEAR  XTAB.
          READ TABLE I_T_VAR_RANGE INTO XTAB WITH KEY VNAM = '0S_COM_M'.
          SELECT SINGLE CURRENCY FROM /BI0/PCOMP_CODE INTO LV_CURR WHERE COMP_CODE =  XTAB-LOW.
          L_S_RANGE-LOW = LV_CURR.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT  = 'EQ'.
          CLEAR E_T_RANGE.
          APPEND L_S_RANGE TO E_T_RANGE.
        ENDIF.
    Pls let me know how to resolve this issue or what modification can be done to this code.
    Is there a way where we can debug customer exit code for variables.
    Thanks.

    Hi.
    You should debug your code to check behaviour of it.
    Just set external breakpoint (or create checkpoint via tc SAAB) and run your query.
    You may run query via RSRT.
    Regards.

  • Asset Claas Activate For particular Company code in Company

    Hi,
    Asset class is defined at client and how can we activate asset class for particular company code in group company how can assign the asset class for particularly one company code in group company
    Regards,
    Harish

    Asset class depends on chart of depreciation , so if you have created an asset class on lets say US chart of Depreciation, it will be available to all the companies that have US Chart of Depreciation assigned to them .
    Thanks

  • Calculate the database size for a particular company code in SAP

    Hi Experts,
    We have 30 company codes in our FI production system. So to plan another new company code to be deployed into the system, we need to know exact data capacity (database) of the previous company code that we already deployed. Kindly let me know whether it possible to calculate the database size occupied for a particular company code in a SAP system.

    >
    Kalyan Kumar Bandlamudi wrote:
    > Hi Experts,
    >
    > We have 30 company codes in our FI production system. So to plan another new company code to be deployed into the system, we need to know exact data capacity (database) of the previous company code that we already deployed. Kindly let me know whether it possible to calculate the database size occupied for a particular company code in a SAP system.
    Its not possible to calculate data size based on company code.
    By creating company code It will not occupy much space. Depends on your posting documents for particular company codes.
    Thanks
    Siva

  • Calculate database size for a particular company code

    Hi Experts,
    We have 30 company codes in our FI production system. So to plan another new company code to be deployed into the system, we need to know exact capacity (database) of the previous company code that we already deployed. Kindly let me know whether it possible to calculate the database size for a particular company code in a ERP system.

    >
    Kalyan Kumar Bandlamudi wrote:
    > Hi Experts,
    >
    > We have 30 company codes in our FI production system. So to plan another new company code to be deployed into the system, we need to know exact data capacity (database) of the previous company code that we already deployed. Kindly let me know whether it possible to calculate the database size occupied for a particular company code in a SAP system.
    Its not possible to calculate data size based on company code.
    By creating company code It will not occupy much space. Depends on your posting documents for particular company codes.
    Thanks
    Siva

  • Excluding particular Company Code

    Hi Experts,
    We have Company Code as one of the selection field in the Info Package (In Data Selection Tab) . Now we need to load data Excluding one particular Company Code. Do we have any option in the Info-Package level to Exclude specific Comapny Code.
    Waiting for the Prompt response as it is bit urgent..
    Thanks in Advance...
    XYS Redd
    Regards,

    Hi Reddy,
    <b>Sample Code:</b>
    Define a structure... like
    Data : ls_range type l_t_range.
    Data : l_idx type i.
    Define a internal table for company codes.
    Data : lt_comp like /bi0/comp_code occurs 0 wiht headerline.
    --> Select company codes
    Select comp_code from /bi0/comp_code into   corresponding fields of lt_comp.
    --> Delete the company codes you dont want from this internal table.
    Delete lt_comp where comp_code = 'XXXX'.
    read table l_t_range with key
             fieldname = '<Fideld Name>'.
             l_idx = sy-tabix.
    --> To delete the existing value(if any or bland value)
    Delete l_t_range where fieldname = '<Fideld Name>'.
    --> To Create selection
    Loop at lt_comp.
    l_t_range-sign = 'I' ("Include").
    l_t_range-low = lt_comp-comp_code.
    l_t_range-OPTION = 'I'.(Inlcude)
    append l_t_range.
    endloop.
    <b>OR</b>
    If you want to exclude only 1 company code, Using range include all by creating multiple selections in the infoObject selection Tab(No need to go for the coding, Bcoz it is not changing dynamically).
    Ex: if you have company codes like 1000,1500, 2000, 3000 & 4000 and you want to exclude 3000 then
    In selection
    Comp_code : from(1000) - 2000(to)(include 1000,1500 & 2000).
    comp_code : 4000(another selection in same infopackage).
    Save the infoPackage.
    Hope this Helps
    Srini

  • How see, howmany internal orders are locked status- particular company code

    Hi
    Can any one tell, what table it uses to see the total number of  locked status of internal orders in a particular company code.
    Regards
    Krish

    Hi Krish
    Use SE16N on table JEST for the status I0043 (there maybe other status called "locked" that you use, for a full list see BS23 and sort the text column to see all).
    As an alternative use KOK3 to display collectively, this includes a column for the status.
    Hope this helps.
    Elaine

  • How to determine number range for billing document based on company code ..

    Hi Friends!!
    can anybody tell me how to determine number range for billing document based on company code & tax departure country if required??
    Amit...plz help me!!

    Hi Amit,
    1. Define different Billing Document number ranges in  SPRO -> Sales & Dist -> Billing -> Define number ranges for billing docs. (VN01). Make sure that all are internal number ranges.
    e.g.
    NO.  From number To Number    Current number  Ext
    A1   0930000000    0930999999
    A2   0940000000    0940999999
    A3   0950000000    0950999999
    2. Define a Ztable ZNUMB_RANGE as follows
    Comp. Code | Tax departure country | Billing Doc Type | Number Range
    100                IN                               F2                      A1
    200                IN                               F2                      A2
    200                US                              F2                     A3
    3. In user exit RV60AFZZ (USEREXIT_NUMBER_RANGE)
    Read table ZNUMB_RANGE for Number Range with Comp. Code, Tax country and Billing Doc.
    If found pass this number range value to us_range_intern.
    us_range_intern is a standard SAP variable which tells program which number range use to create the current document which is under process.
    Let me know if you are clear.
    Thanks,
    Mandar

  • Authority-check for a particular company code

    Hi,
       I need to check authorization for a particular company code.In my bdc call transaction program i'm fetching mass data from excel file and for every record i've to check the company code field.If the company code is not the required one then that record should not be processed.
      So before filling the bdc data i wrote like
    LOOP AT gt_inrec INTO gs_inrec.
         AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
                   ID 'ACTVT' field '02'
                   ID 'BUKRS' field '2800'.
        IF NOT sy-subrc = 0.
          MESSAGE e058(zz) WITH gs_inrec-bukrs.
          EXIT.
        ENDIF.
         PERFORM fill_bdc.
      ENDLOOP.
    but it is not exiting for different company codes and is allowing records with all company codes.
    can anybody pls tell me how to rectify this?
    thanks in advance,
    poornima

    I need to perform authority check on the field NAME1 present in the standard screen - customer master ( T.Code-XD02). Only certain users should be allowed to edit the field and others should be restricted.
    I have created a field exit FIELD_EXIT_AD_NAME1 for the ADRC-NAME1 field.
    Now inside this field exit i need to write the authority-check code.
    I have created the authorisation object Z_KNA1_NAM for the field NAME1 using the SU20 and SU21.
    For this scenario how do i write the authority-check code in my field exit?
    Below is my field exit code,is that correct?
    FUNCTION FIELD_EXIT_AD_NAME1.
    ""Local Interface:
    *" IMPORTING
    *" REFERENCE(INPUT)
    *" EXPORTING
    *" REFERENCE(OUTPUT)
    AUTHORITY-CHECK OBJECT 'Z_KNA1_NAM'
    ID 'NAME1' FIELD SY-UNAME
    ID 'ACTVT' FIELD '03'.
    IF SY-SUBRC = 0.
    MESSAGE 'Not Allowed to Edit the Name 1 Field' TYPE 'E'.
    ENDIF.
    ENDFUNCTION.
    In the above code i have given SY-UNAME in the code line 2 - ID 'NAME1' FIELD SY-UNAME ,is that correct? what should i give there?
    Please help me on this issue.
    Cheers,
    P.S.Chitra

  • Defaulting document types for a particular company codes.

    Dear All,
    Is there a way to default certain document types to particular company codes, so that when ever if we enter that particular company code then automatically the default document types has to come. I tried to check for configurations but could not. Please let me know how to achieve this scenario.
    Regards
    Srikanth

    Hi,
    No, does not seem possible to me without development...
    Regards,
    Eli

  • Blocking of J1IEX Transaction for particular company code

    Hi,
    I have two requirment,
    1 :  For our one company code  C011 , J1IEX transaction should not allow ,  we have one user and that user is working on different conpany code  but for particular to this company code C011,  how to block the J1IEX transaction user should not take the cenvat
    2: For the same company code J1IEX transaction is allowed  only of in Purchase order material code is  XYZ ,  otherwise for other materials materials should not come i n J1IEX  to get the cenvat benifit.
    regards,
    zafar

    Hi Zafar.
    I belive this would be an authorization issue in this case (guys on the forum pls correct me if I'm wrong).
    Maybe you should put a request for the Basis/Security management team who supports your company, informing what C.Code restrictions to add in this transaction, and for what users, so that they would find out what authorization objects to restrict.
    Regards,
    Rodrigo.

  • PO/ Invoice created for supplier does not exist for particular company code

    Hi Gurus,
    We have a case where PO created w.r.t supplier X does not exist for any company code A. Also Invoice is generated.
    As per my analysis:
    1. Purchasing organization is assigned to the particular plant and Plant does assigned to company code. This purchasing organization does not assigned to any company code and kind of centrally allowed to any company code based on above link.
    2. Supplier X does exist for the purchasing organization. And in Partner function-For PI (Invoice presented) partner function, it is defined for another supplier Y. This Y supplier does exist for company code A and might be the reason, it is allowing creating PO and Invoice.
    Please correct me, if I am wrong or If there will be any other reason for the same. Just for your information, there is no Info record exist for this PO as it is created for service without any material number.
    Thanks for your response.
    Best regards,
    Karun Kumar

    You can create vendor only with reference to purchase organization and withoout company code.
    for this vendor, you can create PO and MIGO and system will allow but when you try to post the invoice system will prompt you to enter different invoice party. if you dont enter different invoice party, system will throw an error message "vendor is not defined in XXXX.
    So in your case, your analysis is correct.

  • Billing docs for different company codes

    hello, friends.
    let's say a client has 2 company codes.  of course, these company codes would have different sales orgs, and by extension different sales areas.
    now further, these company codes would require billing documents each with different number ranges.  normally, we define a set of sales orders and billing types for each sales org so that the number range will not be shared.
    but is it possible (SAP standard) for both sales orgs to be sharing the same sales order documents and still have different billing types (e.g. invoice)?  i was thinking of doing this by assigning a Document Pricing Procedure in the billing type for the second company code and then assigning the second sales org to this in OVKK.  has anyone tried this?
    if this will not work, is there an existing userexit for this?
    many thanks in advance...

    Hi
    I think this is not possible as per standard
    Because 1 sales order type can have only 1 invoice or billing type
    in VOV8 if it is order related or delivery related we have to assign the billing type
    It may be possible  for your case
    by differentiating i billing type for SALES ORG A  as delivery related
    for SALES ORG B as order related
    I have never tried
    regards

Maybe you are looking for