Transaction code KO88 need to be check at company code leval

Dear Experts,
I need maintain authorization check at company code level for the transaction code KO88
Can you suggest what are the better approaches/solutions to meet this requirement
Thanks in Advance
Guru Prasad

Hi,
it does not look like you can use standard authorization objects assigned to this transaction. This transaction is from CO module and this module does not use company codes directly. It uses controlling areas instead. You can see it in authorization object K_VRGNG which is checked in KO88.
It does not look like there is a suitable BADI either. So if you are on Netweaver you can try to use enhancement framework. In program KO71 which corresponds to transaction KO88 is subroutine ACTIVITY_AUTHORITY_CHECK where FM K_VRGNG_AUTHORITY_CHECK is used to check authorization for object K_VRGNG. It looks to me that it's a good point to use implicit enhancement point of this subroutine to add additional authorization check. In your case check for company code attached to internal order. But you need to test it properly and it might work only for this transaction. So if user can start settlement from somewhere else that your additional check might not be performed.
Cheers.

Similar Messages

  • Double Invoice check across company code

    Hi All,
    I have been trying to use the double invoice check functionality across company codes. i.e. when an invoice is posted in Company code A with ref no: xxx, and when I try to post a new inovice with the same reference ie. xxx in company code B, system does not give error message.
    Please note: I have maintained message in application F5, no: 117 and 312.
    Also in customization for double invoice check, I have unchecked "Check Company code" and checked "check reference" and "check invoice date"
    I have also maintained the double invoice check flag in the vendor master.
    Please help at the earliest.
    Regards,
    Ankush

    Hi Ankush,
    Good Day,
    Duplicate invoice check across company code will not check for FI related invoice ( Like FB60)
    But you can able to achive this with BTE ( SAMPLE_PROCESS_00001110 for FI Duplicate invoice check)
    Steps for Implementing a BTE
    (1)Goto transction FIBF menu Environment->Info System (P/S )
    (2)Select the BTE you want to implement.
    (3)Press button Sample function module
    (4)This brings you to SE37 - Copy the sample function module to a Z-function module (First create a new function group for the function module) . Note: The name of the Z-functionmodule is not important
    (5)Edit the code in the new function module
    (6)Go back to transaction FIBF - Menu Settings->Products -> Of a customer and create a new product whicj identifies the new product . Remember to mark the Active field.
    (7)Go back to FIBF menu Settings->P/S function modules->of a customer - Create an entry that links the BTE and Product with the new function module
    Best Regards,
    KSK

  • User exit to check PO company code and MIRO company code

    HI,
    when user entering an invoice in a company code different than what is on the PO.  Currently, the system will let them key the invoice and it will automatically intercompany it to the correct company. 
    I want to Implement FI validation so that the system provides a warning when you post to FI MIRO.  In the FI validation, use the user exit to get the PO company code and do a compare of the company code from the PO to the input field on the invoice and if not the same provide screen popup warning .
    Using OBBH Create validation rule in user exit  for input invoice and process MIRO associated company codes
    Plese provide me correct user exit.
    I tried BAdI INVOICE_UPDATE, but it didnt work.
    Thank You,
    Archana

    Check Badi implementation MRM_HEADER_DEFAULT
    Regards
    Vinod

  • The tax code entered is not defined in the company code country.

    Dear sap guru's
    I am facing a problem while doing invoice or while cancelling the invoice or even during Subsequent Credit/Debit
    Tax code V0 in procedure  is invalid
       Message no. FF704
    Diagnosis
       The tax code entered is not defined in the company code country.
    System Response
    Procedure
       Check and, if necessary, correct the entry.
    Procedure for System Administration
       If it is not an input error, check and possibly change the system
       settings.
       To do this, choose Maintain entries (F5).
       1.  Check whether the required tax procedure has been allocated to the
           company code country. The Procedure field is on the detailed screen.
       2.  If you need a new tax code, you can create one yourself.
    For this i have checked the assignment of company code and tax code V0 in Tcode (OBCL)
    In FTXP the tax code is created in country IN, for the same tax procedure and the tax is a input tax.
    please suggest what could be the exact problem
    Regards
    Sujit

    Hi Sujit,
    1.Go to FTXP and create tax code V0 for country IN and procedure ZAXINN.
    2.In Txn: FV11, For the condition type- XXXX (You will get this in Txn: FTXP, against the tax type, you get the condition type OR in the PO-Item details- Invoice tab, next to field: Tax code, see the Tab-Taxes, click on it and will get the condition type) , maintain the country-IN, Tax code-V0 and the rate.
    3.Also things to be checked
    1> assign country to company code
    2> assign company code to tax code
    3> create tax code for country IN
    4.Under the following menu path, pls check if you have assigned your tax code to Company Code
    IMG>Logistics (General)>Tax on Goods Movement>India>Basic Settings>Determination of Excise Duty>Condition Based Excise Determination>Assign Tax Codes to Company Code
    Hope it clears,
    Rahul.

  • "Company code  is not permitted as the paying company code while FRFT

    Hi Experts,
    I am trying to post cross company fund transfers via FRFT -> F111. In my scenario, CC1 is sending amount to CC2 via a virtual payment method. I have done basic company code set up and also customizations in FBZP for payment method and F8BJ/F8BF for incoming/outgoing transactions. I have also done OBYA setting for cross company clearing account
    During FRFT payment request i get this error: "Company code CC1 is not permitted as the paying company code".
    Did you ever experience this? If so, how can i fix this?
    Thanks in advance.

    Dear subumax
    1.Please check once again in both company codes for FBZP. were you maintained in All Company codes in FBZP - Select your company code and check- were you maintained Paying company code.
    2.Pleasecheck in under Paying Company codes - were you maintained the paying company code CC1 or not
    3Please check in under Payment methods in comapny code were you maintained your paying company code code CC1 details or not 
    Regards
    Shankar

  • Transfer Company Codes to Another System under a new company code

    Hi,
    We have 2 company codes in which we want to move to another SAP system but under one new company code. Is it possible to create a new company code and bring the two company codes under this company code. We do not really require to move all the historical data, just the balances will be fine. Please provide your insight how this can be done.
    Can the 2 company codes be transferred to the new company codes as cost centers? Or what kind of design can work in this situation?

    Hi,
    As the historical information is not required the approach to be adopted can be as under:
    1. A cut off date has to be determined for transfer of balances to a new Company Code.
    2. All Business Processes mapped in both the Company Codes should be there in the new Company Code.
    3. All GL Accounts to be extended to new Company code.All Customer and Vendor masters are to be created.
    4. All the GL Balances are to be brought over.
    5. All open item managed GL Accounts (line item wise) to be populated in the new Company Code.
    6. All open items of Customers and Vendors are to be brought over.
    7. Material Master to be broght over if the same are no there in new Company Code.
    8.All open Purchase Orders and Sales Orders are to be broght over.
    You can use LSMW to do the data conversion.
    Thanks
    Murali.

  • Check for Company Code & Vendor Relation ship before a PO is saved

    Scenario ,:
    If the Vendor doesn’t belong to the same CoCd as SAP accepts in this stage the PR/PO , the problem will not appear at this stage og MIGO  but will appear after the goods have been received and then it will appear when we want to enter the invoice SAP will not accept .
    Any suggestion / work arounds to put a check on this ....
    Satish

    Dear Satish,
    Your problem is vendor is created at Porg level but not at company code level.
    In SAP, we have 3 transactions to create vendor
    MK01 - Purchase Organization level - (purchasing people use to create vendor)
    FK01 - FI views - Finanace people create
    XK01 - Centrally -  Comapny code level.
    If vendor is created with MK01, sysyem allow the PO, GR but not IV as the vendor still not exist at company code level
    If you create with FK01, you can do FI transactions but not Purchasing.
    Here co-ordination is required between the MM and FI departemnts. If any vendor required by both MM & FI, after creating it should be informed to other department.
    SAP given this for the flexibility of authorizations and flexibility.
    Thanks,
    Krishna Reddy

  • Authority check on company code

    Hi ,
          How i need to check whether the company codes in an internal table is having creation access to the particular user or not ?.
         In authority check what is  ACTVT - 01,02,03  signifies ??
    Thanks in adv.
    varma

    LOOP ...
    AUTHORITY-CHECK OBJECT 'F_LFA1_BUK'
    ID 'BUKRS' FIELD T_COMP_CODES-BUKRS
    ID 'ACTVT' FIELD '01'.
    IF SY-SUBRC <> 0.
    move  w_COMP_CODES-bukrs to (itab1).
    ENDIF.
    AUTHORITY-CHECK OBJECT 'F_LFA1_BUK'
    ID 'BUKRS' FIELD T_COMP_CODES-BUKRS
    ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC <> 0.
    move  w_COMP_CODES-bukrs to (itab2).
    ENDIF.
    ENDLOOP.
    Hence segregating all the Company codes as per the authorization.

  • Authorization-check in company code for GR55 reports

    Hi to all!
    Created User: ZTESTUSER
    The scenario is this.
    We created a report in GR55(Report Painter) and we want users (ex. ZTESTUSER) to access only company codes 7000 to 7999. How will I be able to do that?
    I am thinking of creating a role or profile then assign it to the user, but I was not be able to locate an authorization object for GR55 reports.
    The authorization object in GR51 is not doing what we want. It only control the create/change/display and execution transactions.
    I tried using validation in GGB0 but I can't find a parameters where the GR55 reports will be checked so the users will be limited by company code.
    Can somebody help me?
    Thanks a lot.

    I programmed a company code check for a report like this.
    ===========================================================
    data: lv_text(4) type c.
      if p_bukrs is not initial.
        select single * from T001
                      where bukrs = p_bukrs.
        if sy-subrc <> 0.
          message e321(FR) with p_bukrs.
        endif.
        AUTHORITY-CHECK OBJECT 'F_SKA1_BUK'
        ID 'BUKRS' field T001-BUKRS
        ID 'ACTVT' field '03'.
        if sy-subrc <> 0.
          clear lv_text.
          lv_text = p_bukrs.
          message e800(FR) with p_bukrs.
        endif.
      endif.
    ============================================================
    but I was not able to do that in GR55 reports because the program is automatically generated by SAP named GPXXXXXXXXXXXXXXXXXXXXXXXXXXXX.

  • Invoice tolerance check at company code level

    Hi! I know in SRM, the tolerance check for invoice is set up and assigned to a tolerance group which is then assigned to the user attribute. In theory, the tolerance setting should match that of ECC as it does not make sense to meet the tolerance requirement in SRM and then subsequently get block in ECC. However, it is common in ECC that we maintain different tolerance value for different company codes. Is there a way to do the same in SRM? My guess at the moment is that we will have to 'copy' the check in ECC to SRM rather than relying on the tolerance checks in SRM. Am I right to say that? What is the best practice in such situation?
    Appreicate you sharing your experience in this.
    Cheers!
    SF

    Hi. I think the only way to do this is to set the tolerance to 999% via config and PPOMA and assign to all users. This means the standard tolerance check does not apply.
    Then use the BBP_DOC_CHECK_BADI to read in whatever tolerances you want based on whatever parameters, and issue an error on screen if the tolerance is exceeded. You can easily RFC into R/3 to get the tolerances from table T169G.
    Regards,
    Dave.

  • Saved Document Number needed after saving the customer  company code data

    I created a customer than I saved the company code data and forgot to note the number the saved document number. Next time I went to the same customer again and I wanted to find out the saved document number for the same customer but did not know where to look for. Can you tell me what I should do?
    Thanks

    Hi,
    For any customer there will be general data,Company code data and sales area data.
    Even though you maintain the general data or company code data  only one numebr will be generated.
    If you want to maintain some other data as comapny code data and sales area data we will goto XD02 and enter the company code,sales area nd customer number in the initial screen and we will maintain that data.
    I think you are thinking that different number will be created for different data which is wrong.
    So enter the same number and company code in XD03 and view your data.
    Regards,
    Krishna.

  • Tax code optional in document type for one company code

    Hello experts,
    Is it possible to make tax code optional in a document type only for one company code.  If yes kindly explain me the process in detail. 
    Regards,
    P.Krishna Chaitanya.

    Hi
    If I understand your requirement correctly  that for a particular document type, the line item should not contain a tax code, while for other Document Types, it should have a tax code. Note, the logic for making tax code optional/mandatory is made through the field tax category in the GL Master and not through the field status. further Build in a validation rule, using a logic as follow:
    BKPF-BLART IN "SET NAME"
    Check BSEG-MSKWZ<> ' '
    Set an Error message
    You can also create a subsitituion rule for populating tax code with a blank value if a particular doc type is used.
    BKPF-BLART in 'SET NAME"
    Substitute BSEG-MSKWZ= ' '
    You may need to allow tax code as a field to be substituted in the maintainence view of table GB01 using T Code SM30 for boolean class 9
    Regards
    Sanil

  • TAX code is not working for a specific company code

    Hi Friends,
    One tax code is giving error messa ge that it is not maintained in tax procedure, when iam using the same code for another company code it is working fine.
    Please help me, points are assured.
    Thanks.
    Srini

    Hi Srini,
    The tax codes are defined at the country level.  Please check whether the company codes belong to the same country.  If not ensure that the tax code is maintained in the tax procedures of the respective countries.
    You can check the assignment of the tax procedure to a country in the TCode OBBG.
    please reward points if helpful.
    Regards,
    Sreekanth....

  • Error "Enter section code" while doing revenue recog for Korea company code

    Hi
    While doing revenue recognition  for a sales document using VF44 for Korea  company code , i got an error to "enter sectio code".
    There is no WHT for the customer, only VAT is entered in the sales price.
    How to resolve this issue, Please help.
    Thanks,
    Vaishnavi

    Resolved.

  • Tax Code Mandatory in Purchase Order for specific Company Code / Country

    We are doing Roll Outs of SAP into different countries.
    In a particular Country / Company Code we want Tax Code to be mandatory in Purchase Order without disturbing the settings for other Country / Company Code.
    Can anyone provide some idea to resolve this?
    Thanks in advance

    Hi,
    You can create a seperate document type for that country and make it mandatory in the document specific screen varient
    SPRO>MM>PUR>PO>DEFINE SCEEN LAYOUT AT DOCUMENT LEVEL>COPY NBF
    Make tax code field mandatory and assign it to new document type for that country
    Or user user exit or BADI ME_PROCESS_PO_CUST
    Thanks
    Diwakar

Maybe you are looking for