Error in multilevel BOM transfer using CN33

Dear all,
I am facing one issue in BOM transfer to the project using transaction CN33.
Here we are transferring multilevel BOM to the project.
We are having BOM structure as FERT material A below which we have material B and below B i have material C. Now while transferring we are transferring all A, B as well as C to project.
While transferring BOM in selection parameters i am selecting both Multilevel as well as Prel. requ. indicator.
When we do MRP run, for component C planned order are getting generated twice whereas for Component D the planned orders are getting generated thrice.
Regards,
sudhir

Hi,
I would prefer- direct BOM material(Header) assignment in Project, and it generates requirements properly after MRP Run, instead of transferring all materials to project through CN33.
Venkatesh

Similar Messages

  • Error in Exchange Rate transfer useing program RFALEX00.

    Hi All,
    We are trying to ALE the Exchange rate from one system to another.
    We are using program RFALEX00. The Idoc generated in host system is successfull where as in target system it's getting in to Error saying "No maintenance authorization for requested data (SV- 052 Message type)".
    I can load the exchange rate manually it will not throw any exception regrding Authorization.
    Could you please guide on this.
    Your help is really appreciated
    Regards,
    Ravi Kasnale

    Difference between authorizations for your userid and the userid that is processing the ALE (maybe WF-BATCH or something like that) may be the cause.

  • Error in sales order transfer using BDOC

    Hi Experts,
    I have some sales orders which are created at CRM system and posted to R/3 system using BDOC's. I have problem that the orders which are created on CRM system are coming to R/3 using BDOC but they we are not able to change them in R/3.
    In R/3 transaction VA02 its saying that this order is already getting edited by some system user and it is locked and cannot be changed.
        Can anyone help me on this issue.
    Thanks&Regards,
    Hemanth

    Can you share the codes ?
    Thanks.
    Ashish

  • Can the routing create FM CP_BD_DIRECT_INPUT_PLAN   for multilevel BOM

    Dear Friends ,
    Need help for the implementation of function module CP_BD_DIRECT_INPUT_PLAN  .
    The function module works fine when BOM is single level but in case of multi level BOM it does not create the routing documents .
    & gives the following errors
    No entry in field PLMZD-STLKN although entry is required
    When we pass the node number then we still get this error .
    No valid material component found .
    Wanted to make sute that can above FM module can be used for multilevel BOM or we have to use the  BAPI  BAPI_ROUTING_CREATE.
    Thanks ,
    Anurag .

    You must pass the PLMZ_DI-VORKN parameter.
    Edited by: albert liu on Sep 23, 2008 11:50 AM

  • To create Multilevel BOM---- BAPI (urgent)

    Hi all,
    i am using BAPI_MATERIAL_BOM_GROUP_CREATE to create a <u><b>MULTI LEVEL</b></u> BOM in sap. but i am not getting any field for <b>LEVEL</b> in this BAPI.so,  can i create a multilevel bom without a level ?
    can u plz suggest, how can i use this BAPI to create a <b>multi level</b> bom?
    is there any field relating to assembly indicator (stlkz) in this BAPI?i am not getting this field.plz suggest.
    any idea will be highly appreaciated.
    Regards
    pabitra

    Hi eswar,
    Thanks for ur help. i am getting some error while creting a BOM using that BAPI.
    errors are
    1) Error/warning when checking the structure of the BOM group with ID =
    2)Alternative  does not exist for material assignment to material BAPIBOMFG1
    is it mandatory to pass the bom group id to this bapi?
    In bomgroup structure , i am not passing anything to BOM_GROUP field.
    is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
    regards
    pabitra
    report z_bom_create
           line-size 132
           line-count 65
           no standard page heading.
    *-- DATA DECLARATION--
    include <icon> .
    *---Tables
    tables : s076, t100, marc .
    *---Types
    types : begin of t_upload,      " Upload file data
             col1(18),
             col2(10),
             col3(30),
             col4(12),
             col5(50),
           end of t_upload,
           begin of t_split,
           location like stpu-ebort,
           end of t_split.
    data:begin of i_return occurs 10.
    include structure bapiret2.
    data:end of i_return.
    types:begin of t_item."occurs 10.
    include structure BAPI1080_ITM_C.
    types:end of t_item.
    types:begin of t_subitem." occurs 10.
    include structure  BAPI1080_SUI_C.
    types:end of t_subitem.
    types:begin of t_header." occurs 10.
    include structure  BAPI1080_MBM_C.
    types:end of t_header.
    types:begin of t_bomgroup." occurs 10.
    include structure  BAPI1080_BGR_C.
    types:end of t_bomgroup.
    types:begin of t_variant." occurs 10.
    include structure  BAPI1080_BOM_C.
    types:end of t_variant.
    *--- Tables
    data: i_upload type standard table of t_upload, " to hold data
          i_upload1 type standard table of t_upload,
          i_split type standard table of t_split,
          i_item type standard table of t_item,
          i_subitem type standard table of t_subitem,
          i_header type standard table of t_header,
          i_bomgroup type standard table of t_bomgroup,
          i_variant type standard table of t_variant.
    data: wa_upload  type t_upload, " to hold file data,
          wa_upload1 type t_upload, " to hold plan data,
          wa_split type t_split,
          wa_item type t_item,
          wa_subitem type t_subitem,
          wa_header type t_header,
          wa_bomgroup type t_bomgroup,
          wa_variant type t_variant.
    data:v_matnr like mara-matnr,
         v_start like sy-index,
         v_count(3) type c.
    *--Constants
    data: c_dot type c value '.',
          c_x type c value 'X',
          c_comma type c value ','.
    -------Selection Screen Design -
    *Selection screen for input of upload file address
    selection-screen skip 2.
    selection-screen begin of block blk1 with frame.
    parameters     : p_file like rlgrap-filename obligatory .
    parameters     : p_matnr like mara-matnr obligatory,
                     p_werks like marc-werks obligatory memory id wrk,
                     p_stlan like afko-stlan obligatory default '1' .
    selection-screen end of block blk1.
    ---AT SELECTION SCREEN -
    at selection-screen on  value-request for p_file.
    *--For popup  to select file.
      perform f_give_help.
    at selection-screen on  p_matnr.
      perform f_check_matnr.
    -----START OF SELECTION -
    *--Data upload using WS_Upload.
    perform f_get_data.
    perform f_get_bom_data.
    perform f_get_bom_data1.
    perform f_call_bapi.
    *&      Form  f_give_help
          text
    -->  p1        text
    <--  p2        text
    FORM f_give_help.
    call function 'WS_FILENAME_GET'
           exporting
                mask             = ',.,..'
                mode             = 'O'
           importing
                filename         = p_file
           exceptions
                inv_winsys       = 1
                no_batch         = 2
                selection_cancel = 3
                selection_error  = 4
                others           = 5.
      if sy-subrc <> 0 and  not sy-msgty is initial.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    ENDFORM.                    " f_give_help
    *&      Form  f_check_matnr
          text
    -->  p1        text
    <--  p2        text
    FORM f_check_matnr.
    CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
      EXPORTING
        MATERIAL              = p_matnr
        PLANT                 = p_werks
        BOMUSAGE              = '1'
      VALID_FROM_DATE       =
      VALID_TO_DATE         =
      TABLES
        RETURN                = i_return.
    ENDFORM.                    " f_check_matnr
    *&      Form  f_get_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_data.
    call function 'WS_UPLOAD'
       exporting
      CODEPAGE                      = ' '
          filename                      = p_file
          filetype                      = 'DAT'
        tables
          data_tab                      = i_upload
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         others                        = 10
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM.                    " f_get_data
    *&      Form  f_get_bom_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data.
    delete i_upload where col1 is initial.
    delete i_upload where col1 cs 'ITEM'.
    read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
    if sy-subrc = 0.
    v_matnr = wa_upload-col2.
    if v_matnr <> p_matnr.
    message e001(zl) with p_matnr.
    endif.
    else.
    message e000(zl).
    endif.
    ENDFORM.                    " f_get_bom_data
    *&      Form  f_get_bom_data1
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data1.
    loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
    v_start = sy-tabix + 1.
    loop at i_upload into wa_upload1 from v_start .
            if wa_upload1-col1 cs 'FINISHED GOOD'.
              exit.
            else.
    perform f_split_upload_data.
         endif.
    endloop.
          endloop.
    ENDFORM.                    " f_get_bom_data1
    *&      Form  f_split_upload_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_split_upload_data.
    if not wa_upload1-col5 is initial.
    if wa_upload1-col5 cs c_comma.
    split wa_upload1-col5 at c_comma into table i_split.
    loop at i_split into wa_split.
    v_count = v_count + 1.
    endloop.
    if wa_upload1-col4 <> v_count.
       wa_upload1-col4 = v_count.
    endif.
    clear wa_upload1-col5.
    clear wa_split.
    loop at i_split into wa_split.
    wa_upload1-col5 = wa_split-location.
    append wa_upload1 to i_upload1.
    endloop.
    else.
    append wa_upload1 to i_upload1.
    endif.
    else.
    append wa_upload1 to i_upload1.
    endif.
    ENDFORM.                    " f_split_upload_data
    *&      Form  f_call_bapi
          text
    -->  p1        text
    <--  p2        text
    FORM f_call_bapi.
    clear wa_upload1.
    wa_header-material = p_matnr.
    wa_header-plant = p_werks.
    wa_header-bom_usage = p_stlan.
    append wa_header to i_header.
    wa_bomgroup-bom_usage = p_stlan.
    wa_bomgroup-created_in_plant = p_werks.
    append wa_bomgroup to i_bomgroup.
    wa_variant-alternative_bom = 1.
    wa_variant-base_qty = 1.
    wa_variant-valid_from_date = sy-datum.
    append wa_variant to i_variant.
    loop at i_upload1 into wa_upload1.
    wa_item-item_no = wa_upload1-col1.
    wa_item-item_cat = wa_upload1-col2.
    wa_item-component = wa_upload1-col3.
    wa_item-comp_qty = wa_upload1-col4.
    append wa_item to i_item.
    wa_subitem-subitem_qty = '1'.
    wa_subitem-installation_point = wa_upload1-col5.
    append wa_subitem to i_subitem.
    endloop.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
      TESTRUN                  = ' '
      ALL_ERROR                = ' '
      TABLES
        BOMGROUP                 = i_bomgroup
        VARIANTS                 = i_variant
       ITEMS                    = i_item
       SUBITEMS                 = i_subitem
        MATERIALRELATIONS        = i_header
      ITEMASSIGNMENTS          =
      SUBITEMASSIGNMENTS       =
      TEXTS                    =
        RETURN                   = i_return.
    if  i_return[] is initial.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    *write: /'BOM created:', stpo-stlnr.
    else.
    *if not i_return[] is initial.
    loop at i_return.
        IF i_return-TYPE = 'E'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
          ULINE /1(108).
          write:/ icon_led_RED as icon, i_return-MESSAGE.
          ULINE /1(108).
        ENDIF.
        IF i_return-TYPE = 'W'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
          ULINE /1(108).
          write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
          ULINE /1(108).
        ENDIF.
      ENDLOOP.
    *write: / i_return-id, i_return-number, i_return-message(80).
    *endloop.
    *write: /'Error'.
    endif.
    ENDFORM.                    " f_call_bapi

  • PR generation through BOM transfer

    Hi
    We are facing problem in BOM transfer. After BOM transfer , system is generating two PRs for 1 material. In network component view , the material is appearing twice one with BOM item no 0000 and one with BOM item 0010. But material exists only once in BOM.
    What may be the cause for this?
    Regards,
    Amit

    Hi,
    Please check SAP note:739440 has any relevance for you.
    Quote from the note begins:
    "You assign a BOM to a using Transaction CN33. When reassigning the BOM double requirements are created in the network.
    Other terms
    CN33, BOM explosion
    Reason and Prerequisites
    The "Alternative BOM" field on the selection screen of Transaction CN33 is the cause of the problem. It is set partly on initial or on 1. This should not make any difference, however, in the further selection the already assigned BOM is not recognized and thus assigned again.
    Solution
    Implement the program corrections as specified in the attached correction instructions
    Quote ends
    Muraleedharan.R
    091 9880028904

  • ISSUE:regarding production version tab of MRP4 of  data transfer using BD10

    Hi all,
    This is regarding production version tab of MRP4 of  data transfer using ALE idoc (BD10).
    When i transfer the data using BD10 the production version is received at receiving end through segment
    but not created in MRP4 view tab.An error is coming as-
    "You wanted to maintain the master record of the material AB_06.04.09(2). However, it is already being processed by the user EBGABAP and is therefore locked."
    I logged in as-EBGABAP
    Please help me resolve the issue.
    Thanks
    Edited by: sanu debu on May 6, 2009 11:08 AM
    Edited by: sanu debu on May 6, 2009 11:09 AM
    Edited by: sanu debu on May 6, 2009 11:11 AM

    >
    sanu debu wrote:
    > Hi,
    > I have to upload production version tab data of  MRP4 view(MM01).Please suggest a function  moduleor bapi  for the same.
    >
    > Thanks.
    >
    > Edited by: sanu debu on May 6, 2009 3:24 PM
    BAPI_MATERIAL_SAVEDATA can be used, populate the respective fields in input parameter PLANTDATA

  • Error message "No internal transfer number found"

    Hi everyone,
    I'm trying to setup the self-billing- (ERS)-functionality for scheduling agreements.  The problem I'm currently facing is that I created a test-iDoc which while being processed causes an error.
    The test-iDoc is sent out with the basic type GSVERF03 (I just tried the same using type GSVERF01). On my customer's side the reception is configured to use the message type SBWAP.
    I also did the customizing-settings from within the ERS-monitor for the partner function (TCodes OVD5 & OVD7.... with reference number "E" & Delivery Note Number to Determine Sales Document), but in the end I still receive the error-message:"No internal transfer number found" even though it's available in the iDoc.
    Does anybody have any ideas on this?!?
    Any help greatly appreciated!
    Thx & regards,
    Bobby

    Hi Boban,
    I had same issue I solved   creating  number range in SNRO for object TRMNO_INT,
    Regards

  • Error message not authorized for use with Adobe ID

    I just started getting this error message when I transfer EPub books to my KOBO. They are e-books from the public library. I am asked to sign in with the authorized Adobe ID, but I thought I had done that when I set up Adobe DE 3.0

    I tried many things, but what worked in the end was a suggestion from a thread last year. I opened my KOBO and signed off. Then signed back in. That seems to have done the trick. I can now download library books to ADE then transfer to the KOBO and actually open them. HURRAH!! I mainly use my KOBO to read library books and was panicing about losing access.
    Before that fix I reauthorized my computer and my KOBO.

  • I've started getting an error when trying to transfer purchased videos to iPhone.

    I've started getting an error when trying to transfer purchased videos to my iPhone.
    I get an error saying that selected videos will not play on the iPhone. They were purchased from iTunes and have been played on the phone previously.
    So far I've only noticed it on SD/HD videos, but not all SD/HD videos. Not had an issue yet with the judt SD files.
    Anyone else encountered this?
    Ta

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

  • Display multilevel BOM for multiple materials

    Hi,
    I am to trying to display multilevel BOM explosion for multiple BOMs valid to custom date. Then I would like to export this list of all components to Excel.
    Best solution would be if to create QuickView to do this.
    So far I have been able to Join tables MAST - STPO, this shows me only one level of BOM (sort of like CS03 transaction) not a multilevel view (CS12). Is it possible to modify this to display multilevel view?
    Thank you,
    Tomas

    Dear Thomas,
    in order to have a multilevel Bom explosion you must use only fm : CS_BOM_EXPL_MAT_V2 because you won't succeed to have a multiplevel with a simple query.
    I advise you set MEHRS = X for active multilevel logic.
    Let me know if i have been useful for you
    Daniele

  • Multilevel BOM Explosion

    Hi All,
    I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
    explosion.
    Input parameters for Function Module..
    1. Finished Goods(Material)
    2. Application.
    3. Explosion Date
    4.Plant
    5.BOM Usage.
    6. Alternate BOM.
    Output  we are intresetd in
    1.MNGKO..Our assumption was this qty is the  final actual qty .....which comes after multiplicatio at all level...
    But in some case we find this qty as 0...
    Can any one please help in understanding the standard FM ..
    Tausif.

    Hi All,
    I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
    explosion.
    Input parameters for Function Module..
    1. Finished Goods(Material)
    2. Application.
    3. Explosion Date
    4.Plant
    5.BOM Usage.
    6. Alternate BOM.
    Output  we are intresetd in
    1.MNGKO..Our assumption was this qty is the  final actual qty .....which comes after multiplicatio at all level...
    But in some case we find this qty as 0...
    Can any one please help in understanding the standard FM ..
    Tausif.

  • Errors installing web service to use dreamweaver extension

    Portal Version: 10g
    OS/Vers. Where Portal is Installed:: Linux AS 2.1
    Errors installing web service to use dreamweaver extension
    Recently I download the dreamweaver extension for portal, but when I try to install it several errors are raised... in the installation guide the next message appear:
    This installation for this feature is an easy 3 step procedure.
    1. Installing the Portal web service
    2. Configuring the web service to work with your portal (one time administrative process)
    3. Installing the PortalTemplates extension for Dreamweaver MX
    well but when I try to run the 1 step everything goes wrong...
    in the guide say:
    # Transfer this file to the OC4J_HOME/j2ee/home directory of the OC4J
    (please make sure that the OC4J is up and running)
    # Use the following command to install the web service
    java -jar admin.jar ormi://<oc4j_host>:<oc4j_ormi_port>
    <username> <password>
    -deploy -file portalTemplate.ear -deploymentName portalTemplate
    here it's where I have some questions,
    1. the ormi referers to the rmi ok (I think that), well then I go tho the iasconsole and search for the ports and is show:
    home RMI 3202
    OC4J_Portal RMI 3203
    OC4J_BI_Forms RMI 3204
    then I use the home-> port 3202
    java -jar admin.jar ormi://myhost.midtierinstall.com:3202
    ias_admin ias_midtier_admin_password -deploy -file portalTemplate.ear -deploymentName portalTemplate
    but the following messages appear :
    Error: Unable to find java:ServerAdministrator : lookup error:javax.naming.AuthenticationException invalid username/passwod for default (ias_admin).... and the error continue... but the problem is that the password works when I use the enterprise manager in that midtier console...
    I want to know if I'm doing something wrong or how I should use this command to install that web service

    The ormi is the rmi port in the OC4J. This coold be found in oc4j_home/j2ee/home/config/rmi.xml file. The default port is 23791.
    Hope this helps,
    Ramya

  • Error occurred when creating transfer structure /BIC/CCGS0EC_PCA_1

    Hi Experts,
    While activating th transfer structure  0EC_PCA_1  i am getting the below error
    Error when creating transfer structure /BIC/CCGS0EC_PCA_1 in source system N6A420
    Message no. R3104
    Diagnosis
    An error occurred when creating transfer structure /BIC/CCGS0EC_PCA_1 as an IDoc segment in source system N6A420 .
    Could any one please help
    Thanks  in Advance,
    Nitya

    Hi,
    I have a similar issue on one of my clients, unfortunately they are using PSA method already, however, somewhat interestingly when I switch to Idoc it activates fine?  The log in SLG1 suggests I analyze the log in source system... when I am analyzing the log in the source system?!?!?!?!  Is there another log I am missing? Any ideas anyone?  I did check note 493422 however as I have other extractors that are working fine connected to the same source system I am a bit loathe to implement a global solution?
    Thanks in Advance
    Peter

  • Error_Text 3100000030802447 ID MATK language EN not found during BOM transf

    Hi Experts,
    When the user do the BOM transfer , they got the error message : Text 3100000000308020447 ID MATK language EN not found.
    Message no. TD600
    Diagnosis :
    You want to read a text which doese not exist in the data base ( or update memory )
    System response :
    Reading could not be carried out.
    Procedure :
    You need to create this text.
    1 . Initializaion ( module INIT_TEXT )
    Could someone help me to solve ?
    BR, Shubin

    Hi Virendra,
    Thanks a lot  !
    BR , Shubin

Maybe you are looking for

  • Intel hd graphics, black screen on tty switch and more

    Hi, This is my first post on the arch forums, after having used this wonderful distro for half a year. I look forward to being a more active user in the future. Last week, my laptop HD crashed and i had to re-install arch on a new one. With this came

  • Ipad gen 3 to tv (HDMI)

    i bought an adapter from amazon, to connect my ipad to my tv. apparently it's simply 'plug & play', however i have plugged and nothing is playing. is there something that i need to do to get the image mirrored on my tv screen? i can't see anything on

  • Print issue

    Guys, I have integrated CR viewer in Java program. It can be printed in normal environment like Windows. However, it can only print frame and no content. How can I handle this? Thanks a lot.

  • Reading dynamic table column based on user selection

    Hi there, I am having a problem of reading and manipulating the data stored in a standard SAP table. The following example simulates the table and what i am trying to do: Table: Storing sales data for sales person SALES_PERSON    REGION   YEAR   MTH_

  • Multilingual captioning, how?

    Hi, I am creating a CD-Rom presentation, the requirements of which are Video and multi-language captioning. I thought this would be a good opportunity to gain experience with OSMF and the Captioning Plugin. I am an FDT user rather than Flash Builder