It did not insert the materials in the BOM using 'CSAP_MAT_BOM_MAINTAIN'

Hi!
  We developed a ABAP technical maintenance BOM.
  In the program.
  Before, we got current BOM and eliminated all related items.
  Routine below.
     LOOP AT INTO it_stpo wa_stpo.
       MOVE-CORRESPONDING TO wa_stpo wa_stpo_i.
       wa_stpo_i-id_itm_ctg = wa_stpo-item_categ.
       wa_stpo_i-id_item_no = wa_stpo-item_no.
       wa_stpo_i-id_comp = wa_stpo-component.
       wa_stpo_i-fldelete = 'X'.
       APPEND TO wa_stpo_i it_stpo_i.
     ENDLOOP.
     CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
       EXPORTING
         Stuff = pv_matnr
         plant = p_werks
         bom_usage = p_tplis
         Alternative = p_altlis
         VALID_FROM = v_valid_from
         i_stko = pv_wa_stko
        TABLES
          t_stpo = it_stpo_i.
After , we inserted new materials in the BOM using the same function .
routine below
   LOOP AT INTO it_tab_i wa_tab_i ins_up_del WHERE = '1 ' OR
                                           ins_up_del = '2 ' .
        wa_stpo_i - item_categ = ' L' .
        wa_stpo_i -component = wa_tab_i - matnr_pri .
        v_menge_i = wa_tab_i - menge ( 9 ) .
        v_menge = v_menge_i / 1000 .
        WRITE TO v_menge wa_stpo_i - comp_qty .
        wa_stpo_i - comp_unit = " KG " .
        wa_stpo_i - issue_loc = " COS " .
        APPEND TO wa_stpo_i it_stpo_i .
      ENDLOOP .
* Including new materials in the BOM .
      CALL FUNCTION ' CSAP_MAT_BOM_MAINTAIN '
        EXPORTING
          Stuff = pv_matnr
          plant = p_werks
          bom_usage = p_tplis
          Alternative = p_altlis
          VALID_FROM = v_valid_from
          i_stko = pv_wa_stko
        IMPORTING
          fl_warning = v_fl_warning
        TABLES
          t_stpo = it_stpo_i
        EXCEPTIONS
          error = 1
          OTHERS = 2 .
But the new materials were not inserted.
Could you help me what is missing in the routine ?
Thanks.

Hi!
We found the problem.
The problem was in the fields ID_ITM_CTG, ID_ITEM_NO and ID_COMP.
  They were not cleaned when we were inserting  the new materials in the BOM.

Similar Messages

  • TS1702 I tried to download the upgrade, now it won't install and I can not access my documents. It said Vi did not have enough space for the upgrade so I made room but still no luck.

    I tried to download the upgrade, now it won't install and I can not access my documents. It said Vi did not have enough space for the upgrade so I made room but still no luck. If I delete the ap and reinstall I will lose my stuff. Any ideas? It won't open so I can email it to myself.

    What upgrade are you trying to install? Your profile shows iOS 5.1.1, which is the current max iOS.
     Cheers, Tom

  • HT201304 Visa has changed for the purchase of Apple products, i did not know how I put the new MasterCard number to finish the process of buying products Thank you

    Visa has changed for the purchase of Apple products, i did not know how I put the new MasterCard number to finish the process of buying products Thank you
    i have ibad mini
    and iphone4
    laptop sony
    can you sent for me the anser

    Changing Account Information  >  http://support.apple.com/kb/HT1918

  • HT4859 The guy at the verizon store programmed my phone before I got the chance to restore my apps, etc. from icloud- therefore i did not get to go through the setup assistant..  How do i get my apps and app data back on my phone w/o having to go through

    The guy at the verizon store programmed my phone before I got the chance to restore my apps, etc. from icloud- therefore i did not get to go through the setup assistant..  How do i get my apps and app data back on my phone w/o having to go through and re-

    To restore from an iCloud backup you have to erase the phone and start over.  To do this, go to Settings>General>Reset, tap Erase All Content and Settings, then go through the setup assistant again and when given the option, choose Restore from iCloud Backup.  There is no other way to do this.
    Be sure you phone is connected to wifi and your charger as this is likely to take some time to finish.

  • I installed a version of Firefox 6.0. in the Russian program, the social network for sending a short message, I can not insert a file in the message field.

    I installed a version of 6.0. In the Russian program of social network My World by sending a short message, I can not insert a file in the message or photo. How do I solve this key problems?

    I need to access Network Solutions website builder too. It isn't compatible with Internet Explorer v9, Chrome v13, or Firefox v5! I believe Firefox v6 is out now. This is a Network Solution's problem. What's involved in rolling back? Can you still get add-ons, plugins, and extensions for such an older version? You can't save your personal preferences can you?

  • HT4061 i did not set a passcode but the Ipad is prompting for one

    I did not set a passcode but the IPad is prompting for one

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • TS1362 I purchased an album from itunes and a song in the middle of the album did not download completely. So, the song obviously cannot be transferred to my ipod because the file cannot be converted. What can i do?

    I purchased an album from itunes, and a song in the middle did not download completely. All the others did. So, I obviously could not transfer that song to my ipod because the file could not be converted. What can I do?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • Getting "The server {85DE1C45-2C66-101B-B02E-04021C009402} did not register with DCOM within the required timeout." on WinXP machine

    Hi,
    I have a windows service written in .Net which access a COM component(This conponent is also written by me).
    The COM component launches Acrobat and uses it for generating Thumbnail files.
    I get following error is logged into event viewer  when CreateDispatch("AcroExch.App", &e)) line is exicuted.
    Error Message: The server {85DE1C45-2C66-101B-B02E-04021C009402} did not register with DCOM within the required timeout.
    This problem occurs only when the windows service run under a specified user account say "TestUser". i.e if service runs under "Local System" account then everything works fine.
    Also this problem only occurs on WinXP machine. i.e same thing on Windows2003 server works fine.
    I have given all required permissions for "TestUser" on  AcroExch.AVDoc and AcroExch.PDBookmark using dcomcnfg.
    Any help will be appriciated.
    Thanks and Regards,
    Anand Mahadik.

    Hello,
    start by running sfc /scannow to check if there is corrupt system files.
    If this does not hellp, I recommend performing an in -place upgrade of your OS.
    This
    posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Microsoft
    Student Partner 2010 / 2011
    Microsoft Certified
    Professional
    Microsoft Certified
    Systems Administrator: Security
    Microsoft Certified
    Systems Engineer: Security
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified
    Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified
    Technology Specialist: Windows 7, Configuring
    Microsoft Certified
    IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator 

  • The server {3EB3C877-1F16-487C-9050-104DBCD66683} did not register with DCOM within the required timeout

    Windows Server 2012 becomes slow and unresponsive, event logs show DCOM errors in event logs. After server reboot server works normally.
    Log Name:      System
    Source:        Microsoft-Windows-DistributedCOM
    Date:          10/28/2014 9:06:32 AM
    Event ID:      10010
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NETWORK SERVICE
    Computer:      ServerName
    Description:
    The server {1F87137D-0E7C-44D5-8C73-4EFFB68962F2} did not register with DCOM within the required timeout.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10010</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-28T13:06:32.743836700Z" />
        <EventRecordID>165767</EventRecordID>
        <Correlation />
        <Execution ProcessID="760" ThreadID="5560" />
        <Channel>System</Channel>
        <Computer>ServerName</Computer>
        <Security UserID="S-1-5-20" />
      </System>
      <EventData>
        <Data Name="param1">{1F87137D-0E7C-44D5-8C73-4EFFB68962F2}</Data>
      </EventData>
    </Event>

    Hi Avinash,
    If this issue occurs again, please follow steps below to troubleshoot it,
    Use the GUID in the error message to find what application it is.
    Using Regedit, navigate to the following registry value:
    HKEY_CLASSES_ROOT\CLSID\clsid value\LocalServer32. The clsid value is the information displayed in the message. Such as, {3EB3C877-1F16-487C-9050-104DBCD66683}
    In the right pane, double-click
    Default. The Edit String dialog box is displayed. Leave this dialog box open.
    Click
    Start, and then click This PC.
    Using the information displayed in the
    Value data box of the Edit String dialog box, navigate to the program.
    Right-click the program name, and then click
    Properties. The Properties dialog box for the program is displayed.
    To determine who the vendor is for this program, refer to the
    Version tab.
    If you can’t find the file in the corresponding path, please replace with a good file.
    Check if the related service have started. Stop and try to restart it.
    If you have 3<sup>rd</sup> party applications, please disable it temporary, to see if this issue was caused by them.
    For more details, please refer to links below, it provides more possible causes about event ID 10010.
    DistributedCOM Error ID 10010
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/77b1db1d-f186-4515-8f7d-2241942eb9b7/distributedcom-error-id-10010?forum=winservergen
    Best Regards,
    Tina

  • The server {4D8E7D87-0103-42F6-BE82-598C7E90A42C} did not register with DCOM within the required tim

    hello all.....
    when i try to convert .indd file to PDF file in C# , i got the following error
    The server {4D8E7D87-0103-42F6-BE82-598C7E90A42C} did not register with DCOM within the required timeout.
    just 1 day ago i installed adobe indesign cs4 in my system.
    do i need to install anything else???????
    please let me know.
    Thanks in advance.

    Hi Avinash,
    If this issue occurs again, please follow steps below to troubleshoot it,
    Use the GUID in the error message to find what application it is.
    Using Regedit, navigate to the following registry value:
    HKEY_CLASSES_ROOT\CLSID\clsid value\LocalServer32. The clsid value is the information displayed in the message. Such as, {3EB3C877-1F16-487C-9050-104DBCD66683}
    In the right pane, double-click
    Default. The Edit String dialog box is displayed. Leave this dialog box open.
    Click
    Start, and then click This PC.
    Using the information displayed in the
    Value data box of the Edit String dialog box, navigate to the program.
    Right-click the program name, and then click
    Properties. The Properties dialog box for the program is displayed.
    To determine who the vendor is for this program, refer to the
    Version tab.
    If you can’t find the file in the corresponding path, please replace with a good file.
    Check if the related service have started. Stop and try to restart it.
    If you have 3<sup>rd</sup> party applications, please disable it temporary, to see if this issue was caused by them.
    For more details, please refer to links below, it provides more possible causes about event ID 10010.
    DistributedCOM Error ID 10010
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/77b1db1d-f186-4515-8f7d-2241942eb9b7/distributedcom-error-id-10010?forum=winservergen
    Best Regards,
    Tina

  • The server did not register with DCOM within the required timeout.

    Hi All,
    I am using Thinkpad T43 (type 1871) with Windows XP SP3, but sometimes I find the following message in the Event Viewer:
    The server {7160A13D-73DA-4CEA-95B9-37356478588A} did not register with DCOM within the required timeout.
    What may be the reason for this message?
    How it can be solved?
    Regards,
    Alper

    have a look here http://www.grc.com/freeware/dcom.htm
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • HT3702 My credit card was charged for two purchases in the amount of 14.95 each. I did not authorize these purchases. The purchase dates were 12/24 and 12/25.

    My credit card was charged for two purchases in the amount of 14.95 each. I did not authorize these purchases. The purchase dates were 12/24 and 12/25.

    Contact Apple at:
    https://expresslane.apple.com/
    Have you downloaded any apps on an iPad/iPhone for kids? If so you may have in-app purchases enabled for free games or similar, and they've racked up charges for you.

  • The bookmark tab went from the right side to the left side. I did not change that. what cause the change from the right side to the left side?

    The bookmark tab went from the right side to the left side. I did not change that. what cause the change from the right side to the left side? Also the the Mozilla Firefox tab on the upper left hand corner changed.
    Its was a red colored tab and now its blue in color. I did not change any thing!

    Hey jimmiet,
    There were some recent ui changes around the downloads manager. What version where you on before? Anyway, you can customize things in Firefox really easily. Take a look at [[Customize Firefox controls, buttons and toolbars|this article on customizing Firefox]] for details. Should be a piece of cake to move the bookmarks button.
    As for the color of the button, you might be in [[Private Browsing - Browse the web without saving information about the sites you visit|Private Browsing]] mode. That changes the color of the button from orange to a purplish color.
    Matt

  • HT6154 i had some charges show up on my itunes account that we did not authorize so i disputed the charges and now my itunes ID has been deactivated. How can i reset it?

    I had some charges that showed up on my itunes account that we did not authorize. I disputed the charges and now my Apple ID has been deactivated.  How can I reset it?

    mcgahagan wrote:
    I had some charges that showed up on my itunes account that we did not authorize. I disputed the charges and now my Apple ID has been deactivated.  How can I reset it?
    Since you disputed the charges with your credit card company, the CC company reversed the charges and Apple (correctly) locked the AppleID.
    You will need to contact Apple -> http://www.apple.com/support/appleid/contact/
    and explain what happened.

  • I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    Try Here  >  http://pondini.org/TM/C12.html
    More Info here  >  http://pondini.org/TM/Time_Capsule.html

Maybe you are looking for

  • Illustrator CS4 keeps quitting when I try to open an old file or start a new one

    I have CS4 14.0.0. I'm on a MAC system 10.5.8 Tried trashing the preferences and that didn't help. Uninstalled the software and re-installed from the original disc, made all 5 of the updates possible, until no more were available. Still having the sa

  • WRT120N for gsm and pc

    Hello, i've got the following problem/question. I have W-less router WRT120N and i'm using it for WLAN connection for one laptop. My internet provider has restricted the TTL and i can't share internet between more computers. But i'm wondering if i ca

  • Labview 5.1 text to speech

    Hello! I would like to know the minimum version of Labview to use "text to speech" function, if there is one? The lowest I've found is an example for Labview 6.1 to use with Microsoft SDK 5.1. I have access to Labview 5.1 at the moment and I wonder i

  • Anyone experience with Oracle Release Management?

    Hi, I don't know in which forum to post this, but Order Management seems to be most appropriate. I am looking for someone with experience in Oracle Release Management. We are an Automotive company and a couple of our customers use EDI and we have man

  • What's with this warning?

    Sometimes when I've recorded an audio track in Logic Pro, I normalize the audio. When doing so, I sometimes get a warning message that the track is used in one other song, even though I know that it's not the case, as I've often just recorded it. Doe