Getting the company code popup

hi,
when i work with FB60 transaction i get the popup for company code
if i to work with the same transaction again then the popup for company code doesnot come.
i am to get that popup when i enter the transaction so when i asked my colleague for help he gave a program which removes any company codes in the buffer
in which the code is like this
TYPES: BEGIN OF T_TFBUF,
        USNAM TYPE TFBUF-USNAM,
        APPLK LIKE TFBUF-APPLK,
        LFDNR LIKE TFBUF-LFDNR,
       END OF T_TFBUF.
DATA: WA_TFBUF TYPE T_TFBUF.
SELECT SINGLE USNAM APPLK LFDNR INTO WA_TFBUF FROM TFBUF WHERE USNAM =
SY-UNAME.
IF SY-SUBRC EQ 0.
  DELETE FROM TFBUF WHERE USNAM = SY-UNAME.
ELSE.
WRITE: 'NO BUFFER AREA CLEARED'.
ENDIF.
even then i am not getting the popup .
if you have a better program than this please provide me.
thanks in advance.
sultan.s

Hi Sultan,
As far I know, it has nothing to do with user buffer, but it is required for setting the parameter ID.
Just use SET PARAMTER ID 'BUK' Value  Space. into your code. I think it will resolve issue.
Regards,
Atish

Similar Messages

  • To get the company code and country grouping attached to a position

    Hi everyone,
    I have a position and I need to get the company code and the country grouping that this position is attached to. Could you kindly suggest an FM or a class which would fetch the above data keeping in mind the inheritance tree. That is, if the company code is not maintained in HRP1008, then it should look for the same in the Org Unit that this position belongs to and so on..
    Any help will be greatly appreciated.
    Regards,
    Alpana.

    Hi
    Check the A011 relationship of the position and get the cost center, from cost center you can get the company code and country grouping from Cost Center Master CSKS.
    ~~~Ganesh Kumar K.

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • FB60/MIRO company code popup

    Hi,
      I have a workflow workitem which tries to call transactions FB60 and MIRO depending on whether the invoice is based on a non-PO or not. When the transaction is called, the company code screen pops up; I managed to suppress this for MIRO by explicitly specifying company code value in screen 1000 for FM DOCHEADER_COMP_CODE_WITH_POPUP - basically I did a BDC. But the same thing for some reason does not work for FB60. Does anybody have any idea why this happens or any other way in which I can suppress the company code popup?
    Thanks in advance.
    Nanditha

    Hi Nanditha,
    Have had the same problem with FB50 from workflow, and  had to solve it by doing as below. The problem appears when using 'enjoy' transactions.
    The code to solve ít look like this:
    SET PARAMETER ID 'BUK' FIELD E_BKPF-BUKRS.
        PERFORM bdc_dynpro       using 'SAPLACHD' '1000'.
        PERFORM bdc_field        using 'BDC_OKCODE'
                                       '=ENTR'.
        PERFORM bdc_field        using 'BDC_CURSOR'
                                       'BKPF-BUKRS'.
        PERFORM bdc_field        using 'BKPF-BUKRS'
                                        e_bkpf-bukrs.
    Hope this will help you too!
    Regards Benita Östman

  • Get user Company Code

    Hi all,
    I'm new in SRM, its there a FM ot table where I can get the user company code?
    Thanks.

    Hi Nicolas,
    You can use FM : BBP_READ_ATTRIBUTES
    In field "IV_USER" give the user id and in "IV_ATTR_SINGLE" give input attribute as BUK .
    execute and you will get the Company code of the user.
    Best Regards,
    Anil

  • "Check Business Area of the company code" error while posting stock

    Hi Experts,
    While posting stock to a storage location of a plant , the system is giving me the following error message :
    "Check Business Area of the company code" .
    Would highly appreciate if I could get some info for this error message and how to resolve the same.
    Thanks & regards
    Vikas Hali

    hi
    i think division is missing in material master basic data , please enter division in basic data tab in material master then you will try ,
    then post the stock
    regards
    vijay

  • HOW TO CAPTURE THE COMPANY CODE IN MIR7

    Hi ALL,
    MIRO data transfer i am facing some problem
    initially i am capturing the Company code in MIRO
    after that i am filling up all those values.
    for my requirement
    1.i want to hold the company code screen initially at all time
    other wise
    2. i am getting error message as No batch input screen for 'SAPLMR1M" '1000' while i am execution of the second time of MIRO posting  how to eliminate the error message.
    Please advise.
    Thanks & Regards
    K.Gunasekar.

    Hi All
    I am doing BDC in FV60( Recording) is it possible to pass the value into hidden fields through (BDC)
    SCREEN FIELD NAME: Document Type.
    Document type is hidden through FV00 and also without changing configuration in IMG.
    Thanks & Regards
    K.Gunasekar.

  • Use of half months in the company code configuration after  Go Live

    Hi,
    Our client has a requirement to activate the functionality of u201CUse of
    half months in the company code configuration in Asset accounting after 3 month of Go live.
    For the above purpose, we enabled the same in our Development server
    (DE5) after Go Live and we are getting some Errors at the time of Asset
    posting in F-90 and Asset Explore AW01N and even depreciation Run.
    Already we ran 3 months depreciation without enabling this
    functionality and now the client requires this in our Production server
    before running the 4 period depreciation.
    We are using the same Fiscal year variant (V3) at Depreciation area
    level for all our company codes. All other company codes enabled this
    functionality except one company code (NOPE) .
    So the client requires this Half month depreciation calculation
    Functionality in company code NOPE too.
    Please advice to resolve this issue at the earliest and its quit urgent.We are using the same depreciation key, asset class in all company codes.
    Thanks
    Man
    Error details,
    SYST: You cannot change the depreciation periods
    Message no. AA662
    Asset affected: 000016000025-0000
    Diagnosis
    Processing terminated because the number of depreciation periods in
    company code NOPE has been changed. However, you cannot change the
    number of periods in your live (productive) system.
    Procedure
    Change the depreciation periods back to the original value in company
    code NOPE. The number of depreciation periods is determined by the
    fiscal year version and the use of half-periods. At least one of these
    parameters was changed.
    If you want to change your system so that you can now work with half-
    periods, you have to use depreciation keys with time-dependent period
    control in that company code.
    If you need to make general changes to the number of periods for
    calculating depreciation per fiscal year, you will have to consult your
    system administrator

    hi
    If you refer to SAP Note 2993, it is not possible to change to/from half
    period. This is because the expired useful life are based on 12 periods
    and the system is not able to change this to 24 periods.
    To be able to change this settings under:
    Asset Accounting>Valuation>Fiscal Year>Use of Half Months in the
    Company Code.
    Company code must be in status  2 (Test company code with data transfer)
    Once you have finished your legacy data transfer you should set company
    code as productive to avoid this changes.
    Regarding error AA662,  it occurs if you change the number of period
    in the fiscal year version or the use of half-periods, after you have
    already posted to assets.
    The cause is a different value in field ANLB-PERFY which
    is the number of periods in the fiscal year.  If the number
    entered here does not correspond to the number of posting periods
    of the fiscal year used, the system raises error AA662 (except
    for none posted areas for which ANLB-PERFY = 000 or areas
    with depreciation to the date for which ANLB-PERFY = 365)
    If T093C-MONMIT = 15 (half periods), ANLB-PERYF = 012 is not
    correct. It should be 24.
    Please note that changing the PERFY value will not be sufficient because
    the expired useful life is calculated on base of PERFY. Thus PERFY has
    to be adjusted and the expired useful life also.
    Blaz.

  • Wrong business area assigned to the company code

    Hi All ,
    I am getting error " Wrong business area assigned to the company code  " while posting a document in F- 02
    please advise

    Dear Balasubramaniyan,
    You can supress the field Business area field in Field status Groups.
    For this follow the following steps
    Please check TCode OBC4 for field status variants
    > Goto G001 (General) Field status group
    >Additional Account Assignment
    > Click supress in front of business area.
    In that case, F-02 will not even ask for business area.
    Also check whether Business area FS is ticked in front of your company code in TCode OB65
    You may also refer to the following thread
    How to assign business area to company code?
    I hope this solves your query.
    Thanks & Regards
    Saurabh
    Edited by: Saurabh Khandelwal on Nov 8, 2011 1:53 PM

  • 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.

  • How to find out the company code given the customer number

    I am new to SAP please help me out? How do you find out the answer.

    Hi,
    Goto T.Code SE11/Se16/SE16n.
    Key in the table name as KNB1.
    Enter your customer number.
    Execute.
    You will get your company code here.
    Another way is Goto XD02/XD03.
    Enter your customer number.On company code press F4.Enter the customer number and press Enter.A list of company code in which your customer presents will appear.
    Regards,
    Krishna.

  • Settings in program RFF0GB_T for printing the company code address?

    Hi All,
    I want to print the company code address in the header window of the sapscript. I copied the F110_IN_AVIS to Z .
    in the Program RFF0GB_T, the structure SADR whose fields are being used gets filled up if the finaa-nacha = 2 means of Fax type.
    How do I change the settings or change in the program to change it to make it to print?
    Please help
    Rgds,
    Madhuri
    Edited by: madhuri sonawane on Dec 24, 2008 10:06 AM

    Hello Chandra,
    FYI, plz check the code. As per your stmt the config will populate the structure SADR. Plz see the code & clarify how & where the config comes into play.
    INCLUDE RFFORI06.
    PERFORM avis_schreiben.
    FORM avis_schreiben.
      IF finaa-nacha EQ '2' AND finaa-formc NE space.
        PERFORM adresse_lesen USING t001-adrnr.   
      ENDIF.
    ENDFORM.
    INCLUDE RFFORI99.
    * FORM ADRESSE_LESEN                                                   *
    * Lesen einer Customizingadresse (z.B. Buchungskreisadresse)           *
    * Read customizing address (e.g. address of company code)              *
    * ADRNR - address number                                               *
    FORM adresse_lesen USING value(adrnr).
      PERFORM addr_get USING 'CA01' adrnr.
    ENDFORM.  
    * FORM GET_ADDR                                                        *
    * Lesen einer Adresse                                                  *
    * Read address                                                         *
    * ADRGR - address group                                                *
    * ADRNR - address number                                               *
    FORM addr_get USING adrgr adrnr.
      CHECK adrnr NE sadr-adrnr.
      CLEAR addr1_sel.
      addr1_sel-addrnumber = adrnr.
      CALL FUNCTION 'ADDR_GET'
        EXPORTING
          address_selection = addr1_sel
          address_group     = adrgr
        IMPORTING
          address_value     = addr1_val
          sadr              = sadr
        EXCEPTIONS
          OTHERS            = 4.                                "SADR40A
      IF sy-subrc NE 0.
        CLEAR sadr.
      ENDIF.
    ENDFORM.                               " GET_ADDR
    If you still think that SADR is populated through config, can you tell where exactly in FBZP do you config this ?
    BR,
    Suhas

  • Reg : How to get the company address in Crystal Report

    Dear members,
    I am stuck up with problem in Crystal Report in my project. I want to get the company address in the Crystal Report. How can i get the company address in the crystal report. Hope i will get help in this regard.
    Thank you.
    Regards,
    Venkatesh Rajagopalan

    Hi Dear
      plz send me  what is your methad to applay,
    so i am sending u code   for company address
    all company information  contain the OADM table ,
    so applay the select query  ang get the data form table
    this ia sample code ........
      SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    string GetComp = "select * from OADM ";
                    oRecordset.DoQuery(GetComp);
                    strCompName = oRecordset.Fields.Item("CompnyName").Value.ToString().Trim();
       Use this code  u will find the company name
      and after  that pass this valu a parameter
    oRPT.SetParametervalue ("CompanyName", strCompanyName)
      so pass the strCompanyName  as a parameter in the  cdrystel report.
    hope  help this code ,
    if u have any problem so plz send me  question in form,
    if u r  satisfied my answer so pl give me rewards point,

  • Reset the company code before changing chart of accounts

    i have created a new chart of accounts.
    when i m trying to assign to company code i m getting this error.
    i tried with OBR1 tcode also but still getting the error.
    how to solve this issue..
    thanks in advance.

    If you are just starting the company code, you may want to delete the company code and recreate it. Then give the new COA.  This may take some time, because if when you just create company code there are numerous tables that get updated. You may also want to check the company code.

  • The company code 123 does not exist or has not been fully maintained

    hi...
    frnds..
    Error: The company code 123 does not exist or has not been fully maintained..
    While creating material master, am getting this error... how to resolve this...
    Thanks in advance...
    Raghav.KH

    Hi,
    Check in OX02 whether the city, country, currency and language are maintained and in OX16 it is assigned to company.
    If your company code does not exist create new entries by giving an ID and description and fill the above particulars and
    assign to the company.
    Regards,
    Sadashivan

Maybe you are looking for