Add sub number prefix/suffix to main material number

Hi,
I would like to know how to solve the below scenario:-
I have one material number: Mineral Water with different brands as below:-
Borneo
Spring
ABC
How should I configure the above materials in SAP to differentiate the different brand?
Pls help asap.
Thanks & regards,
Loi

Dear Loi,
Pl go to configurations(SPRO)
use split valuation active and
congigure split valuation .
The materail types: Borneo,Spring and ABC are the three valuation types for the valuation category"z or y"for mineral water.
The valuation types are to to assigned with the same acc.assign catergory as that the mineral water material type.
The valuation category is to activated for the plant you are using.
Then create material Mineral water for your plant and assign "z or Y" valuation category in the accounting view1.
subsequently , again create mineral water with valuation types:
Borne,spring and ABC.
this way you can split valuate the material Mineral water.
If you are satisfied pl award marks.
Bye.

Similar Messages

  • Re: EAN number should be substituted by material number

    Hi all,
    I am having a r/3 ecommerce scenario.
    I have a requirement that when a customer enters EAN number for a material in frontend , the material should be determined automatically.
    I have mantained the material determination record accordingly in r/3 and when I am creating a order in r/3 and entering the EAN number in material field, it automatically substitutes the EAN with the material maintaied in  condition record.
    What settings do I do , so that the same works in frontend?
    Thanks and regards,
    Nilesh

    Like this?
    SELECT TO_CHAR(123456123.122234,'FM999,999,999.000009')  FROM DUAL;
    123,456,123.122234

  • Getting Batch from Packaging material Number (Batch characteristics)

    Hi Gurus,
    I've a requirement.
    i want to know the batches where the packaging material is used.
    Packaging material is one of the batch characteristics, if i assign the same packaging material number in one batch, that should not be assigned to another batch.
    I want to know in which batches the same packaging material is assigned.
    Please guide me?? which table has the links for batch, packaging material number and main material number???
    How can i find this???
    Thanks in advance.
    Adi.

    we can use the MMCL transaction/BMBC to see this.
    In MMCL we have a FM to get the Data.

  • Find Sales Order Number for teh combination of material and serial number

    HI Friends,
    Can you please tell me how do i find out the sammes order number for a combination of material number and serial number. I need to make technical specs for this. Can you guys help me give soem idea !
    Thanks in advance for your help !

    Hello Mike
    If i'm  not wrong , as per  my understanding   you can't find the  combination at sales order level , as serial no will  come into picture in delivery level  only  .
    so plz  find  some  other  way ,
    hope this will give  you some input 
    Regards
    Venkat

  • Unknown material number in POSDW

    Hi
    I'm trying to post data via idoc wpubon, i'm using the EAN number, in the pos workbench, the ean number is converted into the material number, but i'm getting the message 'Unknown material number' , ¿Why i have this error?.
    The 0material, 0rpa_mean, 0rpa_mearm are loaded...
    Thanks!

    Could it be a timing issue where the material number hadn't been created by the time you extracted the materials from the source system and was then created by the time to extracted the EAN?

  • Sales material number on PO

    In the 3rd party process:
    We receive a PO from our customer and create a sales order.
    The customer requests material number "CNxxx" (CN from customer material number)
    The sales order creates a purchase requisition.
    We convert the PR to a purchase order to an external supplier which delivers directly to our customer.
    We order "ONxxx" (ON from Our material Number)
    We also supply the "SNxxx" (Supplier material Number) which is being taken from the info record / contract.
    How do we get the CNxxx on the PO to the external supplier so that they can refer to that number if they deliver the goods?
    Thanks!
    Peter

    Lets try this
    This you can cover with manufacturing part number (MPN) scinario. it is avalible in standerd SAP.
    go through below link of SAP help for more details
    http://help.sap.com/saphelp_dimp50/helpdata/En/5b/da1f604caf11d2b437006094b9c9be/content.htm
    I'll brief it a bit.
    Make a HERS material CNxxx which will have ref. of your  ONxxx matrial ref. and PO will be raised with matrial code made in material type HERS.
    Now delivery will not be concern. and in your system the accounts will be settel under material code ONxxx.
    Rgds
    S

  • Need to get the production order by inputting Material number and serial no

    Hi Experts,
    I have material number and serial number . All I need is PRODUCTION ORDER number.
    Can any one give the table joints for that ?
    Thanks,
    Koya.

    hai check this code.. similar req:
    REPORT z_so_info.
    TABLES: vbak, vbap, afko, afpo.
    *Field catalog
    TYPE-POOLS: slis.
    DATA: lv_repid TYPE sy-repid VALUE sy-repid,
    xfield TYPE slis_t_fieldcat_alv,
    afield TYPE slis_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(25) text-002.
    SELECT-OPTIONS: so_so FOR vbak-vbeln OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
    PARAMETERS:
    p_kunnr LIKE vbak-kunnr, " sold-to
    p_kunwe LIKE vbak-kunnr. " ship-to
    SELECTION-SCREEN END OF BLOCK b2.
    *Constants
    CONSTANTS: c_zor TYPE vbak-auart VALUE 'ZOR',
    c_we TYPE vbpa-parvw VALUE 'WE',
    c_ag TYPE vbpa-parvw VALUE 'AG'.
    * c_space TYPE space.
    *Ranges
    RANGES: ra_parvw FOR vbpa-parvw,
    ra_kunnr FOR vbpa-kunnr.
    *Tables
    DATA: BEGIN OF gt_output OCCURS 0,
    vbeln LIKE vbak-vbeln, " sales order number
    posnr LIKE vbap-posnr, " SO item number
    matnr LIKE vbap-matnr, " material number
    sh LIKE vbpa-kunnr, " Ship-to
    sp LIKE vbpa-kunnr, " Sold-to
    lifnr LIKE ekko-lifnr, " Vendor
    bstnk LIKE vbak-bstnk, " PO number
    banfn LIKE vbep-banfn, " Purchase requi
    po_st TYPE char30, " PO status text
    pstyv TYPE vbap-pstyv, " Item catagory
    aufnr LIKE afpo-aufnr, " Production Order
    prd_stat TYPE string, " Prd order status
    END OF gt_output.
    DATA: wa_output LIKE gt_output.
    FIELD-SYMBOLS: <fs_output> LIKE gt_output.
    *Table for sales order and PO
    TYPES : BEGIN OF gs_data,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    pstyv TYPE vbap-pstyv,
    matnr TYPE vbap-matnr,
    END OF gs_data.
    DATA: gt_data TYPE STANDARD TABLE OF gs_data,
    wa_data TYPE gs_data.
    *Table for Production Orders
    TYPES: BEGIN OF gs_prd,
    aufnr TYPE afpo-aufnr,
    posnr TYPE afpo-posnr,
    kdauf TYPE afpo-kdauf,
    kdpos TYPE afpo-kdpos,
    wepos TYPE afpo-wepos, "Goods Receipt Indicator
    elikz TYPE afpo-elikz, "Delivery Completed Indicator
    objnr TYPE aufk-objnr, "Object number
    * getri TYPE afko-getri, "Confirmed Order Finish Date
    * gltri TYPE afko-gltri, "Actual finish date
    END OF gs_prd.
    DATA: gt_prd TYPE STANDARD TABLE OF gs_prd,
    wa_prd TYPE gs_prd.
    *Table for partner data
    TYPES: BEGIN OF gs_partner,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    parvw TYPE vbpa-parvw,
    kunnr TYPE vbpa-kunnr,
    END OF gs_partner.
    DATA: gt_partner TYPE STANDARD TABLE OF gs_partner,
    wa_partner TYPE gs_partner.
    TYPES: BEGIN OF gs_po,
    ebeln TYPE ekkn-ebeln,
    ebelp TYPE ekkn-ebelp,
    vbeln TYPE ekkn-vbeln,
    vbelp TYPE ekkn-vbelp,
    END OF gs_po.
    DATA: gt_po TYPE STANDARD TABLE OF gs_po,
    wa_po TYPE gs_po.
    TYPES: BEGIN OF gs_preq,
    vbeln TYPE vbep-vbeln,
    posnr TYPE vbep-posnr,
    banfn TYPE vbep-banfn,
    END OF gs_preq.
    DATA: gt_preq TYPE STANDARD TABLE OF gs_preq,
    wa_preq TYPE gs_preq.
    TYPES: BEGIN OF gs_po_stat,
    ebeln TYPE ekko-ebeln,
    procstat TYPE ekko-procstat,
    lifnr TYPE ekko-lifnr,
    END OF gs_po_stat.
    DATA: gt_po_stat TYPE STANDARD TABLE OF gs_po_stat,
    wa_po_stat TYPE gs_po_stat.
    *Field symbols
    FIELD-SYMBOLS: <fs> TYPE tj02t-txt04,
    <fs_temp> TYPE tj02t-txt04,
    <fs_stat> TYPE char30.
    START-OF-SELECTION.
    PERFORM fr_build_range.
    PERFORM fr_get_data.
    PERFORM fr_build_fc.
    PERFORM fr_output.
    *& Form fr_get_data
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_get_data.
    *Get SO
    SELECT a~vbeln a~posnr a~pstyv a~matnr
    FROM vbap AS a
    JOIN vbak AS b
    ON a~vbeln = b~vbeln
    JOIN vbpa AS c
    ON b~vbeln = c~vbeln
    INTO TABLE gt_data
    WHERE b~vbeln IN so_so
    AND b~auart EQ c_zor "Only Sales Orders
    AND c~kunnr IN ra_kunnr. "from selection screen
    DELETE ADJACENT DUPLICATES FROM gt_data COMPARING vbeln posnr.
    *get data of the production order
    IF NOT gt_data[] IS INITIAL.
    SELECT a~aufnr a~posnr a~kdauf a~kdpos a~wepos a~elikz
    b~objnr
    FROM afpo AS a
    JOIN aufk AS b
    ON a~aufnr = b~aufnr
    INTO TABLE gt_prd
    FOR ALL ENTRIES IN gt_data
    WHERE a~kdauf EQ gt_data-vbeln
    AND a~kdpos EQ gt_data-posnr.
    ENDIF.
    *Get partner data
    IF NOT gt_data[] IS INITIAL.
    SELECT vbeln posnr parvw kunnr
    FROM vbpa
    INTO TABLE gt_partner
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln.
    ENDIF.
    *Get Purchase Order
    IF NOT gt_data[] IS INITIAL.
    SELECT ebeln ebelp vbeln vbelp
    FROM ekkn
    INTO TABLE gt_po
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND vbelp EQ gt_data-posnr.
    SELECT vbeln posnr banfn
    FROM vbep
    INTO TABLE gt_preq
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND posnr EQ gt_data-posnr.
    ENDIF.
    IF NOT gt_po[] IS INITIAL.
    SELECT a~ebeln a~procstat a~lifnr
    FROM ekko AS a
    JOIN ekpo AS b
    ON a~ebeln = b~ebeln
    INTO TABLE gt_po_stat
    FOR ALL ENTRIES IN gt_po
    WHERE b~ebeln EQ gt_po-ebeln
    AND b~ebelp EQ gt_po-ebelp.
    ENDIF.
    *Move data to output table
    LOOP AT gt_data INTO wa_data.
    wa_output-vbeln = wa_data-vbeln.
    wa_output-posnr = wa_data-posnr.
    wa_output-pstyv = wa_data-pstyv.
    wa_output-matnr = wa_data-matnr.
    READ TABLE gt_po INTO wa_po WITH KEY vbeln = wa_data-vbeln
    vbelp = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-bstnk = wa_po-ebeln.
    READ TABLE gt_po_stat INTO wa_po_stat WITH KEY ebeln = wa_po-ebeln.
    IF sy-subrc EQ 0.
    wa_output-lifnr = wa_po_stat-lifnr.
    CASE wa_po_stat-procstat.
    WHEN '01'.
    wa_output-po_st = 'Version in process'.
    WHEN '02'.
    wa_output-po_st = 'Active'.
    WHEN '03'.
    wa_output-po_st = 'In release'.
    WHEN '04'.
    wa_output-po_st = 'Partially released'.
    WHEN '05'.
    wa_output-po_st = 'Released Completely'.
    WHEN '08'.
    wa_output-po_st = 'Rejected'.
    ENDCASE.
    ENDIF. "inner read subrc
    ENDIF. "outer read subrc
    READ TABLE gt_preq INTO wa_preq WITH KEY vbeln = wa_data-vbeln
    posnr = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-banfn = wa_preq-banfn.
    ENDIF.
    READ TABLE gt_prd INTO wa_prd WITH KEY kdauf = wa_data-vbeln
    kdpos = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-aufnr = wa_prd-aufnr.
    *get the purchase requisition for production order as well
    SELECT SINGLE banfn
    FROM ebkn
    INTO wa_output-banfn
    WHERE aufnr EQ wa_prd-aufnr.
    *Get the status of the production order
    PERFORM fr_get_prd_stat USING wa_prd-objnr
    CHANGING wa_output-prd_stat.
    ENDIF. " sy-subrc
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_we.
    IF sy-subrc EQ 0.
    wa_output-sh = wa_partner-kunnr.
    ENDIF.
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_ag.
    IF sy-subrc EQ 0.
    wa_output-sp = wa_partner-kunnr.
    ENDIF.
    APPEND wa_output TO gt_output.
    CLEAR: wa_data, wa_prd,wa_partner,wa_output.
    ENDLOOP.
    ENDFORM. " fr_get_data
    *& Form fr_build_range
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_range .
    *Range for partner function
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SH' TO ra_parvw-low. " we
    APPEND ra_parvw.
    CLEAR ra_parvw.
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SP' TO ra_parvw-low. " ag
    APPEND ra_parvw.
    CLEAR ra_parvw.
    *Range for ship-to and sold-to
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunnr TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunwe TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    ENDFORM. " fr_build_range
    *& Form fr_build_fc
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_fc .
    * sales order number
    afield-fieldname = 'VBELN'.
    afield-seltext_s = 'Sales #'.
    afield-ref_tabname = 'VBAK'.
    APPEND afield TO xfield. CLEAR afield.
    * sales ITEM number
    afield-fieldname = 'POSNR'.
    afield-seltext_s = 'Item #'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    * Material Number
    afield-fieldname = 'MATNR'.
    afield-seltext_s = 'Material #'.
    afield-ref_tabname = 'VBAP'.
    afield-outputlen = 10.
    APPEND afield TO xfield. CLEAR afield.
    *Vendor Number
    afield-fieldname = 'LIFNR'.
    afield-seltext_s = 'Vendor Num.'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    * ship-to-party
    afield-fieldname = 'SH'.
    afield-seltext_s = 'Ship-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    * sold-to-party
    afield-fieldname = 'SP'.
    afield-seltext_s = 'Sold-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    *PO number
    afield-fieldname = 'BSTNK'.
    afield-seltext_s = 'PO NUM'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PO status
    * afield-fieldname = 'PO_STAT'.
    * afield-seltext_s = 'Step'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    *PO step status
    afield-fieldname = 'PO_ST'.
    afield-seltext_s = 'PO.Status'.
    afield-ref_tabname = 'zbacklog_v2'.
    APPEND afield TO xfield. CLEAR afield.
    *Purchase requisition
    afield-fieldname = 'BANFN'.
    afield-seltext_s = 'Pur. Req.'.
    afield-ref_tabname = 'VBEP'.
    APPEND afield TO xfield. CLEAR afield.
    *Item catagory
    afield-fieldname = 'PSTYV'.
    afield-seltext_s = 'Itm. Catg'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    *Prodcution Order number
    afield-fieldname = 'AUFNR'.
    afield-seltext_m = 'Prod.Order'.
    afield-ref_tabname = 'AFKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PRODCUTION status
    afield-fieldname = 'PRD_STAT'.
    afield-seltext_s = 'Prd. Step'.
    afield-ref_tabname = 'zbacklog_v2'.
    afield-outputlen = 20.
    APPEND afield TO xfield. CLEAR afield.
    *PRODUCTION step status
    * afield-fieldname = 'PRD_ST'.
    * afield-seltext_s = 'Prd. Status'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    ENDFORM. " fr_build_fc
    *& Form fr_output
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_output .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    * I_CALLBACK_PF_STATUS_SET = ' '
    * I_CALLBACK_USER_COMMAND = ' '
    * I_STRUCTURE_NAME =
    * IS_LAYOUT =
    it_fieldcat = xfield[]
    i_default = 'X'
    i_save = 'A'
    TABLES
    t_outtab = gt_output
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    ENDFORM. " fr_output
    *& Form fr_get_prd_stat
    * text
    * -->P_WA_PRD_OBJNR text
    FORM fr_get_prd_stat USING p_objnr CHANGING p_prd_stat.
    DATA: lt_status TYPE STANDARD TABLE OF jstat,
    wa_status TYPE jstat,
    lv_status TYPE tj02t-txt04,
    lv_temp2 TYPE char5,
    lv_buff TYPE string.
    CALL FUNCTION 'STATUS_READ'
    EXPORTING
    client = sy-mandt
    objnr = p_objnr
    only_active = 'X'
    TABLES
    status = lt_status
    EXCEPTIONS
    object_not_found = 1
    OTHERS = 2.
    LOOP AT lt_status INTO wa_status.
    IF wa_status-stat(1) EQ 'I'.
    SELECT txt04 FROM tj02t
    INTO lv_status
    WHERE istat EQ wa_status-stat
    AND spras EQ 'E'.
    ENDSELECT.
    lv_temp2 = lv_status.
    CONCATENATE lv_temp2 p_prd_stat INTO p_prd_stat
    SEPARATED BY ','.
    ENDIF.
    CLEAR: wa_status, lv_status, lv_temp2.
    ENDLOOP.
    lv_buff = p_prd_stat.
    *Status of Production Order
    IF lv_buff CS 'CRTD'.
    p_prd_stat = 'Not Active'.
    ENDIF.
    IF lv_buff CS 'REL'.
    IF lv_buff CS 'GMPS'.
    p_prd_stat = 'Printed In Prod'.
    ELSE.
    p_prd_stat = 'Printed'.
    ENDIF.
    ENDIF.
    IF lv_buff CS 'TECO'.
    p_prd_stat = 'Technically Compt.'.
    ENDIF.
    ENDFORM. " fr_get_prd_stat

  • Label printing via material Number

    Hi,
    Is there a standard transaction and program that can be modified to print a label via material number?
    The details to be printed on the label are:
    Material Number and Barcode (based on material number)
    Storage Bin
    Material Description
    Supplier name
    Manufacturer part number
    PO number and line item number
    GRN date

    For label printing, steps in transaction OMCF can be maintained.
    Output Type WEE1 uses sap print program  SAPM07DR.
    Can the following data fields be retrieved from this program:
    Material Number (MSEG-MATNR)
    Bin Number (MSEG-LGPLA)
    Material Description (Feed (MAKT-MATNR) Get (MAKT-MAKTX))
    Supplier Name: Feed (MSEG-MBLNR) get (MSEG-EMLIF)
    MSEG-EMLIF=LFA1-LIFNR
    Feed (LFA1-LIFNR) get (LFA1-NAME1)
    Supplier Material Number: Feed (EKPO-EBELN) get (EKPO-IDNLF)
    PO number and Item: Feed (MSEG-MBLNR) get (MSEG-EBELN) and (MSEG-EBELP)
    GRN Date: Feed (MKPF-MBLNR) get (MKPF-BLDAT)

  • Material Number prefix Isuue

    Hi Friends,
    In my SAP system we are using number range for material is as 12 CHAR. so we have created all materials with 12 no char only.
    We are this system for the past 3 yrs. Now all of a sudden my system is not accepting 12 CHAR material numbers, it is only allowing 18 CHAR materials only. I have to Prefix Six Zeros. say for ex : i have created a material with number 222222222222 (12 CHAR) and i used it for my all transactions, now it is not allowing access the same material 222222222222, instead of that it is allowing me to access 000000222222222222.
    Now the problem is the reports which we developed basing on material is not showing any values.
    Is there any configuration for this??? How to remove those six zeros from prefix of the material??
    Thnx in advance for your replies
    Regards,
    Srikanth

    Hi Srikanth,
    Check whether there were any changes done in Material Number Format.  This can be done in Tcode OMSL.  Check what is maintained in Lexicographical & Leading Zeros.  This will influence how the codes are stored in table.
    regards,
    JP

  • Add Competitor Material via MMW1 but material number exists

    Master Data Experts:
    1. We are adding material type WETT competitor materials via tcode MMW1. However, we have many cases where our competitor number is the same as one of our own existing physically different material numbers. When we try to add the material, we get the hard error message "Specified material already assigned to material type xxxx" and cannot add the competitor material number.
    2. Similarly, we have many cases where more than one of our competitors use the same material number, so we cannot add more than one as a competitor number.
    3. Lastly, we have some competitor material numbers that are more than 18 characters long, and due to the SAP limitation of 18 characters we cannot add these competitor numbers via MMW1.
    These scenarios have never worked before, there is no ABAP related user exits, etc, and no changes done before the problem occurred. We understand that under the single instance system you cannot add the same material number more than once, and we have a company policy system in place so our businesses will not have these material number collisions. However, we cannot control what material numbers our competitors use, so we need some way to remedy this so we can add competitor numbers even though they may already exist.
    Any help that can be given would be appreciated,
    David Bruhn
    Hubbell, Inc.

    Hello James and happy new year.
    Thank you for your answer.
    In fact, I already tried to leave the matnr field with blanks and for a material type which use internal numbers range. I hoped/thought it would have worked as you said but it wouldn't.
    About the external old numbers I keep, I think I don't have to use the field external_number of the E1MARA1 segment, because some of my tests showed me that it works good. Moreover, I don't really understand the reason why this field exists because the field matnr is here for.
    I presume that the external_number is maybe for another use I don't know, aren't you ?
    I've never used this segment for data take over.
    Do you know if the principle you described in your previous mail is also the same to apply to customers & vendors idocs ?
    Best regards.
    David

  • Add prefix 9 for incoming calling number of missed call only.

    Dear,
    I am wondering how to add the prefix 9 to incoming calling number of missed calls only, not the calling alerting number on the phone screen. For example, the local user 472 2001 calls our DID 482 3001 along with the calling number 472 2001 on the dialed phone screen, if I missed this call, in the directory missed call I can see 94722001.
    I know I can add the prefix in the field incoming called party subscriber prefix on the gateway page, but when I do this, all of the calling number information show 9.
    Thanks,
    Kirin

    If I understand you correctly, you would like to only change the missed calls/placed calls on your phones without changing the digits?
    If you have an PRI, you can use this translation rule to change calling ID only on inbound calls:
    Translation pattern to modify Caller ID to add a 9
    voice translation-rule 1
    Rule #  /match/ /set/
    (^.= Match anything begining with any number)(*= one or more digits) tranlasate to (9& = Take whatever is in the match phase and plug it in here)
    rule 1 /^.*/ /9&/ type subscriber subscriber (subscriber = ton(Ton=Type of number) value local area)
    rule 2 /^.*/ /91&/ type national national (national = ton value long distance area)
    rule 3 /^.*/ /9011&/ type international international (international = ton value international area)
    Config t
    voice translation-rule 1
    rule 1 /^.*/ /9&/ type subscriber subscriber
    rule 2 /^.*/ /91&/ type national national
    rule 3 /^.*/ /9011&/ type international international
    voice translation-profile INBOUND_PSTN
    translate calling 1
    voice-port X/X/X
    translation-profile incoming INBOUND_PSTN
    Let me know if this helps.
    John

  • Add sales view in Material number

    Hi,
    We have a material, which don't have Sales View.
    How can we add sales view in it.
    But this should be done for only 1 Material. because through oms2 transaction, we can extend according to material type..
    Plz. guide...

    >
    Anil.Sap wrote:
    > We have a material xxxxxx in plant A without sales view (because we are using Production Resource Tools material type, and in our configuration we dont have sales view in it).
    >
    > so we want sales view only in 1 material number.
    >
    > and after add sales view, we have to extend that to plant B.
    >
    > plz guide, how to add sales view in 1 material.
    You can only add a sales view to a material if the material type customizing allows sales views in general.
    you certainly cannot create a sales view for a single material if the material type does not allow sales views.

  • MAP value for sub materials from New(Main) Material

    Hi all
    I got an issue in Kit breaking i.e. i got one material(main) which contains 10 of sub materials.Now when i am receiving the main material, i will receive with a value  assume as 10000 bugs.
    Now i would like to know that the 10000 bugs can be splited equally between all the 10 materials automatically.
    All the 10 material  are newly created with MAP value as zero.
    Regards
    Praveen

    As mentioned in my earlier reply, if material is maintained on price control 'V', then system tries to settle the variance to inventory. In such case, if the variance is favourable i.e. Actual cost is less than the standard cost, the negative variance will reduce the value of inventory and as a result MAP. If the inventory value is less than the amount of variance, system issues a message that MAP will become negative.
    Hope this clear the issue. If yes, please award points
    Regards
    Rakesh Pawaskar
    Message was edited by:
            Rakesh Pawaskar

  • Material number suffixing with ! for some material in material master

    Hi Friends,
      We have uploaded  material master data with BDC . but for some of materials contain ! sign at the end of the material number. Means , at the 18th charecter ! is appearing. but it does not appear in mm03 while displaying. and even while finding it from MARA if we put material number   without ! sign then we can possible to get that material. and it does not allow us to crate material with same material number withought ! sign.
    But if while creating material if we put material with ! at the 18th charecter it creates material with ! sign but while searchig from MARA if you dont put ! sign with material number we can not  get that material as output and if we create other material without ! sign it allows to create the material.
    Please can you tell me what is the reson why ! is getting added at the end of material number ... do any1 of you have faced the same kind of situation and found for what reason it is coming....
    Thanks & Regards.
    Praja.

    Hi,
    This is due to config. In our case whenever we enter 8 digit number for Eg:
    12345678 material will be created as 1234.5678 a dot will appear after every 4 digits.
    But when we actually look at mara we wont find the dot (.) .
    We can do this by config by setting perfix and sufix to the material number. actually these characters will not be stored in DB.
    It will be shown in output when the function module CONV_EXIT_MATN1_OUTPUT runs.
    check config in OMSL transaction.
    In TMCNV table check field TEMPLATE it will have the template how the material number should be in our case its ____.____
    Your case might be ________________!
    Regards,
    Shanmugavel chandrasekaran.
    Edited by: shanmugavel chandrasekaran on Mar 22, 2010 10:58 AM

  • How to add sub total

    hi
    how to add sub total in SAP Script using subroutine

    SAPscripts How to calculate Totals and Subtotals
    I have some doubs in BDC and SMART FORMS.  I want to change the material number using the transaction code MM02 through BDC.
    In scripts and smartforms how to calculate totals and subtotals?
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                        outt_cond structure itcsy. data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough outline, please be aware of the variable conversions as Int_cond-value and outt_cond-value are characters.

Maybe you are looking for