0 to be terminated from Material Number

The 0MATERIAL is diaplyed in most of our Purchase report which displays the material number preceeding with zero's. eg. 0000000026 and 0000001235 etc.
Please guide us in eliminating these zeros. It should display like 26 and 1235.
This should be done in Bex.
Thanks and Regards,
Hariprasad V

Hi Hariprasad,
         Goto 0MATERIAL info object in the change mode. In General tab, there'll be a drop down for conversion routine. There, you have to use the conversion Routine 'Alpha'.
         It will help you to prefix the values for 0MATERIAL with zero's during the processing and in the output it will automatically remove all the prefixed zero's from the 0MATERIAL.
         Hope it helps you. Assign points if it helps you.
Regards,
Yokesh.

Similar Messages

  • How to remove leading zero from Material Number

    Hello Everyone,
    I need to figure it out how to remove leading zero from material number. Cureently extractor is sending material number as 100663. But when comes into BI i am getting as "000000000000100663" and similariy in report it is appearing as "000000000000100663". Now my client wants me to exclude preceeding zero for a material in all the reports.
    Is there any setting in query desinger to handle this issure or in the backend.
    Need your inputs.
    Thanks,
    Lasya.

    Hi
    you can use the function Module
    CONVERSION_EXIT_ALPHA_OUTPUT in the start routine
    to test this go to SE37  --- give the CONVERSION_EXIT_ALPHA_OUTPUT -
    >display -
    > F8
    in the input give 000000456
    and execute
    the out put will be 456
    for getting Zeros you can use
    CONVERSION_EXIT_ALPHA_INPUT--- to remove leading zeros
    Santosh
    Edited by: Santhosh Nagaraj on Oct 29, 2009 10:52 PM
    Edited by: Santhosh Nagaraj on Oct 29, 2009 10:54 PM

  • Have to maintain a specific number apart from material number in MMR

    HI All,
    We have a specific number(X) for some materials that we want to enter in a material master, and when we create a sales order that number(X) along with material number should populate in sales order.
    is there any field provided by sap to fulfill this requirement.

    There is no standard SAP fields provided to handle your requirements in the material master.
    You may need to use any of the unused fields in the material master. Following options I could think of;
    1) Use of Old material number field (MARA-BISMT). But this field will not flow into sales order. You may go with an enhancement to add this field in the sales order -> item level.
    2) Use of basic text or sales text from the material master. You need to add addtiional text type in sales order -> item text level in t.code VOTXN. By this way, when a number is maintained in the material master text field, this will automatically gets copied into sales orders.
    3) Use of EAN/UPC field (MEAN-EAN11) field. I am not in favor of using this field as this may be needed in other purposes like electronic transmission of data with government entites. If this field is not used in your business, you can think of this also.
    Using any of the above may eventually need development of customized report for your final reporting requirement. I am not sure whether any standard report will provide the details on what you are looking for.
    Regards,

  • How to get material description from material number.

    Hello ABAP Pundits,
    I have got the material number MATNR.
    I need to get Material Description MAKTX using this material number.
    Now MAKTX is not a table that I can go and fetch it.
    What function module do I require to fetch that material description field ?
    Points will be surely awarded..
    Tushar.

    Do a select against <b>MAKT</b>.
    parmaters: p_matnr type mara-matnr.
    data: xmaktx type makt-maktx.
    Select maktx into xmaktx from makt
              where matnr = p_matnr
                and spras = sy-langu.
    Regards,
    Rich HEilman

  • FM for Material number conversion from R/3 to APO in R/3

    Hi,
       Can anybody tell me conversion exit (function module) for Material number conversion from R/3 to APO in R/3 system. I mean i have 18 digit R/3 material number which i have to convert to 40 digit APO material number in R/3 system.
    Please suggest to win full points.
    Thaniks in Advance,
    Chandan Dubey

    Dear Chandan,
    Conversion Exits:
    CONVERSION_EXIT_MATN1_INPUT ....... If you are storing Material With Zeros
    Then concatenate it with 22 zeros. i.e. '0000000000000000000000000000'.
    For example:
    data : v_matnr type matnr,            "R/3 Material
           v_apo_matnr(40) type c,        "APO Material with 40 length
           v_zeros(22) type c. value '0000000000000000000000000000'.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
           EXPORTING  INPUT          = v_matnr
           IMPORTING  OUTPUT         = v_matnr.
    concatenate e_mantr v_zeros into
                v_apo_matnr.
    Regards,
    Naveen.

  • List of material number with PO text from material master

    I want to get a list of materials number with PO text from material master. Can anybody help ?

    The purchase order texts maintained in the material master are stored
    as SAPScript text files in tables STXH (header) and STXL (lines). For
    material master records:
    Field TDOBJECT = 'MATERIAL'
    Field TDNAME = material number (MARA-MATNR).
    So you should be able to write a small report to extract the data.

  • Open MM03 with a material number from CRM UI

    I can launch MM03 from CRM UI. Please guide me how to open MM03 with a particular material (skiping first screen if possible) from the CRM_UI screen.

    Hey,
    Maybe this blogpost can help you.
    [http://sapcrmweblog.blogspot.com/2011/01/extending-business-object-repository.html|http://sapcrmweblog.blogspot.com/2011/01/extending-business-object-repository.html]
    Check the example method ZEXECUTE_WITH_PARAM. This allows you to move a parameter from the CRM system to the PID of a field in the transaction you called.
    Furthermore, you will need to move the material number you want to use to the GDC (or if you can use GDC object CURRENTPRODUCT-PRODUCTID, I don't know where it is occupied, that would also be fine), and use that in the transaction launcher definition.
    If the CURRENTPRODUCT is not bound when you call the transaction, I think the best way to go would be to add a paramater in IMG --> Customer Relationship Management --> UI Framework --> Technical Role Definition --> Define Global Data Context Parameters called ZPRODUCT type Product.
    This GDC object can be occupied by implementing the following code somewhere in the code when you have the material you want to pass available in the BOL.
    DATA: __gdc    TYPE REF TO if_crm_ui_data_context.
    __gdc ?= cl_crm_ui_data_context_srv=>get_instance( me ).
    __gdc->set_entity( name = 'ZPRODUCT' value = <your bol-product> ).
    Hope this helps.
    Regards,
    Pieter Rijlaarsdam

  • How can I get Notification Number from Material Document?

    Can you please tell me that how can I get Notificatin Number(QMEL-QMNUM) from Material Document(MSEG-BELNR)?
    Regards,
    Subhasish

    This question is closed but unanswered.

  • BAPI to get inbound delivery from material serial number

    BAPI to get inbound delivery number from material serial number?
    input---material serial number.
    output--inbound delivery number.

    Perhaps instead of using a BAPI you can code it like this.
    DATA:serial(10) TYPE n VALUE '0000340078',
    pos TYPE i VALUE 1.
    START-OF-SELECTION.
      WHILE pos <= 10 AND serial+pos(1) = 0.
        pos = pos + 1.
      ENDWHILE.
      REPLACE ALL OCCURRENCES OF '0' IN serial(pos) WITH space.
      WRITE serial.

  • Is there a transaction to delete an article (Material Number) from SAP?

    Hello SAPients!
    Does anybody know: Is there a transaction (or FM) to delete an article (material number from SAP ?
    Thanks!

    You can only flag the material for deletion.  You do this via MM02, or you can do it via BAPI_MATERIAL_SAVEDATA.  THe material can only be fully deleted when the archive process has been ran for the object.
    Regards,
    Rich Heilman

  • Obtaining Material number from the CRM Document number

    Hi Gurus
    From which table can I get the material number if I know the CRM document number. Which are the tables that need to be linked to get this information?
    thank you very much

    Hi,
    Using doc number you can access CRMD_ORDERADM_H-OBJECT_ID = DOCNUM.
    CRMD_ORDERADM_I-HEADER = CRMD_ORDERADM_H--GUID.
    The material is in CRMD_ORDERADM_I.
    Hope this helps.
    Best regards,
    Caíque Escaler

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

  • How change plant, net price, OPu, and Material Number from ME32K

    Hi GURUs,
    May let me know how I should configure ME32K in order to allow users to change:
    - Material Number
    - Net Price
    - Order Purchasing Unit
    - Plant
    I have tried setting up field selections layout properly, even debug PBO, it is still greyed out for those fields.
    Please help.
    Thanks,
    Tony Yuwono

    there is no way to change the price in item overview in the contract.
    The reason is explained in OSS note 685117.
    ........The problem is that Scales and/or validity periods may exist for the conditions, because contracts have time dependant conditions, just like info records do.
    This is in contrast to e.g. Purchase orders which have Time independant conditions and so, NO scales nor validity periods.
    A Purchase order has A price! The price maybe determined based on a source; a contract or an info record. Depending on the order quantity and the date, the PO price is determined.
    The contract does not have A date, it might have several; indicated by the validity periods. Furthermore the price is dependant on eventual scales. Therefore it does not have A price either..........

  • "Settings for material number conversion not found" occurs when ...

    After I run an initial load data into the InfoCube 0PUR_C01, I want to check the InfoCube Content by the following path:
    RSA1 -> pick up the InfoCube 0PUR_C01, right click it and select Manage -> Get to Content tab -> Click InfoCube Content button -> Deselect all selection, only tick the 1st column checkbox next to 0Material, then hit enter, get a small window titled as "Cancel" with a red STOP msg sysing "Settings for material number conversion not found" with an "Exit" button and a question mark button, click Exit button leads to SAP Easy Access screen, if clicking the question mark button, another window pops up with the msg showed above, click Technical Information button causes the original window short dump and the short dump msg shows below in between two dashed lines:
    Runtime Errors         RPERF_ILLEGAL_STATEMENT
    Date and Time          11/28/2005 14:43:13
    ShrtText
        Statement "CALL SCREEN" is not allowed in this form.
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLSHL2" had to be terminated because on
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        There is probably an error in the program
        "SAPLSHL2".
        The program was probably called in a conversion exit
        or in a field exit. These are implemented by
        function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or
        USER_EXIT_xxxxx_INPUT.
        Conversion exits are triggered during screen field transports or
        WRITE statements, field exits during field transports from the
        screen to the ABAP/4 program.
        In this connection, the following ABAP/4 statements are not allowed:
        -  CALL SCREEN
        -  CALL DIALOG
        -  CALL TRANSACTION
        -  SUBMIT
        -  MESSAGE W... and MESSAGE I...
        -  COMMIT WORK, ROLLBACK WORK
        -  COMMUNICATION RECEIVE
        -  STOP
        -  REJECT
        -  EXIT FROM STEP-LOOP
        Moreover, conversion exits for output conversion
        (implemented by function modules called
        CONVERSION_EXIT_xxxxx_OUTPUT) do not allow
        -  MESSAGE E...
        to be used.
    Trigger Location of Runtime Error
    Program                                 SAPLSHL2
    Include                                 LSHL2F19
    Row                                     3
    Module type                             (FORM)
    Module Name                             TECHNISCHE_INFO5
    rce Code Extract
    e  SourceCde
    1 ***INCLUDE LSHL2F19 .
    2 form technische_info5.
    >>   call screen 1900 starting at 5  8.
    4 endform.
    5
    6 &----
    7 *&      Form  SHRINK_VALUES
    8 &----
    9 *       text                                                           *
    10 ----
    11 *  -->  p1        text
    12 *  <--  p2        text
    13 ----
    14 form shrink_values.
    15
    16   loop at dynpselect.
    17     clear checktable.
    18     if dynpvaluetab-lowvalue ne space and dynpvaluetab-lowvalue na '*'.
    19       move 'EQ' to checktable-op.
    20       move dynpvaluetab-lowvalue to checktable-low_value.
    21       append checktable.
    22     endif.
    What could cause the problem by selecting only 0Material when checking the InfoCube 0PUR_C01 content?  What does that mean by this STOP msg "Settings for material number conversion not found"?
    Thanks

    Hi Kevin,
    Set the length of 0MATERIAL and change conversion to alpha:
    Re: Error Installing 0MATERIAL from Business Content
    Best regards,
    Eugene

  • While create inbound delviery Material number is not showing

    Hi All,
    I am trying to create inbound delivery with reference to Purchase Order.
    While using BBP_INB_DELIVERY_CREATE to create inbound deliveries, the material number is not showing up in the VL33N screen but Material Description is coming.
    As you have also faced same problem,can you please suggest how to resolve this issue?Your help will be highly appreciated.
    Thanks
    Santhu
    Edited by: santosh jajur on Sep 24, 2010 12:48 PM

    Hi,
    This function module doesn't pass Material number while creating the inbound delivery.  Instead you can use the function module GN_DELIVERY_CREATE along with NUMBER_GET_NEXT function module.
    See line number 631 to 656 of include LBBP_SIC_40F02 (Called from Line no 18 of BBP_INB_DELIVERY_CREATE) for more details.
    While using the function module BBP_INB_DELIVERY_CREATE, material number is not passed to the function module (GN_DELIVERY_CREATE) structure field XKOMDLGN-MATNR.
    Regards
    Vinod

Maybe you are looking for