XMSEG in MB1B with BADI before_update....

Greetings guys,
My problem is how can i delete a row of table xmseg with fields symbols. I am working this problem in a implementation of badi MM_document_badi (...before_update).
Thanks.

Hi Ester,
Please check the BADI documentation which says :
"Note that no system messages may be sent in the methods. The only exception is the AT_SAVE method. Within this method, a system message may be issued, but only if you trigger the exception ERROR_WITH_MESSAGE at the same time."
So reading this , I feel that you need to code in the AT_SAVE method to display the error messages.
Cheers,
Disha

Similar Messages

  • Error while transporting infospoke with BADI in BW7.0

    Hi:
    We have an infospoke with Transformation ( ie with BADI) in BI7.0.
    While transporting to Quality box it gives error.
    "Transfer structure /BIC/CZZTXXXXX3 could not be generated
    Error when activating InfoSpoke ZTXXXXX3.
    Message no. RSOH010 "
    Could you please help in rectifying the error.
    PS: we tried transporting BADI first and then the infosoke but still its failing.
    Regards!
    Saniya

    Hi
    Check the forum link below
    Transport Problems with Spokes that have BADIs
    Thanks

  • What causes ad-hoc to run with bad plan and its resolution

    One of our Company Application funcnalities uses the ad-hoc query that returns top first row from the result sets .There has been several times since this ad-hoc query ran with a bad
    execution in last 8 months .There is no specifice time and date or day when this query run with bad execution plan ,however whenever this query ran with a bad execution plan on SQL ,that happed always early in the morning , before 6am .The setting of database
    parameterization is set to forced .There is SQL maintenance reindexing job that runs each night at 2am that changes the recovedry model of our production database from Full to simple and changing back from simple to full after the reindexing operation .That
    causes the SQL plans to flush each night .The next day morning , when the application ad-hoc query runs on SQL first time , SQL generates a new plan for that query . Some strange reason , SQL genarates a good plan for that ad-hoc query most of the times ,but
    sometime this query picks up a bad plan .Whenever it happen,the application function becomes exetremly slow and it seems that the rest of the fuctionalities work fine meantime .
    Our application vender is aware of this issue and this issue will be fixed in the application next release .Developer is converting the ad-hoc query into stored procedure to fix this
    issue .Application new relase will not available for next 2-3 months ,meantime we still have to deal with the ad-hoc query bad execution plan issue . Usually ,when the ad-hoc query run with the bad execution plan , I retrieve the query bad plan and just remove
    the plan for that particular query from cache .Once the bad plan is removed from cache , the perfomance gets back to normal .
    As my understanding, this issue is related to parameter sniffing .but anyone thinks there are other factors responsible for this issue such as the network problem , the resource intensive
    report ran or something else .
    Has anyone have step by step troubleshooting steps that could help me with my investigation and what areas
     do I need to look into in order to investigate what could caused the ad-hoc query to pick up bad plan ?
    Any help will be apprecited .
    Daizy

    When we upgraded our Production Database to SQL server 2008R2 enterprise Edition. We ran into the transaction log file to grow too large during the reindexing job activities at night .To prevent the transaction log file to grow big , we had decided to change
    the recovery model of database from FULL to Simple before the reindexing job starts and the recovery model of Database is changed from Simple to Full after the reindexing job finishes . We also have the differential backup job setup right after the recovery
    model change back to full so the transaction log backup chain does not break.
    The transaction log chain breaks when you set the recovery to simple.
    Yes, if you take a diff backup, you can apply transaction logs from that point
    if the diff backup is good. If the diff backup is bad, you will lose all updates after you set recovery to simple. And, yes, when you hardware starts to deteoriate, you should not be surprise that the last backup is not good.
    Again, please stop setting recovery to simple, unless you have a very relaxed RPO in your SLA. Use bulk-logged recovery instead.
    By the way, you do take a t-log backup before you change the recovery mode, don't you?
     Changing the database recovery model does flush the SQL plans for specific Database. Please review this linkhttp://sqlblogcasts.com/blogs/steveh/archive/2010/09/02/changing-recovery-model-removes-plans-from-procedure-cache-for-a-database.aspx
    Hmmm. I don't have the time to verify this right now. Anyway, reindexing is good enough to flush the cache of most plans.
    I have pretty much all required info regarding this query , but what other areas or investigation do I need to do for the query parameter sniffing issue ?
    Have you researched what values the initial plan is sniffed for?
    As Erland said  adding space in query ,I don?t know adding space means just add additional space in the query so it hashes a different values .Please advice .
    Obviously, you need access to the application code. The other alternative is to set up an early morning job that runs after this first execution and which forces a recompilation; either by evicting this specific plan or more brutally runs sp_recompile on
    one of the tables in the query.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Modify fields on screen with BAdI?

    Hi,
    I want to modify/customize a screen (Shopping Cart in SRM) in a way that some fields are displayed, others not. Some people told me that this might be possible using a BAdI. As I have never worked with BAdI technology before, I hope that somebody here can help me a bit.
    - Where do I get good documentation on BAdIs?
    - Are there any pre-defined BAdIs for modifying screens or would I have to create a new one?
    In advance, thanks a lot for your help!
    Regards,
    Verena

    Hello Verena,
    To look for list of Badi, run transaction SE18. Then enter '*' with the dropdown. You can search Badis by the application hierarchy or by Badi name/description. Once you found the correct Badi, run transaction SE19 to create an implementation of the Badi you found using SE18. Are these sound familiar? Yes, SE18 is like transaction SMOD while SE19 is like CMOD in the User exit. Badi is replacing User exit-ie new enhancement developed by SAP should be in terms of Badi. However, this does not means old User exits going away. You still can use user exits provided by SAP.
    So when you are searching for enhancement that you can use to intercept SAP standard program, you can search by Badi (SE18) or User exit (SMOD).
    Badi or User exit are delivered by SAP for giving customer an opportunities to change a little bit the standard way SAP process. You can't simple create a new BADI, it has to be delivered by SAP. You can implement a Badi given by SAP.

  • Bapi  to simulate transaction mb1b with WBS ELEMENT

    Hello people, I need a Bapi which  simulates transaction 'MB1B' with Reservation and using a wbs element.
    Any idea?¿
    Thks.

    Look at BAPI_RESERVATION_CREATE1
    rgd
    Frédéric
    (next time search the BAPI with transaction BAPI or in ifr.sap.com)

  • SDP94 Hide Buttons with Badi /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE

    Hello,
    The Promotion Planning in transaction SDP94 contains buttons for removing objects from the Promotion (fcode PM_CUT and fcode PM_CUT_ALL).
    Problem: The user should not be allowed to add or remove objects (materials) to the promotion.
    It works to remove the buttons for assigning objects (PROM_OBJT or PROM_MOBJT) but it ist not possible to remove the buttons for removing the objects (fcode PM_CUT or PM_CUT_ALL).
    I tried it with BadI /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE
    can anyone help me? Thanks
    bernhard

    hello,
    thanks for your answer,
    with the authorization object C_APO_PROM i can only prevent a user completely from changing a promotion. But the goal is that the user can plan data in the promotion, but he should not be allowed to add or remove objects (materials).
    Therefore the only thing i want to do is setting some buttons inactive.
    it is possible to set the buttons for adding objects inactive, but ist ist not possible to set the buttons for removing (PM_CUT) inactive.
    any ideas?

  • I want to enhance customer(XD01) with BADI screen

    hai sap-abap gurus
    I want to enhance customer(XD01) with BADI screen to populate custom fields and store its information. can anybody tell how to find out proper BADI for screen enhacement ? and how to Implement?
    pls tell me the detailed steps?

    Hi,
    1) Use the BADI's CUSTOMER_ADD_DATA & CUSTOMER_ADD_DATA_CS.
    CUSTOMER_ADD_DATA -This BADI used to activate the screen group and checks for account group
    CUSTOMER_ADD_DATA_CS -This BADI used to include the custom screen.
      2)Your code group need to be configure in SPRO before doing the work.
    Regards
    Kiran Sure

  • Rendering error message with "Bad TV" effect

    Hi Everyone!
    I am receiving a error message when rendering: "the effect "bad tv" failed to render: Your hardware cannot render at the requested size and depth"
    My computer has been setup to handle the demands of FCP- 2x3 GHz OCTO with 10 GB of RAM. Why is this happening? Does this mean I have to spend $1500 for a graphics card? Rather not...
    Here's more info about what I am trying to accomplish:
    (Media: DVD imported/exported with MPEG Streamclip to HDV 1080i60.
    Sequence settings: HDV 1080i60) I have my reasons for setting my edit up this way I promise!
    Editing for a commercial with some poor footage from 4th Gen. DVD. Instead of trying to make the video look the best, I've decided to go the other way and to make it look worse with Bad TV effect. I have layered 6 files of the DVD to create ghost or duplicate images both on the right and left side of the original footage to take the eye away from the crappy copied DVD footage. When I tried to render out the footage the error message comes up each time.
    THANKS!!!

    I think your confusion is based on the fact that you are interchanging the graphics card, and a video capture card. They are not the same thing.
    The graphics card or display card is the piece of hardware that drives your monitor. It's also used to enhance graphic programs like Photoshop, Motion, etc. It's also what is used to render the cool 3D graphics of games like Halo, and Call of Duty. A good one with an 8K texture limit is around $225 or so.
    A video capture card is a piece of hardware that allows you to capture full frame SD and HD (depending on the card) through an SDI or other cable. It is a way to capture the video signal as opposed to the video file (as Firewire does). These cards can also send full res signals out to a deck or broadcast monitor.
    As far as your gfx card goes, I think the 2600 is a 4K texture limit. Buying the ATI 3870 or 4870 (if your computer is compatible) will give you an 8K texture limit.
    To send full resolution HD out to a deck or monitor, you will need a capture card. Firewire is typically used to export DV DVCProHD or HDV. There are products out there that use firewire to IN/OUT other formats such as ProRes, but it's still a piece of hardware you have to buy. MOTU has a product like that. AJA has the IO that uses a firewire connection. There are others as well.
    I hope this clears up some of your confusion.
    Andy

  • Need to copy files from PowerBook G4 with bad blocks

    Yesterday my PowerBook G4 which is about 5 years old had problems starting up. When I ran Disk Utility on it I was notified that there was a SMART problem and I should backup my data immediately. I have a lot of important data that still needs to be backed up, but I am having problems with likely bad blocks.
    I have tried to backup the data two ways both using a firewire connection to my new MacBook Pro. First, I connected the computers via firewire and used the "T" option when booting my old laptop. I tried to copy the files over by clicking on the directories I need to back up and dragging them over to my new laptop. That would work okay, but when it would hit bad files, everything would freeze. My old laptop wouldn't copy over anymore and I couldn't eject the HD from my new laptop.
    Then I tried using Terminal to move files over. I connected the computers in the same way as above and opened Terminal from my new laptop. After going into the directory I wanted to copy from on my old laptop, I typed in the following command,
    find . -exec ditto -v {} ~/Data/M33/SE25/ \;
    since I was told that might skip over the files with bad blocks and continue on. It did copy some files over, but I had the same problem again with everything freezing up.
    I really would like to get as many files transferred as I can without having to do it one-by-one and restarting everything every time my old laptop freezes up. Does anyone have any suggestions how to get around the files with bad blocks or whatever might be happening to freeze up my old laptop?

    I did as suggested in that I used the Terminal option and let everything run for 8 hours. Here are some of the notes I got from the system.log file. I will group together the error messages from when they actually occurred. I started the process at midnight. My apologies for some of the mistakes in the posts in the error messages. Some of the characters are messing up the way it is being viewed in the post.
    +(Message at 00:46:17)+
    disk1s3: I/O error
    com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [FSLogMsgID 2052406730] [FSLogMsgOrder Last]
    disk1s3: media is not present
    disk logger: failed to open output file /Volumes/Macintosh HD 1/.fseventsd/0000000000006ca1 (Invalid argument). mount point /Volumes/Macintosh HD 1/.fseventsd
    disk1s3: media is not present
    0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [Path /Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F/live.1.i ndexHead] [FSLogMsgID 1668857477] [FSLogMsgOrder Last]
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in openindexfile:open file error: 22, live.2.indexHead
    disk1s3: media is not present
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in ContentIndexUpdateContent:Caught mach exception. Fun Fun Fun.
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in bool siwriteBackAndIndex(_SI*, __ContentIndex*, const __CFDictionary*, const __CFDictionary*, db_obj**, const __CFString*, int, bool, bool, bool, __SIUserCtx*, const __CFString*, int32_t, bool):ContentIndexUpdateContent failed
    - (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in void setAttributes(siset_attrctx*, Boolean, long unsigned int):Couldn't update index.
    disk1s3: media is not present
    +(Message at 00:46:19)+
    disk1s3: media is not present
    +(Message at 00:47:51)+
    jnl: disk1s3: replay_journal: from: 364032 to: 624128 (joffset 0x59000)
    +(Message at 00:47:52)+
    jnl: disk1s3: journal replay done
    +(Then from 00:59:30 to 02:45:20 there are occasional messages of the following)+
    disk1s3: I/O error
    IOSCSIPeripheralDeviceType0E::setPowerState(0x6366d00, 1 -> 4) timed out after 100128 ms
    It is now 8:20am and not a lot of data has been copied over and currently I can't tell if anything else is being copied over. The screen on the old laptop is frozen to the way I last saw it before going to sleep.
    Sorry if I posted more than I should have. I am just hoping that someone may be able to better see what is going on from the system log. I am going to check again in a couple of hours to see if any more data has been transferred.
    Thanks again for everyone's help with this.
    Message was edited by: MasterOdin

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • Solaris boot images fail with bad magic number

    hi guys, have had Solaris on boxes for allmost 10 years. I have never installed sol10, and I have a problem
    1. I download the zip file, then use winrar to unzip them..
    2. burt the image with nero 7
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt
    I do boot cdrom
    this fails with "bad magic number" I have redown loaded it and reburnt it with nero reinstalled
    and also changed out the DVD on SunBlade
    3 I found a copy of Solaris 8 and the I got back a 'bitch' where is Solaris 9 so, most likely the drive is OK
    HELP
    Cris Harrison

    Hello Cris,
    unfortunately I don't understand your last sentence !
    I found a copy of Solaris 8 and the I got back a '*****' where is Solaris 9 so, most likely the drive is OK
    If this was a Solaris 8 (7/01 or later) DVD that did successfully boot, your DVD drive firmware (assuming that this is the Sun Toshiba SD-M1401) is up-to-date. If the DVD drive has firmware 1007, an update to 1009 is required to boot from DVD. otherwise you won't be able to boot from DVD (boot from CD works and a DVD can be automounted/mounted).
    Partial output of probe-scsi
    Before update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011007
    After update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011009
    [*Patch 111649-04 - Toshiba DVD 1401 firmware update*|http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&queryKey5=111649&toDocument=yes]
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt ...
    Instead of trying to directly boot, disable auto-boot and retry after a clean power-on.
    Break with Stop-A
    setenv auto-boot? false
    reset-all
    boot cdrom
    Michael

  • MB1B with mov. type 311 - error message

    hai experts
    I have deleted AAA storage location (in spro) actually stock is available in that storage location. now again i have created AAA storage location (in spro), now i want to trf. that stock.. while doing MB1B with mov. type 311 at the time of saving i am getting error message like this: of the required qty. of material 12356789 (material code) 100.00 kgs remain (s) open.
    Pl. help me to come out of this problem
    Regards,
    sree

    Your deletion and recreation has nothing to do with this message, here am very certain.
    But to identify what the message caused, you have to give the full message along with its message number (double click message)
    It looks like you post your 311 in reference to a document (order, or reservation..). and the quantity that you move is smaller than the requested quantity.

  • Cant access search engines anymore. it always comes up with: bad request, invalid hostname

    for some reasen my laptop started to connect to the internet via my univerisities proxy server. today, however, web sites didnt load at all, instead it said: cant connect to proxy server.
    so i changed the network/proxy settings by deselecting 'use a proxy server for your lan'.
    consequently i was able to acces most web sites, apart from search engines. if i try to do so, it always comes up with: bad request, invalid hostname.
    what can i do?

    btw i have windows 7 :)

  • Generating movies with bad resolution

    Hello all, Hello all,
    I hope everything is going well and I apologize for my poor English. I am creating movies using IMovie’08 and sharing with IDVD. The final result that I get generating DVD is a video with bad resolution.
    I have recorded all videos in 1080i using a SR12 Sony handycam and imported to IMovie with this resolution. I prepare an IMovie project and shared by Media Browser using large size, that I know is a smallest size than 1080i.
    I set the encoding mode on IDVD to Professional Quality and generated a DVD. The result image’s quality on DVD is similar to a VHS tape! I generated 4 different DVD and tested all these DVD using different DVD players and different televisions and the result were always the same.
    Please, can someone inform me what I am doing wrong or provide me some tips to get better results?
    Thank you all in advance.
    Regards,

    The result image’s quality on DVD is similar to a VHS tape! I generated 4 different DVD and tested all these DVD using different DVD players and different televisions and the result were always the same.
    No matter what you send to iDVD will be encoded as SD 640x480 "square" pixel content to a "720x40" rectangular pixel data matrix. In other words the best resolution you could expect would be half of what you started with and at the third generation of transcoding. (I.e., 1080i AVCHD => 1080i AIC/AIFF => 960x540 H.264/AAC => 720x480 (640x480) MPEG2/PCM.)
    can someone inform me what I am doing wrong or provide me some tips to get better results?
    If you are expecting HD quality on a standard DVD, then your expectations may be too high for this work flow. Using a more professional editor and/or burning as HD optical content may better suit your needs/expectations.

  • Link Task with BADI

    Hi All,
    How to link a task with BADI.In the badi,i have some checks that needs to be performed.
    Thanks.

    I think you want to call one of the methods in the BADI while the standard task is getting executed.
    If this is the case then you can try like this
    First get the instance of the BADI inside the standard task method by uisng the class CL_EXITHANDLER  by using the method GET_INSTANCE once you get the instance inside the BOR method, you can call the methods of the BADI Implementation class methods.....

Maybe you are looking for

  • NOT ABLE TO OPEN PDF FILE ON IPHONE 4 **PLEASE HELP

    Im not able to open a PDF file on my iphone 4 and i already downloaded 2 pdf readers : (adobe reader free and PDF reader ). I want to view a pdf file that i use for work on on a pc comp,it's a file we use to type in info, for real estase appraisal. I

  • Editable Recursive Tree

    hi evreyone I need to create an editable tree based on (one table called Locations) this is the structure of this table LocationNo LocationName ParentLocationNo LocationNo and ParentLocationNo are Forign keys according to what I've red I should use a

  • SQLDumper Error

    While troubleshooting another problem I discovered this error. Any thoughts on this? Thank you Fault bucket 90349650291, type 5 Event Name: SQLException64 Response: Not available Cab Id: 0 Problem signature: P1: ReportingServicesService.exe P2: 2011.

  • Bridge CS5 and indexing on a Server

    Maybe I'm way of base here, but I've used Bridge CS3 to successfully index files on a network server and it remembers the indexing (a library of stock photography) But now trying this with Bridge CS5 and each time I have a search (file or keyword) it

  • Disabling Prompt Window

    I have a Crystal Report which is called from a portal via OpenDoc. The OpenDoc call passes the parameters to the report, hence the report opens in CR viewer without the prompt window coming up. However, when the user clicks the refresh button, the pr