Within Company Code Material transaction

Hi All,
We are making a Stock Transfer betweeen 2 plants( A to B) WITHIN a company code.
Here we have maintained the cost of material in Plant A as USD100. Now when this material from plant A is transferred to plant B the cost of this material in B should automatically increase by 4% i.e. it should become USD104.
Can somebody tell us how this can be done.
Regards,
Jn.
Edited by: terrence jn on Mar 10, 2008 10:36 AM

See thread:
Re: BAPIs for asset transfer
Regards.

Similar Messages

  • How to calculate no.of records for a specific company Code and Transaction

    Hi All,
    Could you please help me how to calculate or count no.of records, in a table which are having a specific Company Code and Transaction Code and populate  in an output table displaying that these many records are present for this company code and Transaction code.
    The table is having the data like this:
    LOB   TRAN CODE    COUNT
    X1                             1   
    X1                              2   
    X1                              3   
    X1                              4   
    F1   NB                      5   
    F1   NB                     6   
    F1   NB                     7   
    F1   NB                    8   
    F1   NB                    9   
    F1   NB                    10  
    F1   NB                    11  
    F1   NB                    12  
    F1   NB                     13  
    F1   NB                     14  
    F1   NB                     15  
    F1   NB                     16  
    F1   NB                     17  
    F1   NB                     18
    F1   NB                    19  
    F1   NB                    20  
    F1   NB                   21  
    F1   NB                   22  
    F1   NB                   23  
    F1                          24  
    F1                         25  
    F1                         26  
    F1                         27  
        In the above table there are totally 27 records,where as the no.of records with F1 as company code and NB as transaction code are 18..so i have to display like F1 NB and 18 as one record as output.
    Thanks and Regards,
    Johny

    You can go for Control Breaks for your requirement.
    First sort the internal table by company code and transaction. Declare a counter variable.
    Now loop the internal table and increment the counter variable. within the loop use AT END OF tcode.......ENDAT. Within the control break append the counter variable as well as the company code and tcode to some other ITAB and clear the counter.
    This will give you the total number of records for a combination of co code and tcodes.
    This will be a good reference for your requirement. What I am doing here is, for each Vendor i am calculating total number of deliveries and amounts for that vendor. For every new vendor i am writing the ouput on to a list and clearing the counter variables.
      LOOP AT t_vend_prod_grp INTO fs_vend_prod_grp.
        w_total_delv = w_total_delv + 1.
        w_total_amt = w_total_amt + fs_vend_prod_grp-dmbtr.
        AT NEW matkl.
          w_mat_grp = fs_vend_prod_grp-matkl.
    * To display the material group and the header texts for the data
    * grouped by material group and vendor.
          SKIP 1.
          WRITE:  text-mtk  COLOR COL_HEADING
                                  INTENSIFIED,
                / w_mat_grp COLOR COL_NORMAL
                                  INTENSIFIED OFF.
          SKIP 1.
          FORMAT COLOR COL_HEADING ON INTENSIFIED.
          ULINE  1(54).
          WRITE:/ sy-vline,
                2 text-ven,
               12 sy-vline,
                  text-dlv,
               26 sy-vline,
               38 text-amt,
                  sy-vline,
               46 text-cur,
               54 sy-vline.
          ULINE /1(54).
          FORMAT COLOR COL_HEADING OFF INTENSIFIED.
        ENDAT.                             " AT NEW MATKL
        AT END OF lifnr.
    * To display the actual data for the grouping based on Material group
    * and Vendor.
          FORMAT COLOR COL_NORMAL ON INTENSIFIED OFF.
          WRITE: / sy-vline,
                 2 fs_vend_prod_grp-lifnr COLOR COL_KEY,
                12 sy-vline,
                   w_total_delv,
                26 sy-vline,
                   w_total_amt CURRENCY text-usd,
                   sy-vline,
                46 text-usd,
                54 sy-vline.
          FORMAT COLOR COL_NORMAL OFF INTENSIFIED OFF.
          CLEAR: w_total_amt,
                 w_total_delv.
        ENDAT.                             " AT END OF LIFNR
      ENDLOOP.                             " LOOP AT T_VEND_PROD_GRP

  • How to process AT END OF command for company code and transaction number.

    Hi,
      I  have report with selection screen with company code and key date.  Based ON key date given I should calculate Accrued interest for all transaction with in each company code.
        When I run report with one company code it works fine. But when I run with multiple company codes the amounts are messed up.
    I am getting all company codes with transaction details in to ITAB1 like this below, and PERFORM get_processdata. has my calculation for interest rate.
      SORT itab1 BY company_code  transaction.
      LOOP AT itab1 INTO wa_tab1.
        itab2 = wa_tab1.
        APPEND itab2.
        AT END OF transaction.
           PERFORM get_processdata.
        ENDAT.
      ENDLOOP.
    Thank you.

    Hello,
    You need to use AT New event to clear your total variables.
    AT New - this will go for first time also but we want to clear variables from second time. it requires flag to stop going it first time
    Pseudo code:
    clear: flag.
    Loop at itab1 to itab2.
    At New.
    if flag eq c_x.
    clear: <total variables>, intenal tables.
    move c_x to flag.
    endif.
    tab2 = wa_tab1.
    APPEND itab2.
    AT END OF transaction.
    PERFORM get_processdata.
    ENDAT.
    ENDLOOP.

  • Inter-Unit transactions within Company Code

    Hi,
    Business Scenario: There are various units within a Company Code. Each unit is a Profit Center. There are lot's of transactions that happens between units. For example, for expenses of Unit A, Unit B makes the makes the payment. There would be thousands of such transactions and there are more than 100 units. My query is, at the end of a period, how would Unit A would come to know that how much they have to pay to Unit B or Unit C or Unit D etc.
    Can someone please guide how to achieve this?
    Regards,
    Sanjay

    Hi
    You can get this reports by following T.Codes:
    1. S_ALR_87013343    :  Profit Center Receivables
    2. S-ALR_87013344     :  Profit Center Payables
    3. S_ALR_87013336    :   Profit Center Group: Balance Sheet Accounts

  • Error in Return STO Process(Plant to Plant within company code)

    Hi All,
    I am doing the return STO Process(Plant to Plant within same company code) .
    Scenario:
    STO from Plant 1300 to 1400
    STO Process: ME21N->VL10B->PGI-> VF01(Proforma)->MIGO
    Return STO from Plant 1400 to 1300
    STO Return Process: ME21N(item with return indicator)->MB01(MT 101 w.r.t Return STO PO)->VL10B->PGR(Error)
    It is giving me the following error.
    Deficit of PU GR quantity 5 KG : 20027183 1330 2000 16
    Message no. M7021
    Kindly help me
    with regards
    Azeez.Mohd

    Dear,
       Please go through this link,
        [Deficit of PL Stock in transfer 10 EA : 100100051 IBM2;
        [Accept material in MIRO without any limitation?;
        [migo-return delivery-credit memo;
    Regards,
    Sandip

  • : Role Security within Company Code at Profit Center Level

    Can someone explain how to restrict GL transaction processing within a company code, below the company code level, at a Divsion / Branch level at the profit center level for ECC6 via user authorizations in FI GL roel security?

    Hi,
    Create Authorization Objects for the branch/ division containing the User ids and mention in the role.
    Thanks
    VK

  • Subcontracting within company code

    Hi
    We have scenario of subcontracting as follows
    We have two plants in SAP one is  Manufacturing Plant (1001) &
    other is Power Plant (1009)
    Plant 1001 is having excise registration & 1009 is not excise
    registered. We are supplying coal which is excisable from 1001 to
    1009 as a raw material & receiving power from Power plant as finish
    product. But in SAP how can we achieve this. Following are some doubt
    regarding the same
    1. Subcontracting from one plant to another plant is not accepting
    in PO
    (Massage is coming: Subcontracting as stock transfer within a company
    code not possible
    Message no. ME645)
    2. How we can send material from one plant to another plant fro
    subcontracting
    3. What will be the behavior of inventory of COAL in power plant
    in case of Valuation & Costing of Power?
    4. How the costing of Power will be done
    5. If we create Power plant as different vendor rather than plant
    vendor , how power plant will receive material & effect of the same
    in inventory & costing of power
    6. Also business want to create subcontracting challan & other
    legal documents
    Is there in other Work around solution for the same
    Please provide suggestions on the same
    Regards

    Hi Advait,
    I have the following to share regarding your scenerio.
    1] Create the power plant as Jobwork Vendor.
    2] You will supply the coal to this Jobwork vendor against 57f4 document(Jobwork basis).
    You can also use MoT 541 and 542
    3] Power plant(Jobwork vendor) will receive this coal as a Non-Valuated materail. He will receive the coal on a UNBW material code.
    4] Power plant can easily consume this coal against the power generated.
    5] Definitely there will be a mechanism with you to measure how many power you have received from the power plant.
    6] Power plant will charge only labour charges against the power provided to your plant as he has already consumed your coal to generate this power.
    7] In this way the coal at your end will be valuated for you but simultaneously non-valued for power plant.
    I think this is what your management requires.
    Hope this will help you.
    Best Regards,
    Amol

  • Delete G/L Accounts for one company code when transaction data exists

    SAP transaction OBR1 can be used to reset transaction data.
    If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
    But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
    If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
    There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
    Thank you very much for your feedback.
    Edited by: E. Deleu on Mar 3, 2008 3:42 PM

    Helllo,
    I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
    Regards,
    Christoffer

  • Adding "Sending company code" to Transaction FCHN

    Hi,
    We would like to add a column "Sending company code" to the report out of transaction FCHN. The info for this column is present in REGUH-ABSBU. Is there anyway this could be done without copying the standard program into a custom program and modifying it.
    Any help will be appreciated.
    Thanks,
    ALAM.

    Hi
      I believe you would need an exit cause, FCHN is feed from table PAYR, and in taht table you don t have the sending company code field
    Regards
    Jose

  • Set up Payment Methods Per Company code for Transaction

    Hi All,
    Can any expert please suggest whether do we need to enter only paying company codes while defining the payment methods per company code or enter all company codes.
    Ex: We have 10 company codes for which there are 3 paying company codes. After defining the payment methods in the country, while defining payment methods per company code do we need to define for only 3 paying company codes or for all 10 company codes. Because when you are paying through one company code on behalf of three company codes, how does it make sense having the payment method in company codes which are not paying. I hope my query is sensible.
    Thanks&Regards
    Srinivas

    Hi,
    You should define the payment method in all the 10 company codes regarding they are the paying or non paying company code.
    If you are not defining them they you will not have the option to select the payment for that particular company code.
    regards
    pbb

  • Adding Company code to Transaction KP90.

    Hi Experts,
    Is it possible to add company code on the selection screen of KP90 and then clear the plan data based on the company code value entered?
    Please let me know if this is possible.
    If yes, then few hints will be of great help.

    Hi
      I believe you would need an exit cause, FCHN is feed from table PAYR, and in taht table you don t have the sending company code field
    Regards
    Jose

  • Stock Transfer Report from Plants within company code

    Dear SAP Experts,
    We have posted nearly 50 MIGO of stock transfer from our different plants within the same co. code since last 45 days. Now we want to take report of all stock tranfer receipt in our plant. (Like MIGO No. date, material code qty supplying plant etc.)
    Is there any standard T-code like MB51 which can give us the desired information. As in T-code MB51 there is no option to select supplying plant.
    Full Points if helped.
    Thanks in Advance.
    Ishu

    Hi Ishu,
              Go to SE16 enter the table EKKO or EKPO press enter it will take you to selection screen there you click on settings --> Format list --> Chooge fields , system will take you to all the fields avail in EKKO or EKPO there you click on deselect icon then you select fields Purchase doc,date ,Material,Qty and supplying plant then click on copy, system will take you to the previous screen there you click on excute icon.
    I hope it will full fills your requirement
    Regards,
    Murali.

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

  • Excise asset tranfer from one plant to another within the company code

    Hi All,
    Please provide me the procedure how to transfer an asset from one plant to another.
    The asset is an excisable pls provide the process for accounting in SAP for movement of FA on which we have taken excise duty and further we have to pay duty on removal of FA
    Edited by: siva prasd on Oct 19, 2011 7:11 AM

    Dear,
    Please check: Re: asset transfer within company code from one plant to another using STO
    Re: how to transfer  an asset from one plant to another plant within comp code
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/asset-transfer-237416
    Regards,
    Syed Hussain.

  • No Company Code Track in Inter Company Code Transactions

    Hi,
    When we post an inter company code transaction system generates two documents in Both company codes involved in the transaction and an internal auto generated cross company code document number. But when i view these documents i am unable to see from which company receivable is standing and two which company payable is standing. it only shows in which company code the transaction was posted but no information is being provided against line item so that we can see on which company behalf have we booked or paid the expense. we are posting inter company code transaction through f-02. is there any other specific transaction code for this? or any report or any other way to view how much from which company is recyclable/Payable standing? please also not that we are using two different g/l for inter company receivable and payable.
    Regards,

    hi ,
    Can you please post the screen shot of one of those document . IF i am not wrong you want to know that  in which company ocde it posted . YOu can  find out from the Number range and then Comapny code in Docuemnt number .( In this Trading Partner poplauted Automatically) So definately you need Tranding partner  to do intercomapny reconciliation
    IF you have Cross comapny code Transaction you will have cross comapny  docuemnt number in FB03 as below which you can see in FBU3 .
    Sometime  you do not post Cross company transaction but you post in Individual companies with trading Partner .
    in this case there will not be any cross company document .. Please check your OBYA configuration and check which GL code you have defined and whether you have maintaned the config tfor that

Maybe you are looking for