To Get Clander Id based upon company codes....

hi all,
i need to get the calender id based upon the company code.. is there any table for that...
Example:  1000 for US,
              2000 for CA(canada).
helpfull answers will be rewarded...
Regards,
Murali.

Hi guys.
Murali, I apologize for this inconvenient (Im using your post)..but I cant make any post since today (with new sdn version)  
pd: this is a test to check if I can post in an already created thread.

Similar Messages

  • FM to get open period based on company code

    Could you pls tell me the FM which can get open period based on the company code?
    right answer will be rewared for sure.
    Sujatha

    Hi,
    I m not sure. Just check this out.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    check this link.
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    Regards
    Vadi
    Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 5:41 PM

  • Get pernr based on company code in logical databse

    Hi,
        When using the get pernr event, all the pernrs that I get are in the ascending order  I want them first grouped based on the company code and then on pernr.
    Any suggestions would be appreciated abd suitably rewarded.
    for ex: get pernr.
               write:/ pernr, bukrs.
             end-of-selection.
    result:   00000099 1001
              00000002 1003
    Regards
    Vick
    Message was edited by:
            vick vennav

    for ex: get pernr.
    write:/ pernr, bukrs.
    end-of-selection.
    result: 00000099 1001
    00000002 1003
    We are sending the payroll information to the 3rd party for pay check purposes, at my client side they have inserted a custom include in the standard program and populating the information in a flat file which needs to be sorted first based on company code and then on pernr. If I try to do it later,the code is becoming a mess, so I want to know is there a way to get pernr using logical database whose order is based on company code.
    Regards

  • SRM 7.0 , Get company name based on company code

    Hello friends,
    Is ther any function module or table to read company name based on company code in SRM 7.0 ?
    Kindly let me know your inputs.
    Thanks.
    Preethi.

    Hi,
    To find purchase group.
    BBP_OM_FIND_PURCH_GRPS_BEI
    To fund purchase org.
    BBP_OM_FIND_PURCH_ORGS_BEI
    To find company.
    BBP_OM_FIND_COMPANIES
    Regards,
    Pedro Marques

  • Gl a/c short and long text based on company code

    Hello Friends,
    In table skat the gl account description is given based on chart of accounts but what if i want the description based on company code.
    I want the table where i can get the gl account description based on company code??
    Pls suggest.
    Regards,
    Sunny

    Hi,
    you can look at the database view for requirement
    GL_ACCT_CC_TEXT
    regards\
    Mahesh

  • Shopping cart default delivery address based on company code

    Hi All,
    As a standard behaviour of SRM, currently delivery address in shopping cart is defaulted from attribute (ADDR_SHIPT). But in our case we use cross company purchasing where requisitioners buy for different company codes.
    Some times, they forgot to change the default dlivery address and shopping carts are getting created with wrong delivery address.
    Is there any way, the we can default the delivery address based on company code selected by the user instead of defaulting from user attribute?
    Suggestions would be greatly appreciated.
    Regards,
    Krish

    Hi Krish,
    Am looking for a same solution but instead of delivery address, we are looking for change in invoice recipient address
    ADDR_BILLT. For this i have identifed a FM: BBP_GET_BILL_TO_PARTY from which system pulls the defaulted attribute of user profile. Now we are in a change of pulling the attribute defaulted to the company code entered in SC rather than the user's defaulted ADDR_BILLT.
    Similarly i guess for your issue you can use the FM: BBP_GET_ORG_SHIPTO_ADDR implementing a enhancement in DOC CHANGE BADI
    Regards,
    Nihar

  • OB52 based on Company Code

    Dear All,
           As we are having several company codes and want users only to be able to open and close periods from transaction code OB52 belonging to their posting period with respect to company codes how can I restrict and allow them open & close periods based on company code repectively. Is there any process this be done.
    I tried with the notes I got from one sap-img link. But it did not work & there something is missing. Kindly if anyone have done this before send be step by step process. Awaiting for you reply...
    regards,
    Raj B...

    How about trying it this way?
    1. Remove access to OB52
    2. Create a maintenance view similar to V_T001B specific for each company.
    3. Create a TCODE for each of these views.
    4. Use this TCODE for authorization assignment.
    This should be simple but your number of views would be increasing with respect to the number of companies.
    ~Eswar

  • SKF transactional values based on company code

    Can anybody let me know the logic how we can seggregate transactional value passed to statistical key figure based on company code or is there anytable where we can direclty find SKF transactions involved based on company code ?
    Need to upload SKF transactional figures from one SAP system to another.Hence require process for extraction and uploading of the same

    Hi Amogh
    Hope you are looking for actual SKF quantities posted. kindly check s_alr_87013611 CC report, I think on the lower part this comes. This time I am not in front of system so you please check.
    Regards
    Rajneesh

  • Decimal places adjustment based on company code or currency

    Hi experts,
        my requirement is i have to adjust the decimal places in amount fields of internal table based on company code or currency given by user.
    suppose for example in my internal tables having 5 amount fields like 1.50 1.234 1.45 1.34, 1.67  for  company code is in01
    the same values for VN01 should be like this
    150 1234 145 134  167  ....
    can any body plz tell me any functional module is there to covert or abapcode?
    Thanks in advance,
    veena.

    That code is a bad idea.  Why would you hard-code that type of action for currency/amount handling?
    @poster: If the output is based on the local currency defined for the specified company code or one specified by the user, then use it.  SAP handles amount output automatically with a currency specification because the currency definition identifies where/how the decimal is output. 
    Just use WRITE as Florian indicated but  use the CURRENCY extension instead of DECIMALS.  You can do this dynamically based on the company code easily...
    A simple 3 line program shows you how this works:
    PARAMETERS: p_wrbtr type wrbtr.
    write:/ p_wrbtr CURRENCY 'USD'.
    write:/ p_wrbtr CURRENCY 'JPY'.
    Edited by: Brad Bohn on May 12, 2011 1:07 PM

  • Determination of default characteristics values based on Company Code/Plant

    Hi All,
    We are using batch management and classification.  We have defined various Characteristics and maintained values for it.
    As per our business process, we create Purchase Order (which may contain many line items) and after that we receive the Goods thru MIGO.
    At the time of MIGO user need to enter all the Characteristics of the batch. Out of no. of characteristics few are mandatory and also have got same value (depends on Company Code/Plant).
    Currently there is no provision to maintain default values of the characteristics at Company Code / Plant level. Due to this user have to maintain same values again and again at the time of MIGO for each line item/batch. So please suggest us the solution where user need not to enter same values for respective characteristics during MIGO and we can save lot of time and it will help to improve the efficiency.
    We also tried to explore the provision of making u201CDefault Valueu201D in CT04, but then that value was getting applied for all the Company Code / Plant which we donu2019t want.
    Regards
    Nilesh

    you have to valuate the characteristics with  Object Dependencies
    http://help.sap.com/saphelp_bw/helpdata/en/24/4766d4416711d189ec0000e81ddfac/frameset.htm

  • Restriction of Tcode SQ01 based on Company code

    We are running one customized query using Tcode SQ01.  We need to restrict Tcode SQ01 in company code level.  We have checked about authorization object in st01. But there is no check of authorization object. Can anybody help to restrict SQ01 based on company code level?
    Regards
    Auroshikha

    Hi Auroshikha,
    Itu2019s very easy to maintain authorization in your Infoset Query report. I got and implemented similar requirement i.e. restriction /authorization as per company code.
    You need to use authority check for authorization object  P_ORGIN in your infoset.
    Please follow the bellow steps:
    -->Go to SQ02, Enter your Infoset name and click on Change button.
    -->Click on 'Code' (Shift+F8) icon dispalyed on application toolbar, you will be moved to Code Section of Infoset that lists different events.
    -->Choose Record Processing event from code section.
    -->Write the following code in 'Record processing' event of your Infoset.
    AUTHORITY-CHECK OBJECT 'P_ORGIN'
    *ID 'INFTY' FIELD '*'
    *ID 'SUBTY' FIELD '*'
    ID 'AUTHC' FIELD 'R' "read
    ID 'PERSA' FIELD P0001-WERKS
    *ID 'PERSG' FIELD DUMMY
    *ID 'PERSK' FIELD DUMMY
    *ID 'VDSK1' FIELD DUMMY.
    CHECK Sy-SUBRC EQ 0.
    Note: PERSA field used in this Authorization object plays an importan role , if you are in different module other that HR , then pass here table_name-companycode_field
    -->Genetare Infoset
    -->Go to SQ01 (in a new session) , Click on exeute or 'Test button' to check authorization is working for report
    Let me know if you need any more details.
    Thank you.
    Regards,
    Dinesh Tiwari

  • Any option to restrict SE16 record level access based on company code?

    Hi All,
    I have a requirement to restrict record level access in SE16 based on company code.
    Our SAP system has two company codes. The requirement is that users of one company code should not be able to see records of other company code in SE16.
    Is it possible through some exits/badis/other methods?
    Thanks in advance.
    Regards,
    Arun Mohan

    You could write a small front end that accepts the company code, applies custom authorization code for each value and retains or removes, then calls the transaction and enters the selections the user requested and that your authorization check resulting in "passing"....  Of course, you'd have to block those users from "pure" SE16...   I once worked in situation similar, users in one country couldn't see USA data, etc. I think someone wrote an entire new program, called by ZSE16, for that.

  • Sourcing Based on Company Code

    Hi All,
    Is there a way to configure sourcing based on company codes? We want carts to go into sourcing based on specific company codes.
    Through configuration, you can seggregate carts based on product category, but we want on the basis of company codes!
    Have already tried DOC_CHANGE & SRC_DETERMINE BADIs, they don't help.
    Regards,
    Snehal

    Hi Disha,
    Thank you for the reply.
    But I am not quite very clear with the option you have suggested.
    Do you mean carts for company codes where sourcing should be skipped, shouldn't be displayed in the purchasur's worklist ? Then how will they be converted to PO ?
    I couldn't see any parameter in BADI BBP_WF_LIST which will convert the carts of specific company codes to PO.
    Or some other BADI should be implement for this ?
    Regards,
    Snehal

  • To do further segregation based on company codes of the same Satellite syst

    I configured the solution manager service desk with the satellite systems in such a way that it picks up the Business Partner (Sold to Party) from the IBase of the respective systems. This makes one Business Partner per one satellite System. So I am able to do the segregation of the service tickets based on sold to party. Users will post the tickets from the satellite systems only.
    But if I want to do further segregation based on company codes of the same sold to party (Satellite system) in the solution manager, what needs to be done. Pls suggest.
    Thanks and regards
    Basha

    I configured the solution manager service desk with the satellite systems in such a way that it picks up the Business Partner (Sold to Party) from the IBase of the respective systems. This makes one Business Partner per one satellite System. So I am able to do the segregation of the service tickets based on sold to party. Users will post the tickets from the satellite systems only.
    But if I want to do further segregation based on company codes of the same sold to party (Satellite system) in the solution manager, what needs to be done. Pls suggest.
    Thanks and regards
    Basha

  • SD number range based on company codes

    Dear all,
    We have two company codes in one client.We want to create  separate SD number ranges based on company codes.Is there any possibilities to do this.Please advice.
    Regards,
    Abdul jabbar

    Abdul,
    If you have  different doc types for two company codes then you can maintain different number ranges in standard for two company codes.
    If you have same doc types for two company codes then you have to go for enhancement.
    1. Create one ztable: Maintain the entries like below.
    company code
    SD document categ.
    Document type
    Sequence Number
    Prefix code
    Object name
    Number range number
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    C
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    H
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    J
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    K
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    K
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    L
    ZXXX
    1
    A01
    Z_XXX_X1
    01
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    M
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    N
    ZXXX
    1
    A05
    Z_XXX_X1
    05
    2XX1
    N
    ZXXX
    1
    A04
    Z_XXX_X1
    04
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    O
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    P
    ZXXX
    1
    A04
    Z_XXX_X1
    04
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    S
    ZXXX
    1
    A03
    Z_XXX_X1
    03
    2XX1
    T
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX1
    T
    ZXXX
    1
    A02
    Z_XXX_X1
    02
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    C
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    H
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    J
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    K
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    K
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    L
    ZXXX
    1
    A06
    Z_XXX_X1
    06
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    M
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    N
    ZXXX
    1
    A10
    Z_XXX_X1
    10
    2XX2
    N
    ZXXX
    1
    A09
    Z_XXX_X1
    09
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    O
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    P
    ZXXX
    1
    A09
    Z_XXX_X1
    09
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    S
    ZXXX
    1
    A08
    Z_XXX_X1
    08
    2XX2
    T
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2XX2
    T
    ZXXX
    1
    A07
    Z_XXX_X1
    07
    2. In SNRO Maitain the number Ranges interval
    First system take the number range interval and searches for the entry in ztable and prefix the code as per the ztable enteries.
    By this u can differentiate the number ranges by company code.
    Revert back to the forum if need any clarification.
    Thank$
    Hidayath

Maybe you are looking for

  • [865PE/G Neo2 Series] I Messed Up My Computer Really Bad

    Wow.  Where to begin. I was in my BIOS looking at DRAM timings and Frequencies... noticed that there for DDR500 it had (4:5), which I presume means the RAM runs out-of-sync with the processor.  I tried it out to see what it would do. Well, my compute

  • Install Window 7 Via BOOTCAMP and create extra partitons for Personal Data

    Hello All; I'm new to Mac, Just purchased the MBP Mid 2012 non retina 2 months ago.. and upgraded to Mountain Lion 10.8.2 I'd like to Install Winows 7 via BOOTCAMP and have extra 1 or 2 partitions (ExFAT) on the same drive for my personal data, any a

  • Microsoft Office has detected a problem with your Information Right Management configuration.

    Hi , I have a Windows Server 2012 RMS Cluster with Cryptograph Version 1 and trusted public certificates. I am using AD RMS at the moment with Exchange and it works fine via Outlook Webapp and client workstations. I have a Windows 2008R2 Terminal Ser

  • Airport Express + Third Party Modem

    I just purchased Airport Express. I've got it plugged into my stereo. I've also got a wireless modem through Qwest (who also gives me DSL). It seems that in iTunes, I can choose only to use the Airport Express, or in the main Airport menu I can choos

  • Table Entry length

    HI all,              Please let me know the logic when user enters value in ZTABLE and he should be able to enter only either 6 or 8 digits of value else throw a error message.I have created a event generator for the same but m not able to find how t