Error while changing BOM with change number

Hi ALL, Please help me with followed error message, I am using ECM. I created ECR and converted to ECO and then released.
Object management record cannot be generated
Message no. 29046
Diagnosis
You want to change the BOM with the entered change number.
One of the following situations triggered this error message:
1. The indicator that allows automatic generation is not set for object type BOM in the change master.
2. The indicator generation only on initial creation is set for object type BOM
3. You are processing a change request.
System response
The system checks whether the indicator object management record will be generated is set in the change master.
If the indicator generation only on initial creation is set, the system checks whether the BOM exists in the system.
Procedure
If you are authorized to change the change master, execute the following steps:
For 1.)
Set this indicator for object type BOM or create the control record in the change master.
For 2.)
If the BOM already exists in the system and the generation only on initial creation indicator is set, the system can no longer generate the control record automatically.
In this case you have to add the object control record to the change master first, then you can change the BOM in relation to the change number.
For 3.)
You cannot generate any object control records for a change request.

Hi
With your question regarding changing BOM with change number  it looks lke there may be problem in defining the Object types,objects.Moreover whenever converted to ECO you need to enter into cs02 tcode for changing the bom with relevant change number and valid from date.
Hope this gives you a clear idea.let me know if you need anyfurther inputs.
Regards
Praveen

Similar Messages

  • Error while creating BOM with FM CSAP_MAT_BOM_MAINTAIN

    Hi All,
    While creating the bom with the FM "CSAP_MAT_BOM_MAINTAIN" using change number i am getting the below error message.
    " Processing of this object is not supported with change number."
    Please help me out.
    Regards
    Suresh

    call function 'CSAP_MAT_BOM_MAINTAIN'
      exporting
        material                 = material
        plant                    = plant
        bom_usage                = usage
        alternative              = alternat
        valid_from               = y_date
    *   CHANGE_NO                =                   "<----Have u used this field for creating ?
    *   REVISION_LEVEL           =
        i_stko                   = l_stko
    *   FL_NO_CHANGE_DOC         = ' '
        fl_commit_and_wait       = 'X'
        fl_bom_create            = 'X'
        fl_new_item              = ' '
        fl_complete              = ' '
    * IMPORTING
    *   FL_WARNING               =
    *   O_STKO                   =
    CSAP_MAT_BOM_CREATE would be an ideal one for creation and CSAP_MAT_BOM_MAINTAIN for change
    Regards,
    Mithun Shetty.

  • Authorization to change BOM with history requirements

    Hi Techies,
    I m facing an issue now with respect to authorisation of changing BOM with history requirements. Our quality system was a copy from a production server which was used for CRM before. Usually in SAP when we change a BOM with a change number we cant again change it back without a change number.
    In our case it is not providing an error but it is providing a warning. Now my requirement is to change this warning message to error message. So that people wont change BOM without a change number.
    I tried to enter the transaction SU24 and found the authorizaton C_STUE_NOH with proposal YS. Then i tried to change the filed value to ' ' (NO) and saved it.
    But still i m not able to change the warning message to error message.
    Is there any other setting i need to carry out for this.
    Please help me with this issue.
    Thanking you in advance.
    Regards,
    Kris.S

    Dear Krishu,
    Below has been mentioned in OSS note: 420878. Check once again you have save as NO. Then go to tcode SU03 Object Class PP/ C_STUE_ROH
    Summary
    Symptom
    In Customizing of the BOM, the history requirement is set or a BOM requires a history. Despite this, it is possible to process BOMS without engineering change management. The system only processes a warning message (29 045) which can be skipped.
    Additional key words
    CS02, change number, OS27, W045(29)
    Cause and prerequisites
    Authorization profile
    Solution
    Check the authorization profile of the respective user.
    Example:
             C_STUE_NOH <OBJ>
                &_SAP_ALL    <AUT>
                    NOHIS      <FLD>
    would have the authorization to process BOMs requiring history without a change number. In this case, if you change '*' to ' ' in NOHIS, you will no longer receive a warning, but rather an error message.
    Regards / US

  • VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction id in results:

    Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    Hello All,
    I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues. 
    Any suggestions on the issue i am facing
    error is :
    could not read result repository: unknown transaction id in results:
    or
    could not read result repository: unknown request id in results: 
    Thanks
    Satish

    Hi Kotapati,
    >>Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
    If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
    In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
    If possible, I suggest you could share me simple load test for us so that we will further help you.
    You could upload your load test to OneDrive and then copy link here.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while Test Connection with Connector

    hi all:
         there is an error while  Test Connection with Connector , I also test it through sys administration->sys configuration->
    suport -> sap transaction, I got all errors, I put these two errors as folows, could you please tell me how to sovle it
    ***************ERROR 1 while *error while Test Connection with Connector ******************************************************
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this
    system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    ************error sys administration->sys configuration-> suport -> sap transaction        ********************** 1.5 #0025B3E02892006100000A0800001798000487530FB0122E#1274690722265#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt
    .runtime#guodongdong#47472##n/a##690347f0670e11df98cc0025b3e02892#SAPEngine_Application_Thread[impl:3]
    9##0#0#Error##Java###04:4524/05/10_0077_6087550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Application URL
    &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid!
    Please check the protocol and host entries for system &\#39;sapdev&\#39;.
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass
    (AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process
    (ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Hi,
    As per this part of the trace:
    Exception in SAP Application Integrator occured: Application URL &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid! Please check the protocol and host entries for system &\#39;sapdev&\#39;. at ...
    You can clearly see that the system object 'sapdev' is not configured correctly/at all - you are trying to launch transaction iView
    (WEBGUI) and in order to do so you should configure the 'internet transaction server' category of the system  object
    with the hostname of the ITS server.
    Generally the template is
    <System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/webgui?\....
    So that's why you got
    Please check the protocol and host entries for system ..

  • Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    i am getting the same error, suddenly, on 10.9.5

  • Printing Error - pstopdffilter/pstocupsraster failed with err number -31000

    Hi All,
    I'm hoping someone could assist me with this. After googling like crazy for a solution I thought I had to post here on the forums. I'm a new Mac user (only a few days now) so please bear with me. I will also post this on the Java Forums because I don't know if this is a problem with my code or with the Mac settings.
    Setup
    I've got a Java Applet running on the mac (written in Eclipse 64 bit) on a Mac with OS X 10.6.4 on. Also, Java 1.6.0_21 (both 32 bit and 64 bit) is installed on the machine. The printer installed is a ZPL Label Printer (Zebra Technologies ZTC GK420d).
    If I use another application such as TextEdit to print, it works fine.
    *Problem Description*
    Whenever I try print from the Applet nothing comes from the printer, my code does not break or catch any exception at all but the printer queue gives the error: *pstopdffilter/pstocupsraster failed with err number -31000.*
    Code
    The code I use with this Java Applet works absolutely fine on Windows XP 32 bit (IE 7.0, Google Chrome and Firefox) as well as on Windows 7 64 bit (I.E 8.0, Google Chrome and Firefox) but never on the Mac. For any developers who might be able to help, the code is below:
    import java.applet.Applet;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.DocPrintJob;
    import javax.print.PrintException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    import javax.print.SimpleDoc;
    import javax.print.attribute.PrintServiceAttribute;
    import javax.print.attribute.standard.PrinterName;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    public class UKMJavaPrintApplet extends Applet
    public void init()
    System.out.println("Initialising UK Mail Java Printing Applet...");
    public void start()
    System.out.println("Starting UK Mail Java Printing Applet...");
    PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","Zebra Technologies ZTC GK420d");
    public void stop()
    System.out.println("Stopping UK Mail Java Printing Applet...");
    public void destroy()
    System.out.println("Preparing unload of UK Mail Java Printing Applet...");
    public int GetPrinterCount()
    PrintService[] services = null;
    int serviceLength = 0;
    try
    services = PrintServiceLookup.lookupPrintServices(null, null);
    if(services != null && services.length > 0)
    serviceLength = services.length;
    catch(Exception z)
    System.out.println("Failed to get printer count: " + z.getMessage());
    z.printStackTrace();
    return serviceLength;
    public String GetPrinterName(int index)
    String sPrinterName = null;
    String printerName = "";
    PrintService[] services = null;
    try
    services = PrintServiceLookup.lookupPrintServices(null, null);
    for (int k=0; k < services.length; k++)
    PrintServiceAttribute attr = services[k].getAttribute(PrinterName.class);
    sPrinterName = ((PrinterName) attr).getValue();
    if(index == k)
    printerName = sPrinterName;
    break;
    catch(Exception r)
    System.out.println("Failed to get printer name: " + r.getMessage());
    r.printStackTrace();
    return printerName;
    public Boolean PrintLabelZPL(String zplString, String printerName)
    String errStr = "";
    Boolean boolSuccess = false;
    try
    if(printerName != null && printerName != "")
    PrintService psZebra = null;
    String sPrinterName = null;
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    pras.add(new Copies(1));
    PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
    for (int i = 0; i < services.length; i++)
    PrintServiceAttribute attr = services.getAttribute(PrinterName.class);
    sPrinterName = ((PrinterName) attr).getValue();
    if (printerName.equals(sPrinterName))
    psZebra = services;
    break;
    if (psZebra != null)
    DocPrintJob job = psZebra.createPrintJob();
    byte[] by = zplString.getBytes();
    DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
    Doc doc = new SimpleDoc(by, flavor, null);
    System.out.println("Printing to: " + printerName);
    job.print(doc, pras);
    boolSuccess = true;
    System.out.println("Printing Successful.");
    else
    errStr = "Zebra printer not found.";
    System.out.println(errStr);
    boolSuccess = false;
    else
    errStr = "No printer name was provided.";
    System.out.println(errStr);
    boolSuccess = false;
    catch (PrintException e)
    System.out.println("Print Failed with PrintException: " + e.getMessage());
    boolSuccess = false;
    e.printStackTrace();
    catch (Exception f)
    System.out.println("Print Failed: " + f.getMessage());
    boolSuccess = false;
    f.printStackTrace();
    return boolSuccess;
    Does anyone have any ideas on how I can resolve this and print to the ZPL printer from my Java Applet on the Mac?
    Any help would be much appreciated.
    Thanks!

    We managed to solve our own problem. This was not directly a Java Problem, but a problem with the setup of the Zebra printer on the Mac. Printing directly to the ZPL Printer never worked and always gave the error Printing Error - pstopdffilter/pstocupsraster failed with err number -31000.
    To solve this, we had to use the CUPS (Common Unix Printing System) interface. CUPS is apparently installed standard with every Mac. Being a new Mac user I didn't even know this a week ago. We had to use CUPS to add the printer, set it to be a "RAW" printer and then add something called a Class. Now when printing from the Java Applet, we DO NOT print to the actual Zebra printer, we print to the Class.
    Here are the steps on how to accomplish all this:
    1. As an Admin user, log onto Cups using the Safari browser by entering *http://localhost:631* into the Address Bar.
    2. Select the Administration tab and click, ‘Add Printer’
    3. Select the required local printer and then ‘Continue’
    4. Enter a Name, Description, Location and uncheck the ‘Share This Printer’ checkbox, where:
    a. Name = Queue Name (e.g. Zebra_RAW)
    b. Description = Human Readable Description (e.g. Zebra1)
    c. Location = Human Readable Location (e.g. My Mac mini)
    5. Click ‘Continue’
    6. Click ‘Select Another Make/Manufacturer’ and select ‘Raw’. Click ‘Continue’
    7. Click ‘Add Printer’
    8. Check that Banners are ‘none’ and Policies are ‘stop-printer’ (Error) and ‘default’ (Operation)
    9. Click ‘Set Default Options’
    10. Under the Administration tab, click Add Class.
    11. Enter a Name, Description, Location and select the Members:
    a. Name = Queue Name (e.g. ZebraRAWClass)
    b. Description = Human Readable Description (e.g. ZebraRaw)
    c. Location = Human Readable Location (e.g. My Mac mini)
    d. Members = the Queue Name of the new raw printer
    12. The only visible printers on the list then will be your non-raw printer/s and the printer class which you just created.
    13. Now when printing from Java Code, you must use the class as the printer in order to print raw ZPL.
    So in my example code in the previous post, I would print like this: PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","ZebraRaw");
    And it works! I hope this can help others with the same / similar problem.

  • Error while doing a mass change in info record

    Dera Experts ,
    We are getting the following error while settin g the complete deletion indicator for a purchase info record through t code MEMASSIN.
    Communication block for info record incompletely transferred
    Message no. 06327
    Diagnosis
    Internal error.
    Procedure
    Please inform your programming department or system administrator.
    We are able to mark the deletion indicator maually through ME12 T code .
    Please suggest what coiuld be wrong ?
    Regards
    Anis

    Hi,
    I have searched and could not find any information related this error in the transaction you use. I suggest that you open a ticket at SAP, so that an expert can have a look into your system.
    Best Regards,
    Arminda Jack

  • Error while making iview with visual composer

    I am trying to make an iview usign visual composer.
    In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
    "Portal request failed
    (com/sap/mdi/ObjectFactory)"
    What do i do ?
    Would appreciate a prompt help!
    thanks again for making me move ahead
    I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
    Regards
    Deepak Singh
    Hi Venkat ,
    I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
    7.1.2 Adding References
    To enable some of the features in the portal environment, add references to reference file.
    To add a reference:
    1. With a text editor, open the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers\reference.txt
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers/reference.txt
    2. Look for the line:
    reference service:eisconnector library:jco
    3. After the line mentioned in previous step, add the following in a new line:
    reference service:eisconnector library:com.sap.mdi
    4. Save your changes and close the file.
    5. Delete the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers.bin
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers.bin
    6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
    7. Restart the SAP J2EE Engine again.
    I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
    Now what do i do ?
    I think i am stuck up badly here .
    EVERYBODY IN THE FORUM PLEASE HELP
    I am not sure how a thing that is mentioned in the installation guide cannot work !
    Regards
    Deepak Singh
    Deepak,
    It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
    I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
    could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
    Hope this helps.
    -Venkat Malempati
    Note: Please reward points if your problem is solved or useful.
    Venkat ,
    I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
    1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
    2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
    Both the options didn't work .
    I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
    Not sure what should i do now .Is reinstallation the only solution ?
    Is there a solution from the administrator console ?
    Regards
    Deepak Singh
    Deepak,
    No you don't need to re-install. Try the following.
    1. First start the state controller by runing go.bat in the following directory.
    /usr/sap/xxx/j2ee/cluster/state/go.bat
    You get the message waiting for cluster manager.
    2. start the server in a different window
    /usr/sap/xxx/j2ee/cluster/server/go.bat
    You get the message waiting for cluster manager
    3. Start the dispatcher
    /usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
    Please let me the know the error messages.
    You can chat with me between 10:00 - 11:00 PM US EST.
    Regards
    -Venkat Malempati

    People ,
       I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
    1) [DBMS]: ID3004:DB file header do not match exception .
    com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
    2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
    [Framework -> criticalShutdown] Service dbms startup error !
    After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
    What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
    Regards
    Deepak singh

  • Error while creating BOM

    Hi
    iam facing error while creating, changing and display BOM.
    Error: Status MHCO of the user interface SAPLCSDI missing.
    rgads

    Dear,
    MHCO - BOM item screen GUI status..Are you using any Alternative item?
    Have you applied any new patch in the system?
    Contact ABAPer, can give more details
    In SAP service place serach for this interface program,,,you will get many notes on this.

  • Error while creating BOM using BAPI (urgent)

    Hi all,
    Thanks for ur help. i am getting some error while creting a BOM using that BAPI
    BAPI_MATERIAL_BOM_GROUP_CREATE.
    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

    Hi shashi,
    Thanks for ur help.i tried after passing the group but it is giving same error.
    i am getting the error
    "Error/warning when checking the structure of the BOM group with ID= test"
    i am gettig the above error when i put bomgroup-bom_group_identification = 'TEST'.
    whatever i am putting in this field, the same error is comming having different value.
    if i put--- bomgroup-bom_group_identification = ' '. then i will get error
    "Error/warning when checking the structure of the BOM group with ID=
    if i omit that field, then also , i am getting same error.
    plz suggest what r the fields i need to pass for BOMGROUP structure for that bapi?
    regards
    pabitra

  • Error while executing Initialize with Data Transfer for 0FI_GL_10

    Hello All,
    Post Pre prod refresh, our timestamp for the datasource 0FI_GL_10 got reset. Due to which our deltas did not bring any records to the BW system.
    First we did an Initialize without data transfer for all the BW related datasources. The deltas were then set properly for all datasources except 0FI_GL_10.
    We then raised a message to SAP and they suggested to run the 'Initialize with data transfer' for 0FI_GL_10 so that the timestamp is set and accordingly the deltas are fixed.
    The issue now is we are getting the following error message while running INIT with data transfer.
    Job terminated in source system --> Request set to red
    Message no. RSM078
    We have copied the data till July 1st week of 2011.
    Please advice. The issue is very critical.
    Thanks & Regards
    Sneha

    Hi Arvind
    Thanks for your inputs.
    Please find below the details of the short dump.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          09/07/2011 11:25:32
    Short text
         SQL error in the database when accessing a table.
    What can you do?
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    How to correct the error
         Database error text........: "ORA-01652: unable to extend temp segment by 128
          in tablespace PSAPTEMP"
         Internal call code.........: "[RSQL/FTCH/FAGLFLEXT ]"
         Please check the entries in the system log (Transaction SM21).
         If the error occures in a non-modified SAP program, you may be able to
         find an interim solution in an SAP Note.
         If you have access to SAP Notes, carry out a search with the following
         keywords:
         "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    Information on where terminated
        Termination occurred in the ABAP program "GP_GLX_FAGLFLEXT" - in
         "FETCH_TO_ISTRUCTURE".
        The main program was "SBIE0001 ".
        In the source code you have the termination point in line 903
        of the (Include) program "GP_GLX_FAGLFLEXT".
        The program "GP_GLX_FAGLFLEXT" was started as a background job.
        Job Name....... "BIREQU_4N3PZQ12IA0X0PYGEA85IG39S"
        Job Initiator.. "BIWREMOTE"
        Job Number..... 11203300
        The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
        procedure "FETCH_TO_ISTRUCTURE" "(FORM)", but it was neither handled locally
         nor declared
        in the RAISING clause of its signature.
        The procedure is in program "GP_GLX_FAGLFLEXT "; its source code begins in line
        840 of the (Include program "GP_GLX_FAGLFLEXT ".

  • Error While entering GR/GI slip number in MIGO (Message no. NR751 )

    Hi Experts,
    While entering GR/GI slip number in MIGO,system throws an error
    "For object XABBELEGNR , number range interval does not exist OMJ6"
    Message no. NR751
    Diagnosis
    The database table NRIV has the delivery class 'C', i.e. the SAP default settings are only in client 000.
    Procedure
    Create the missing number range interval in customizing.
    Transaction code: OMJ6
    Configuration settings are already done in OMC1.
    external number range already maintained for this plant and year 2010 in  OMC1  OMJ6 .but still this error comes.
    would appreciate the help.

    Check these links:
    Posting a "goods issue" msg NR751
    Re: GR posting problem
    Check in OMR4 - document types in IV - document type assigned to Tcode MR11 (say KP) and then check document type tab in same Tcode for number range series assigned to doc type KP - maintain series in FBN1. You can check in NRIV database table with object RF_BELEG for number range series maintained.

  • Error while running interface with different execution context.

    Hi all,
    I have created an Interface in one context and when change the context to another one it gives error while creating internal error tables.
    It says table does not exist APPS.E$_XXCNV_CUST_BCUR_STG but there is no error while creating the table.
    The actual issue is that context is coming as UNDEFINED in Loading Connection tab and Default connection has the earlier context.
    This issue is not coming in all the interfaces only in few interfaces. The other interface runs successfully after changing the context.
    Please let us know if you have faced such an issue and what could be the cause of context coming as UNDEFINED.

    Hi,
    Can you cross check the logical schema of the interface which is pointed on the corresponding context? If its pointed to wrong DB(Physical Schema) it will errored out UNDEFINED error.
    Thanks,
    Guru

  • Change Rule 3 (with Engineering change order with change type)

    A customer created a recipe with Change Rule 3. Can you still change a recipe that has this setting?  What needs to be done if a change has to be done on the recipe?  Thanks!

    Hi Kevin,
    the change rule You described requires an engineering change order (ECO) with a change type for objects. Without ECR You can not change that recipe anymore.
    1) You need to crate an engineering change request (ECR) with transaction CC31
    2) In this ECR You need to create an entry in the "objects" section for "TL" with Your task list type, receipe group and with a change type
    3) In header of ECR You need to change the status to "check ECR"
    4) Go back to objects section, mark You object and choose function "Edit -> Object Status -> Change Possible"
    5) Go back to header and change the status subsequently to "ECR checked", "approve ECR" and "convert ECR"
    6) Save
    7) Go to C202 or C223 and use this ECR number to change Your master data
    Alternative B)
    If Your customer enterd this recipe with change rule by accident and does not intend to user ECM functionallity just delete the recipe using TC C298.
    Best Regards
    Wolfgang

Maybe you are looking for

  • Download iTunes Version 10.6.8 (old version)

    I just bought a new iPhone 5S and I need iTunes 10.6.8 or newer to set up my phone like my old iPhone. I currently have iTunes 10.6.3, and when I try and upgrade iTunes from the app itself it says that I have the most current version (but I obviously

  • Intel-dri and mesa-dri and vdpau in general

    I updated today and allowed pacman to replace intel-dri with mesa-dri. There is an optdep called mesa-vdpau but I don't see anything about this on the wiki for intel graphics.  Can someone set me straight? What drivers do I need for my in CPU graphic

  • Handling mp3s in safari

    hello currently when i click on an mp3 link the file downloads and then plays in iTunes. however, i would prefer it to play inside safari with the quicktime plugin. how do i change it so this happens this problem occured after i installed itunes 4.9.

  • OBIEE 11.1.1.5 presentation service not started  after fresh installtion

    hi all, we have installing OBIEE 11.1.1.5 64bit in AIX machine. after fresh installation all the services are up and running. once we restart the OPMN services, all the services are up except presentation service.. System Environment: OS : AIX 7.1 TL

  • Lightroom 3.3 and New Preset for External Editor

    I have a strange problem here. Using Windows XP Profesional, SP3 4gb Ram. When I want to add a new External Editor, I open Edit -> Preferences ->Additional External Editor. I set my parameteres, choosing Photoshop CS4...same as in the Edit In Photosh