Store BOM with doc-links

Hi,
I am trying to store a BOM with document links attached to the header and positions. When I call the function CSAP_MAT_BOM_READ it gives me the stored doc-links, but using the funtion CSAP_MAT_BOM_MAINTAIN doesn't change/add/delete anything concerning the document links.
(e.g. I set the flag FLDELETE in the internal table containing the list of linked docs, but it doens't seem to have any effect).
Am I missing something ?
Thanx in advance,
Karsten

Hi,
I know, this is a very old thread, but it was the only one I found by searching that matches exactly my problem.
I tried to execute the FM CSAP_MAT_BOM_MAINTAIN in SE37 in test mode.
I can add new positions in STPO, no problem, but no matter what I try, i can't insert Doclinks to STPO.
No new entries in DRAD with STPO_DOC are inserted.
I executed CSAP_MAT_BOM_READ to examine the contents of an existing DOC-STPO Link.
I copied the values from CSAP_MAT_BOM_READ T_DOC_LINK to CSAP_MAT_BOM_MAINTAIN T_DOC_LINK but no error and no data inserted in DRAD.
T_DOC_LINK:
OBJECT_ID=2
BOM_NO=00002277
DOKAR=DRM
DOKNR=PS-TUR
DOKVAR=00
DOKTL=000
DOKOB=STPO_DOC
OBZAE=0000
OBJKY=66D88F76A9A5D611859A00902761A739
I also tried to fill
ITEM_NODE
ITEM_COUNT
No entries in STKO.
I can't find a documentation or an example.
What am I doing wrong?
Thanks a lot.
Mick

Similar Messages

  • 808 Belle FP2 - CarMode with Mirror Link

    As some probably already know since Belle FP2 where basic CarMode application is pre-installed in device firmware it is currently impossible to purchase CarMode with Mirror Link for appropriate head units as Nokia Store says that it is already installed upon device; to date any support enquiries via Nokia Store application have elicited zero response concerning this issue.
    When a client approached me upon how to resolve this issue quickly, had to purchase the grottiest condition N8 downgrade software to Symbian Belle, then get client to purchase CarMode with Mirrorlink with their Nokia Store credentials; ironically Nokia Store upon client 808 then shows that CarMode with MirrorLink v2.0.6503 is now available as an update to install!
    Happy to have helped forum in a small way with a Support Ratio = 37.0

    zjuka wrote:
    On Store CarMode with Mirror Link have UPDATE button.
    That is a known issue since the last release: In the ‘Car mode’ app itself, an old version number is shown although a newer is installed. In the ‘Store’ an update is shown, although it is installed already. Furthermore, from the menu icon, you do not know whether you have MirrorLink or not.
    Therefore, to double check if you have MirrorLink and which version, please zjuka, go to:
    Menu » Settings » Installations » Already installed » MirrorLink »
    2.00(6482) for Nokia Belle Refresh or
    2.00(6503) for Nokia Belle Feature Pack 2
    not Nokia Belle Refresh, only Nokia Belle Feature Pack 2:
    Menu » Settings » Applications Settings » Positioning » Find my location » Positioning methods » Car Head-Unit GPS = MirrorLink. By the way, you should turn-off that car head-unit positioning-method because it blocks the GPS localisation in the current Nokia Public Transport version 2.5.0 (HERE Transit).
    If you have the above menu items and version: Ignore that Update button, please! Did that help?

  • I would like to send an email with a link to an app I found in the app store.  How do I do that?

    I would like to send an email with a link to an app I found on the App Store.   How can I do that?

    Can you help me with this one. I cannot seem to add an active link to a web site to an email. In windows I have the option to "add a link" and it will show up as a hot link that can be clicked on to open the site.
    Thanks

  • Performance issue when opening DOCX Word Doc with Excel Links

    Is this a bug or is there a config setting that can prevent Word from needlessly opening Excel repeatedly (upon initial open of a DOCX Word doc) when pre-existing links should NOT be updated. The behavior is good using 2003 formats (DOC & XLS),
    but varies significantly (~100:1 range in performance) depending on the test scenario (see below) using DOCX with XLSX.
    We can't move our environment to the new XML formats until we can find a fix. We were led to believe Microsoft knew this to be a bug in Office 2007, but it has NOT been corrected in Office 2010. Omitting a detailed explanation for why we need to
    do this, here's our test scenarios:
    -Currently testing Office 2010 Pro Trial version on WIN XP SP3. (We have found similar results using Office 2007 with Win7 or XP).
    -Word Option Deselected/DISABLED: "Update Automatic Links at Open"
    -The Word Doc contains 100 linked Excel tables and is 130K in size (DOCX).
    -Each link points to the same 10x10 cell range in one Excel Workbook located in same directory as the Word Doc, although other tests using separate directories produced similar results.
    -The Excel Links were inserted into Word via Paste Special/Paste Link/MS Excel Worksheet Object.
    -The workbook (XLSX) is 15K in size.
    -All Links are set for "Manual" update, our testing showed no difference if links are set to "Auto".
    -Again, Word is set to NOT update Automatic links when the document is opened.
    -Results shown below are for local hard drive test.
    -Network response times are slightly greater on 100mb LAN
    -Word is completely restarted prior to each test to make sure there's no application caching involved.
    LOCAL DRIVE RESPONSE TIMES TO OPEN THE WORD DOC in Docx format:
    1. Open the Word Doc from Word with Excel closed - 175 seconds (Excel appears to be opened and closed once per link)
    2. Open the Word Doc from Word with Excel open & workbook closed - 33 seconds (Excel appears to be accessed once per link)
    3. Open the Word Doc from Word with the linked workbook already open - 7 seconds (Excel appears to be accessed once per link)
    4. Rename Excel XLSX workbook so that Word can't find it. Then open Doc the from Word. 1-2 seconds (Excel does not appear to be invoked)
    5. Repeat ALL of the above scenarios 1-4 using DOC and XLS files. These files are created with "Save AS" option based on original test files and then re-pasting the links.  1-2 seconds to open the Word Doc (Excel does not appear to be invoked)
    Summary
    Using DOCX/XLSX, if Word can't find the linked spreadsheet it gives up and performs nicely during file-open. Otherwise, Word performs needless, time-consuming access to Excel, and in the worst case, opens and closes Excel repeatedly in the background.
    Testing with DOC/XLS formats gives good performance across all scenarios.

    It is a known bug and one for which AFAIK, there has been no fix.  The only way that I could get around it in a particular application was to do something like save the linked information as document variables and then on opening the document recreate
    all the information.  My memory on exactly what I did is a bit hazy, but I can go back and check if you are interested.
    -- Hope this helps.
    Doug Robbins - Word MVP,
    dkr[atsymbol]mvps[dot]org
    Posted via the Community Bridge
    "galmcrantz" wrote in message news:[email protected]...
    Is this a bug or is there a config setting that can prevent Word from needlessly opening Excel repeatedly (upon initial open of a DOCX Word doc) when pre-existing links should NOT be updated. The behavior is good using 2003 formats (DOC & XLS), but varies
    significantly (~100:1 range in performance) depending on the test scenario (see below) using DOCX with XLSX.
    We can't move our environment to the new XML formats until we can find a fix. We were led to believe Microsoft knew this to be a bug in Office 2007, but it has NOT been corrected in Office 2010. Omitting a detailed explanation for why we need to do this,
    here's our test scenarios:
    -Currently testing Office 2010 Pro Trial version on WIN XP SP3. (We have found similar results using Office 2007 with Win7 or XP).
    -Word Option Deselected/DISABLED: "Update Automatic Links at Open"
    -The Word Doc contains 100 linked Excel tables and is 130K in size (DOCX).
    -Each link points to the same 10x10 cell range in one Excel Workbook located in same directory as the Word Doc, although other tests using separate directories produced similar results.
    -The Excel Links were inserted into Word via Paste Special/Paste Link/MS Excel Worksheet Object.
    -The workbook (XLSX) is 15K in size.
    -All Links are set for "Manual" update, our testing showed no difference if links are set to "Auto".
    -Again, Word is set to NOT update Automatic links when the document is opened.
    -Results shown below are for local hard drive test.
    -Network response times are slightly greater on 100mb LAN
    -Word is completely restarted prior to each test to make sure there's no application caching involved.
    LOCAL DRIVE RESPONSE TIMES TO OPEN THE WORD DOC in Docx format:
    1. Open the Word Doc from Word with Excel closed - 175 seconds (Excel appears to be opened and closed once per link)
    2. Open the Word Doc from Word with Excel open & workbook closed - 33 seconds (Excel appears to be accessed once per link)
    3. Open the Word Doc from Word with the linked workbook already open - 7 seconds (Excel appears to be accessed once per link)
    4. Rename Excel XLSX workbook so that Word can't find it. Then open Doc the from Word. 1-2 seconds (Excel does not appear to be invoked)
    5. Repeat ALL of the above scenarios 1-4 using DOC and XLS files. These files are created with "Save AS" option based on original test files and then re-pasting the links.  1-2 seconds to open the Word Doc (Excel does not appear to be invoked)
    Summary
    Using DOCX/XLSX, if Word can't find the linked spreadsheet it gives up and performs nicely during file-open. Otherwise, Word performs needless, time-consuming access to Excel, and in the worst case, opens and closes Excel repeatedly in the background.
    Testing with DOC/XLS formats gives good performance across all scenarios.
    Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org

  • Will the Google Docs app in the iTunes store work with my new iMac? Description states it works with the iPod, iPhone and iPad.

    Will the Google Docs app in the iTunes store work with my new iMac? Description states it works with the iPod, iPhone and iPad.

    There's iOS apps for iOS which is what iPods, iPads, and iPhones use.  Then there are Mac Apps (which is a different store) which is what run on a computer with OSX.

  • Google Docs link Help PLEASE

    would anyone mind please helping me understand why the google doc link URL that i embed in my website keeps going to the main page instead of the document I am trying to link - or alternatively is requiring me to login before I access the document?
    I /simply/ want to be able to let someone click on a link and go to a document that I have posted to Google docs and each time I do this one or the other of the above issues comes up.
    I even tried to SHARE the document from withing the Google Docs interface and when I click on the two links in the email they both come up as inacessible (problem number 3).
    I've shared 2011  publication.pdf
    Click to open:
    2011  publication.pdf
      Google Docs makes it easy to create, store and share online documents, spreadsheets and presentations.
    I've commented out some text there but it seems to me that these never work. For instance on the last link on this page here I never get it to go to the document: http://www.universaljointdesign.com/wwwcms/welcome.php?menu=2
    Can anyone push me along with this one?
    Thanks.

    I got the issue. The responsibility was not attached to the user..
    Thanks..

  • Comparing  prices for a BOM with selling and distribution price

    Good day
    I have been working on a query to bring information for  a crystal report required by a client they want to compare the finished BOM with the selling price or distribution price of that BOM. I am not understanding a scenario where this BOM is sold to a particular BP price will definitely vary with BP depending on the terms and special prices. Can anyone help me enhance my query  to have valuable results.
    SELECT
    Distinct T0.Father AS [BOM Product N0.],
    T0.Code AS [BOM Item Component],
    T2.ItemName AS [BOM  Description],
    T0.Quantity AS [Component Qty],
    T0.Price AS [Comp Cost],
    (Select (t3.Factor * t0.Price * t0.Quantity)
    from OPLN t3
    where t3.ListName =  '1.selling price' ) [Selling Price],
    (Select (t3.Factor * t0.Price * t0.Quantity)
    from OPLN t3
    where t3.ListName =  '3.distPriceList' ) [Distribution Price],
    T0.PriceList AS [Comp Price List],
    T1.ListName AS [Price List Name],
    T2.AvgPrice
    FROM ITT1 T0
    INNER JOIN OPLN T1
    ON T0.PriceList = T1.ListNum
    INNER JOIN OITM T2
    ON T0.Code = T2.ItemCode
    Where T2.ItmsGrpCod NOT IN (101,110,105)

    Hi,
    Special price is in OSPP / SPP1 /SPP2 tables. Check the table to find the link.
    Thanks,
    Gordon

  • Passing hierachy node variable from BW to BO Webi Report in open doc link

    Hello All,
    We are working on BW-BO integration and creating Webi reports based on Bex queries.
    The question is regarding passing of a hierachy node value from BW to BO through open doc link.
    I see that when we pass hierarchy node value, we have to associate that with the corresponding infoobject technical name in the link but not sure in what format it has to be sent.
    For example, if ARM is the node value and 0HIERNODE is the infoobject , how should we send this value to BO.
    Please help.
    Thanks for your help,
    Regards,
    Tangudu S

    You cannot change anything here. You should really find out how the values are retrieved from the database
    THere is another option:
    1) Activate the tracing on your BOBJ server
      Check the following SAP notes (http://service.sap.com/notes) for that:
      Unix: Note 1235111
      Windows: Note 1260004
    2) Run your WebI report from the InfoView by choosing first the desired hierachy node value from the LOV of your prompt.
    3) Extract the MDX statement from the log file. It should contain the value for the hierarchy node. Copy this to the URL
    It is easier to find this out if you have access to a Crystal Reports Designer installation. Do you?
    Regards,
    Stratos

  • Job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name

    Experts,
    Please help me out here,Am facing this issue while scheduling a job in BIPublisher.
    job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name
    Thanks,

    You are probably installing on a hardened machine.
    The "installation guide" says that if you are doing so, you need to create a file named libx11.so.4 and update your LD_LIBRARY_PATH (see http://docs.iplanet.com/docs/manuals/messaging/ims52/ig/unix/overview.htm)but:
    1- the library name is libX11.so.4 and
    2- for jre a common file is not enough, you need to install SUNWxwplt at least. This will install the library on /usr/openwin/lib.
    You can check the results running <server-root>/bin/base/jre/bin/jre
    Hope that helps and sorry about my poor english.

  • App will not download to iPad when purchased from App Store - stuck with Cloud icon

    Device : iPad Air 32gb wi-fi model (not cellular data)
    OS version : 7.1.1 (up to date)
    Location : UK
    Problem : App will not download to iPad when purchased from App Store - stuck with Cloud icon
    Last night I tried to download an app over wi-fi onto my iPad Air, but the app did not install.
    I have plenty of space (the app is 24.1mb, I have 3.4gb free space) and there are no restrictions whatsoever on my iPad - no blocks on App store purchases, no age-related restrictions, no country restrictions etc.
    Normally from the App Store page you would tap the price (in this case the app was free), enter your iTunes password, and the app would download.
    Also a new icon appears on the home screen and a circle shows the progress of the download.
    However this did not happen.
    Instead I have the Cloud icon (the one that shows when you have bought an app but it is not currently installed on your device) and a message that says "You've already purchased this, so it will be downloaded now at no additional cost".
    If I press OK I am then prompted to enter my iTunes password, the Cloud symbol briefly changes to a circle (and I mean for a split-second, like the blink of an eye) and then the Cloud symbol appears again.
    The app does not download - in fact it does not even *attempt* to download.
    I have tried this >20 times now and it always occurs excatly like this.
    After Googling this problem (which seems common) and reading over a dozen threads on this forum plus Apple's own official support pages, this is what I've tried:
    I can re-download other apps that I have previously purchased on this iPad, with no problems.
    I purchased another app on my iPhone 5 and was then able to download onto my iPad with no problems.
    I have reset my iPad >5 times - both by pressing/holding the home/power buttons, and also a full switch off and restart.
    I have logged out of my iTunes account on the iPad, and logged back in.
    The wi-fi is Virgin Media fibre optic broadband with a verified speed of 20 meg (confirmed by Speedtest) plus an 802.11-n Belkin router and my iPad will happily load web pages, stream videos on YouTube, download other apps etc.
    I have reset/rebooted my internet connection
    In an attempt to eliminate by broadband connection from the possible causes, I have switched off my router, linked my iPad to the hotspot feature on my iPhone and tried to download the app over cellular data, but still cannot download the app.
    I have tried on 2 other wi-fi networks but still cannot download this one app.
    My iTunes account has a cerdit balance from an iTunes card, but the app was free anyway
    Nothing I try will download the app in question.
    The app is iPad only, so I cannot install on my iPhone to try and kick-start the process.
    I guess I could install the app on my computer and then sync the iPad, but that's *working around* the problem - it's not *fixing* the problem.
    (Since getting the iPad I use almost never use my computer. And anyway what if I did not have a computer? Didn't iOS go "PC-free" with version 5?)
    I would like to call Apple but my 90-day telephone support has expired (the iPad is around 6 months old) and I don't want to buy Apple Care for this one problem.
    I can't make it to an Apple Store to speak to a Genius.
    Bearing in mind the list of things I've already tried, what do I do next?
    Thanks in advance for any support.

    Hi there.
    Thank you very much for your quick reply, it's really appreciated.
    No need to apologize, I actually found the phrase "If your iPad ever craps the bed" amusing under the circumstances
    I checked the list of installed apps like you suggested (Settings>General>Usage>Storage>Show all apps) but this problem app is not in the list. I have also swiped down on the home screen to search for it, but again it does not show.
    While it has not let me download the app (and I just tried it again) it has helped me to eliminate a few things from the list of what to try, and I can definitely conclude that it has not downloaded.
    I guess I need to fire up my PC and download it / sync my iPad.
    Thanks again for your help

  • How do I restore files from TM backups with broken links?

    I have Time Machine backups with broken links all over the more recent backups.
    I get the message "The alias “xxx” can’t be opened because the original item can’t be found." whenever I click on one of the links.
    I have made the backups on my external usb backup drive before before upgrading my internal disk to a larger one.
    Two questions: 1) How can I recover the files?  2) What happened, how can I repair the backup if possible?
    The sequence of events was: Made the latest backup.  Apple ran extended diagnostics overnight at the store and did a reinstall of the OS (10.8.2).  I passed on restoring the backup and went to an authorized service center and had them put in a new tera-byte drive.  I deleted (in the star-wars display) the oldest two and a middle backup leaving the Aug, Oct, and latest Nov. backups.
    Now I see 100's 1000's of bad links.  If I look at the backup (just look) with finder I can see directories for July and Sept in addition to the ones I didn't delete.
    It appears that the files are probably all there and I could recover them a few at a time if I poke around.
    I am tempted to do this before trying to repair the disk.  Yes, it will take me ages; but I would rather take the time than a chance at doing -Anything- that could even possibly make things worst.  I can see 3 senarios and wonder if anyone can say what would be best. And by best I mean **Safest**.
    1) Go in TM to the Aug backup that seems to have no (or maybe only a few) broken links and restore that; then move in TM to newer backups and restore one folder or file at a time on top of it.
    2) Do the same thing with a restore of Aug but then use the finder to copy newer files from the backup disk to the new disk.
    3) Do essentially the same thing; but do it all in finder.
    Of course that still begs the question of what happened and if the backup can be repaired; but to me, that is secondary to getting the data back.
    fyi- I have looked at the TM hints and debug-repair file.  I realize I can try a repair disk but I am tempted to try to get the data 1st unless someone is Sure a repair won't mung the data more.
    Thanks

    The section titled "Restoring data from Time Machine backups" in the following may help: http://support.apple.com/kb/HT1427

  • Win 7 Pro 64-bit / DW CS5 crashes when opening files with external links

    open any html, php, etc with a link to an external file - could be any type
    dw cs5 crashes
    this is on a fresh, clean install of win 7 and cs5 suite. hard drive was wiped clean before installing
    Has anyone experienced this issue also?
    This is extremely annoying...  why I should pay for software that doesn't work?

    "Enable Related Files" isn't the fix for this issue. It's slightly different - I wanted to still load related files, but only the ones local to the file I was editing.
    The fix was to use DW's Resolve To IP Address feature. It required adding a registry value - it fixed the issue straight away
    This Adobe support doc helped: http://kb2.adobe.com/cps/887/cpsid_88742.html

  • PSE 10 from Apple Store problem with camera raw 6.7 upgrade

    PSE 9 was not opening Nikon d4 raw files so I've purchased PSE 10 at the Apple Store and installed on my Mac. PSE 10 is still not opening d4 raw files (camera raw 6.5). I tried to update to 6.7 taken from Adobe but did not succeed to install it. Could you please advice what to do?

    Thanks for your help. It works !!!
    Bartek A
    Wiadomość napisana przez Barbara B. w dniu 17 maj 2012, o godz. 00:34:
    Re: PSE 10 from Apple Store problem with camera raw 6.7 upgrade
    created by Barbara B. in Photoshop Elements - View the full discussion
    You will have to do the update manually for the app store version. Instructions are here:
    http://forums.adobe.com/message/4106477
    (that's for 6.6 but the steps/file paths are the same for 6.7)
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4414265#4414265
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4414265#4414265. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Store and Display doc/pdf files in the database using Forms

    Hi all,
    How can i store and display doc/pdf files in the database using Forms 10g?.
    Arif

    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Simple BOM with sub-items (very very urgent)--1 item & 2 subitem

    Hi all,
    i am creating a BOM with sub-items using  'BAPI_MATERIAL_BOM_GROUP_CREATE'. while  creating sub-item, it is taking only one subitem. but i am giving multiple sub-items per item.
    i am giving a program where i am assigning 2 subitems to one item.
    after tha bapi call, 1 subitem is creating.
    i have tried so many times by clearing the work area & calling the bapi for each sub-item.but it is creating only one sub-item only.
    i am giving an example of my report.plz correct it if i am wrong.it is veryt very urgent.
    any idea will be highly appreaciated.
    Regards
    pabitra
    REPORT ZTEST_CHIN message-id 01.
    This code will create a material BoM for the material
    MAINMATERIAL with the components COMPON1 and COMPON2.
    Data Declaration
    DATA:
        it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
        it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
        it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
        it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
        it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
        it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
        it_subitems LIKE bapi1080_sui_c OCCURS 0 WITH HEADER LINE,
        it_subitemas LIKE BAPI1080_REL_SUI_ITM_C OCCURS 0 WITH HEADER LINE.
    Fill the data
    Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BGR'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'.  " YOU COULD CHANGE THE BOM USAGE TO YOUR
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    Header Details of the different variants
    CLEAR it_variants.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '1.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'NEW'.
    APPEND it_variants.
    Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = 'BAPIBOMFG1'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    Linking subitems to the corresponding variants
    CLEAR it_subitemas.
    it_subitemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitemas-sub_object_type = 'SUI'.
    it_subitemas-sub_object_id = 'SIM1'.
    it_subitemas-super_object_type = 'ITM'.
    it_subitemas-super_object_id = 'SIMPLE1'.
    APPEND it_subitemas.
    Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'NEW'.
    APPEND it_itemas.
    Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = 'BAPIBOMRW1'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_subitems.
    it_subitems-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitems-object_type = 'SUI'.
    it_subitems-object_id = 'SIM1'.
    it_subitems-subitem_no = '0001'.
    it_subitems-INSTALLATION_POINT = 'ab1'.
    it_subitems-subitem_qty = '1'.
    APPEND it_subitems.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
      EXPORTING
        all_error         = 'X'
      TABLES
        bomgroup          = it_bomgroup
        variants          = it_variants
        items             = it_items
        materialrelations = it_matrel
        itemassignments   = it_itemas
        subitems          = it_subitems
        subitemassignments = it_subitemas
        return            = it_return.
    CLEAR it_subitems.
    it_subitems-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitems-object_type = 'SUI'.
    it_subitems-object_id = 'SIM1'.
    it_subitems-subitem_no = '0002'.
    it_subitems-INSTALLATION_POINT = 'ab2'.
    it_subitems-subitem_qty = '1'.
    APPEND it_subitems.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
      EXPORTING
        all_error         = 'X'
      TABLES
        bomgroup          = it_bomgroup
        variants          = it_variants
        items             = it_items
        materialrelations = it_matrel
        itemassignments   = it_itemas
        subitems          = it_subitems
        subitemassignments = it_subitemas
        return            = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
      WRITE:/ it_return-type, it_return-id, it_return-number,
              it_return-message.
    ENDLOOP.

    Hi rich,
    Thanks. i will do the same.can u plz suggest me , where i am doing mistake in my coding to create sub-items in a BOM?
    Thanks & Regards
    pabi

Maybe you are looking for

  • How do I enable my camera when the option is greyed out in iChat?

    This may be a dumb question, especially as I only 'converted' to Macs 3 days ago... but when I start iChat the option to enable my camera is greyed out (it wasn't this morning when I checked) - what have I pressed to disable it and how do I re-enable

  • Why is my wish list not updating when I add songs through iTunes Radio?

    Wish list is not updating.

  • Input data to variable type char

    Hello, i would like to know how to input data to Char import java.util.Scanner; Scanner sc = new Scanner(System.in); x = sc.nextInt(); but, its not working on Char

  • Problem with butterworth simulation

    I am trying to simulate a butterworth filter, as per Analog Devices application note AN-209. I captured the first stage (attached multisim file). However, when I simulate, I get some weird result. Looking into the scope, the circuit is oscillating, w

  • Oracle Query Builder 2.5 error

    May be I'm posting it to the wrong forum but... I'm getting the error BRW-15954: Oracle Query Builder 2.5 tables are missing or not installed properly when I try to launch Browser. What can I do about it? Help please!!! Thanks, Alex