Conversion of 2 different material codes into 1 material code for STO?

Hello All,
A pleasant day to you all.
I have a business scenario and I would want to get opinions on the feasibility of implementing it.
The scenraio is that the country have a new tax regulation (they call it BOI) so that when a material or product is created on a certain machine, the tax is reduced. Therefore, if there is an exactly the same product that is created from different machines, it will incur different taxes.
So, since the business has 2 company codes (i.e. Company A and Company B), the scenario would be company A will be creating 2 different material codes for this so they can track BOI products from non BOI products. But Company B on the other hand, would like to use the same material code to reduce complication. With this, Company A will then produce and do transactions using 2 different material codes then when PO STO is created (to transfer stock to Company B), Company B would like that those material codes from Company A would somehow (be automatically) converted into 1 material code on Company B's side. Is this possible? If so, how can we do that? what are the required set up to do this?
Thank you very much. Your response and opinioin would be greatly appreciated.
Best regards,
Lee

Hello Jürgen L.
Thank you very much for your kind attention and reply.
So with this, it's really not possible to do that requirement? There's really no way?
Thank you very much.
Best regards,
Lee

Similar Messages

  • How to transform this pascal code into java code!

    I want to transform this pascal code into java code . Please tel me how to do it because I really don't know how to do it!
    Thanks!
    {CALCULATE HOHN-LONDON FACTORS}
    var kk:tab4;
    PROCEDURE INTENS(var kk:tab4);
    begin
    for n:=0 to nr+2 do
    begin
    kk^[1,n]:=sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1)) +lup*(yg-2);
    kk^[2,n]:= sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1))-lup*(yg-2);
    kk^[3,n]:=0.5*(kk^[1,n]*kk^[1,n]+4*(sqr(n+1)-lup*lup));
    kk^[4,n]:= 0.5*(kk^[2,n]*kk^[2,n]+4*(sqr(n+1)-lup*lup));
    kk^[5,n]:= sqrt(ldown*ldown*yd*(yd-4)+4*sqr(n+1)) +ldown*(yd-2);
    end;
    end;
    BEGIN
    new (kk);
    intens(kk);
    writeln(f2,' ','N ','V','branch ','H-L');
    for n:=1 to np do
    begin
    fp1[n,v]:=(n-ldown)*(n+ldown+1)*sqr(kk^[2,n-1]*kk^[6,n]+4*(n+ldown)*(n-ldown+1));
    fp1[n,v]:=fp1[n,v]/(4*(n+0.5)*kk^[4,n-1]*kk^[8,n]) ;
    writeln(f2,' ',n,' ',v,' fp1 ',fp1[n,v]:10:2);
    end;
    for n:=1 to nq do
    begin
    fq1[n,v]:=sqr(kk^[2,n]*kk^[6,n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)) ;
    fq1[n,v]:=fq1[n,v]/(2*(n+0.5)*kk^[4,n]*kk^[8,n]*(n+1.5));
    fq1[n,v]:=fq1[n,v]*(n+1);
    writeln(f2,' ',n,' ',v,' fq1 ',fq1[n,v]:10:2);
    end;
    for n:=1 to nr do
    begin
    fr1[n,v]:=sqr(kk^[2,n+1]*kk^[6,n]+4*(n-ldown+2)*(n+ldown+1));
    fr1[n,v]:=fr1[n,v]/(4*kk^[4,n+1]*kk^[8,n]*(n+1.5));
    fr1[n,v]:=fr1[n,v]*(n-ldown+1)*(n+ldown+2) ;
    writeln(f2,' ',n,' ',v,' fr1 ',fr1[n,v]:10:2);
    end;

    Basically it looks like this:
    public class KK{
         private your_type[][] kk = new your_type[length][length];
         private void intens(your_type[] kk){
              for(int n= 0; n<nr+2; n++){
                   kk[1][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2)) +lup*(yg-2);
                   kk[2][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2))-lup*(yg-2);
                   kk[3][n] = 0.5*(kk[1][n]*kk[1][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[4][n] = 0.5*(kk[2][n]*kk[2][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[5][n] = Math.sqrt(ldown*ldown*yd*(yd-4)+4*Math.pow((n+1), 2)) +ldown*(yd-2);
         public static void main(String args[]){
              KK k = new KK();
              k.intens(kk);
              System.out.println(f2  + ' ' + 'N ' + 'V' + 'branch ' + 'H-L');
              for(int n=1; n < np; n++){
                   fp1[n][v] = (n-ldown)*(n+ldown+1)*Math.pow((kk[2][n-1]*kk[6][n]+4*(n+ldown)*(n-ldown+1)), 2);
                   fp1[n][v] = fp1[n][v]/(4*(n+0.5)*kk[4][n-1]*kk[8][n]) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fp1 ' + fp1[n][v]:10:2);
              for(int n=1; n< nq;n++){
                   fq1[n][v] = Math.pow((kk[2][n]*kk[6][n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)), 2);
                   fq1[n][v] = fq1[n][v]/(2*(n+0.5)*kk[4][n]*kk[8][n]*(n+1.5));
                   fq1[n][v] = fq1[n][v]*(n+1);
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fq1 ' + fq1[n][v]:10:2);
              for(int n=1; n < nr; n++){
                   fr1[n][v] = Math.pow((kk[2][n+1]*kk[6][n]+4*(n-ldown+2)*(n+ldown+1)), 2);
                   fr1[n][v] = fr1[n][v]/(4*kk[4][n+1]*kk[8][n]*(n+1.5));
                   fr1[n][v] = fr1[n][v]*(n-ldown+1)*(n+ldown+2) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fr1 ' + fr1[n][v]:10:2); //fr1[n][v]:10:2 --> Here you must use the BigDecimal class
    }I'm not very sure because my pascal knowledge is extremely "dated".
    What about the converter I told you about?

  • Converting .rpt file code into Perl code

    Hi All,
    I have some .rpt file which contains the following code to generate the report in Oracle
    .declare booking_no a13
    .declare line_code a10
    .declare line_booking a12
    .declare book_date a11
    .declare taken_by a10
    .declare ud a10
    .declare ship_name a40
    .declare ship_addr1 a40
    .declare ship_addr2 a40
    .declare ship_addr3 a40
    .declare ship_cont a20
    .declare ship_phone a20
    .declare ship_ref a20
    .declare fwdr_name a40
    .declare po_no a20
    .declare vessel_name a25
    .declare voyage a10
    .declare etd_origin a11
    .declare sail_date a11
    .declare origin_name a20
    .declare load_name a20
    .declare disch_name a20
    set page_no 1
    .set first "N"
    .set no_more_clauses "N"
    .declare dest_name a20
    .declare disch_code a4
    .declare dest_code a4
    #dt 1 1 80 #
    #dt 2 1 6 9 48 50 61 63 76 80 80 #
    #dt 3 1 13 15 34 36 40 42 56 58 62 64 74 75 79 #
    #dt 4 1 13 15 49 53 64 66 80 #
    #dt 5 1 15 18 52 #
    .define lock_tables
    lock table booking_table, booking_hazmat, custdata2, edit_table,
    booking_rates, printer_table in share update mode
    .define get_input
    select passkey, '//FAX(fax=' || passkey1, passkey2,
    passkey3, passkey4, printer_name
    into input_booking_seq, fax_header, file_no,
    input_print_rates, myNoteId, printer_name
    from edit_table
    where edit_table.tag = 'BOOKING'
    and edit_table.key = 'PRINT'
    and edit_table.user_id = user
    .define get_user_info
    select user_location,user_name, user_company, &fax_header || ';style=' || letterhead,
    fax_printer, nvl(fax_yn,'N')
    into user_location, user_name, user_company, fax_header, fax_printer, fax_yn
    from security_header
    where user_id = lower(substr(user,5,10))
    .define get_fax_printer
    select &fax_header || ';print = Confirm;printer = ' || &fax_printer || ')'
    into fax_header
    from dual
    .define printMsg
    .execute formatMsg
    .if "&myNote = 'N/A' " then skipMyNote
    .print myNote
    .&skipMyNote
    .if "&myNoteExt = 'N/A' " then skipMyNoteExt
    .print myNoteExt
    .&skipMyNoteExt
    .add line_count line_count 9
    .execute lock_tables
    .execute get_input
    .execute printer_controls
    .execute get_top
    .execute get_user_info
    .execute get_user_office
    .rem --------- this section is added to print bookings by file -------
    .ifnull file_no skip_by_file
    .report get_lots file_loop
    .goto skip_to_end
    .&skip_by_file
    .rem ------------------------------------------------------------------
    .if "&fcl_lcl = 'F' " then ck_fcl
    .execute adjust_letterhead_lcl
    .goto skip_over_fcl
    .&ck_fcl
    .execute adjust_letterhead_fcl
    .&skip_over_fcl
    .if "&fax_yn = 'N' " then skip_confirm
    .execute get_fax_printer
    .goto skip_to_booking
    .&skip_confirm
    .execute set_no_confirm
    .&skip_to_booking
    .print_info
    I need to code to create a generic parser which actually convert the above code in a .rpt file into perl code and then finally the perl code could generate the report ...
    Please help me out for this to process and suggest me if there is any parser module available for that ....
    Shelley

    Is this topic is very new to all programmers????
    Or is it a fake topic to ask???

  • Converting CPP code into JAVA Code

    i have made a cpp file that is running fine... is ther a tool which can convert that cpp file into java file easily?

    No

  • Split the material cost into labor and overhead costs

    Hello Experts,
    We get Finished Goods from another plant and that plant is not on SAP. So we load these materials as Finished Goods and enter the price in the costing tab and we do run cost estimates. In the cost estimate we see this price as material cost. How can we split this material cost into material + labor + over head costs? Is there anywhere we can enter the percentages that would split the total price into material and labor and overhead prices? I appreciate your time and response.
    Thanks In Advance

    HI Venkat,
    You can only split material cost using origin groups and not into material, labour & OH as you may know the cost components are grouping of cost elements (with an option to use origin groups).
    If this is too important for you to maintain that cost component split, then I see the only way is to consider maintaining quantity structure in SAP for the finished product, so that cost roll up happens with cost components.
    Hope this helps.

  • Copy HTML Code into DW?

    In CS6 I create a simple rectangle and increase the roundness of the rectangle. I then select the shape and choose edit > copy HTML code and I open Dreamweaver CS6 and paste the code into the code window. I thought it was supposed to write code to replicate the shape I created in FW, though instead it is just referencing a graphic of the shape I made in FW that was exported. What did I do wrong?
    Thanks.

    Use the CSS Properties panel, not Edit > Copy HTML Code.
    Create the rectangle
    Make sure it's selected
    Open the CSS propreties panel
    Click the Copy All button
    Go to Dreamweaver
    Create a Div and apply a class to the div
    Create a CSS class and within the rule, press Ctrl or Command + V to paste the CSS properties from Fireworks.
    Refresh the page (and switch to Live View) and you should see the rectangle, with all the supported visual properties, displayed using CSS.
    HTH

  • Releasing codes of  a user for MM

    Hi masters,
    i have requirment on me29n..when a person creates a purchase orders he ( creater of the PO ) Should not release it.
    i am implimenting one of the user exits and my concern here is
    where do i find the releasing codes of this USER who is tryiing to RELEASE it?
    in which table will i get the releasing codes or is their any FM?
    hope am clear...
    thank you,
    pasala.

    Hi Basker,
    *EBELN  ERNAM FRGGR
    SELECT EBELN  ERNAM FRGGR
              FROM EKKO "Purchasing Document Header
              INTO TABLE IT_EKKO
              WHERE  "YOUR OWN CONDITION"
    *FRGGR    FRGCO
    SELECT FRGGR FRGCO
                  FROM T16FW: "Assignment of Role to Release Code
                  INTO TABLE IT_T16FW
                  FOR ALL ENTRIES IN IT_EKKO    
                 WHERE  FRGGR = IT_EKKO-FRGGR.
    The value of FRGCO is the release code for that user.
    Try it out, or
    You can use the BAPI_PO_RELEASE
    Thanks
    Sri

  • Please help me how to check a material does existed group code in system (w

    Hi all,
    Please help me...
    I have inputted quantity for  tx MC 94  but when I input them into  tx MC94, I met  a message " Structure  not yet maintained for  this conbination characterstics". Step by step to show a error message as below:
    Step 1: Launch MC 94
    step 2: Enter Planning
    Step 3: Enter  Prod.Code. Material (ex: enter material code :0101010260008, this code is existed  Prod.Code )
    Step 4: Click on "Inactive Version " button
    ==> A error message is showed.
    Please help me how to check a material does existed group code in system (which table to  check  it)?
    How to record the message" Structure  not yet maintained for  this conbination characterstics" to catch up it in my program?
    Thank in advance.

    Karenloria,
    1. Check in MC8C, which Infostructure is used for Planning type "Planning" or the one you are entering in the intial screen of MC94.
    2. Using transaction MC63 for the infostructure identified in step 1, check the planning hierarchy maintained. If this product is not maintined maintain using MC62.
    You can also check using SE16 transction the current infostructe records(Plan) for the table name = infostructure identified in step 1.
    Regards,
    Prasobh

  • Interactive ALV to report to get into Material Master Sales View

    Hi,
    I want to know way to get into Material master Sales view from an Interactive ALV report.
    In the output we have (custom report for Sales) the Sales Order item information. If the user double clicks on the material, it should directly goes to the Material Master Sales org 1 view. I can able to get to MM03 initial screen to display the list of views, but it would be better we can use the Plant, Sales Org and plant info from Sales Item to get into the material master Sales view.
    I checked that this functionality is there in the standard code. If you double click on the material in Purchase order display(ME23N) from the item level, it is directly getting into Material Master Purchasing view. Is there a way to achieve this.
    Your suggestions would be appreciated with points. Thanks!

    Hello,
    Yes, it's possible using the CALL TRANSACTION command with the addition AND SKIP FIRST SCREEN. The only thing that you need is to fill the fields from the first screen (SET PARAMETER command).
    DATA: carrid TYPE spfli-carrid,
          connid TYPE spfli-connid.
    SET PARAMETER ID: 'CAR' FIELD carrid,
                      'CON' FIELD connid.
    CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.
    Regards.

  • One material in two company codes

    How can we maintain one material in two company codes?

    Hi Gopala,
    We will be maintaining the Materila master to a particular Plant Level and Sales Organisation and Distribution channel.any way the Plant will be assinged to the Company code.
    In this Thread. Scenario Like Inter Company Stock Transfer one Material should be maintained both the Plants for which will be having Two Different Company Codes.
    Hope this Clear your Doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • How to Integrate new material group into COPA planning KEPM

    Hi Sap Guru's
    Please help me in Integrate new material group into planning
    The planning coordinator is informed that a new material group is to be marketed in the coming year and that this new material group should be included in planning. To generate a default plan value automatically for this new material group, the planning coordinator uses the planning method Copy. In the Transform characteristic values function, the necessary entries are then made so that the sales quantities for an existing, comparable material group are copied to the new material group.
    How can i do the above process...
    Thanks
    Sap Guru

    HI,
    create a new characteristic (KEA5), choose transfer from SAP-table (the tab. where your fiels is available in material master (MARA)), choose the field from the list of available fields from MARA, enter text, save, activate. Assign the char. to your op. concern. Generate the operating concern.
    Aftre this steps the field is in yopur operating concern and the derivation rule can be seen in T-Code KEDR (rule created by SAP automatically). If not, add a derivation rule in KEDR (table lookup).
    best regards, Christian

  • Tax Code in Material Master views

    Hi,
    I want to know in which view we can find the details of  "tax code " for the material in Material master views?.
    Also suggest me where else we can find the information of Tax Code for the given material.
    Thanks

    Hi,
    you cannot get the tax code in material master. In material master we mainatin tax releated information in Foregin trade import and to get that contaol data tab in material master you have to do some config.
    After mainatining the data in material master tax code is maintained in FV11 in case of taxinn and in case of taxinj tax releated data is to maintaiin in J1id and different tax code has to be created with the help of FTXP
    Plz let me know if any further information is required

  • Transfer material stock into another material

    hi
    I want to transfer the stock of one material into a new material,
    Is it possible? if yes then how? and is there any financial effect.
    thanks
    Pankaj Garg

    Hi Garg ,
    Transfer posting is done through MB1B T.Code which requires the necessary movement tyep
    Transferring the material stock into another Material uses the mvt type 309
    The quantity is posted from unrestricted-use stock of the issuing material into unrestricted-use stock in the receiving material
    Prerequisite: both materials have the same stockkeeping unit.
    Possible special stock indicators: E, O, Q, V, W 
    Hope this helps you out
    If found useful award accordingly
    Thanks & Regards
    Pavan

  • Different Campaign - Same keys / material / validity period is it possible?

    Hello All,
    We want to run two campaigns for different customers with same material / same validity and same discount condition.
    Web UI - Cannot create different campaigns for the same product with the same condition type in the same validity date.
    This is the error we are getting...
    Diagnosis
    The validity periods of records with the same semantic key (e.g. same price type, same organizational data, same product, and same customer) may not overlap. However, the system has found two records with overlapping validity periods.
    System Response
    Both records have a red status on the user interface, indicating that anerror exists. As these records are inactive, they will not be taken into account by any application (for example, sales order pricing).
    Procedure
    Change the validity periods of the records concerned such that they no longer overlap.
    Logically it makes business sense to have two different campaigns for same material and validity at the same time.
    We do not intend to introduce a customer key - as it becomes too cumbersome to maintain the records for n number of customers.
    Is there a setting in campaign management or somewhere else XCM etc etc to over-ride this some how.
    Please let me know if you need to see screen shots - I can provide them ... on request
    Good answers will be rewarded with points.....
    Thanks,

    Hello,
    Yes it will be possible, But you condition record should be based on customer/material.
    Regards
    Raja Pamireddy
    CRM Marketing forum Moderator

  • Table for finding rate based on part code and material

    Hi Experts
         I am an ABAP consultant with ltd knowledge on SD . Please tell me in which table  I can find the rate based on party code and material .

    Hi
    The standard table is A305. But usually these tables can be customized based on the requirement. So if you are aware about the Condition type for which this Price/Rate is maintained you can find the same in VK13.
    In transaction code VK13, maintain the condition type and click on "Condition information" icon. Now dont maintain any input date. Just click on Execute icon or F8. System will give the list of all the tables and data maintained based on the combination.
    Select the required table.In SE11, maintain this table with prefix as A. You can get all the required information.
    Regards
    Vamsi

  • Different Tax base in pricing procedure for a single sales order for different line item material.

    Hi,
    I have a scenario wherein in a sales order, for two different material, the tax base of pricing should get triggered on the basis of sold to party and the material entered at line item level.
    Logic triggers on the basis of Region of Customer & a unique field in the Material Master but problem comes in the calculation of Tax base as the sequence of condition type (from – to)  is already defined in the pricing procedure to pick from a particular step but in second line item the base is different i.e. the sequence of condition types that are maintained in pricing procedure should be different for Tax to calculate differently.
    Kindly suggest if the same can be handled in a single pricing procedure and dynamically taking care of condition type sequence through Alt Cal Base Formula, so far I’ve tried both Alt Cal Formula & Base but it is not working
    Client doesn’t want to go ahead by creating two different orders (through separate Pricing Procedure) for that. They want to have both materials in same order.
    Kindly suggest a suitable way to handle this scenario.
    Regards,
    Aashika Agarwal

    Hi,
    Click on the ''check availability'' button at item overview and then click on ''One-time delivery'' on the top. This will ensure that you will have only one delivery for whatever quantity is confirmed on that date.
    If you want to apply this rule for all orders across a sales area, then you can do the below configuration step :
    SPRO->sales and distribution->basic functions->availability check with ATP logic->Define default settings-> Here in avail. checking rule select A (one time delivery). This will ensure that all orders created for a particular sales area will have only one delivery.
    Hope this helps.
    Regards,
    Palani

Maybe you are looking for

  • Photoshop adds a stroke to my text -- bug?

    Good afternoon! I have several Photoshop CS3 files that are exhibiting a strange problem.  This symptop ONLY happens when I create a new text layer in one of these files. I create a new text layer and type some text.  Then when I select part of the t

  • How can I get the key list in ......

    The code such as UIManager.getColor("Table.selectionForeground") can get the default color of swing components,however,how I can get the key list on a swing component? Thanks a lot!

  • RRI Jump

    Hello We have created a RRI through RSBBS transaction We have mentioned the Infosource and transaction to go For  the costcenter report we have mentione dthe transaction KSB1 through RSBBS I ran the query and tried to GO tO - transaction KSB1 , its n

  • Upload nightmare DW CS4

    The files in the last folder I have updated are uploaded to root overwriting identical named files in root (fx index.html). I have tested on several servers. I select the folder I want to upload, including the files in root, and drag them over to rem

  • InfoPackage Variable Selection

    Hi Everyone, I have FiscPer as a selection in my InfoPackage.  I choose Type '5' and inputted the following: From Value 2006001 To Value   2006001 Next Periods from Value 2006002 Period Indicator 1 Number of periods until repitation 12 I ran this tod