Simple issue in BADI

Hi
I want to change one field in BADI(CACL_CHARACTER_INPUT) with name T16FB-KZFAE (Changability indicator for Purchasing Docs).
I have implemented one of the BADI method as below :
method IF_EX_CACL_CHARACTER_INPUT~SET_CHARACTER_INPUT.
if sy-tcode eq 'ME38' and '(SAPBLEND)CEKKO-BSART' eq 'LP'.
move '1' to '(SAPBLEND)T16FB-KZFAE'. "Did not work
*T16FB-KZFAE = '1'. "Did not work
*assign '1' to '(SAPBLEND)T16FB-KZFAE' . "Did not work
endif.
endmethod.
In the above code I want to make T16FB-KZFAE equal to '1'.
Though it is a simple looking thing, it actaually gives some Syntax errors when I make assignment as shown in above code.
When I debug the code the field is visible as '(SAPBLEND)CEKKO-BSART' and can be Changed !!
Please help in this situation.
Regards

Try this:
FIELD-SYMBOLS: <fs1> TYPE ESART.
DATA: name(21) TYPE c VALUE '(SAPBLEND)CEKKO-BSART'.
ASSIGN (name) TO <fs1>.
IF sy-subrc EQ 0.
  <fs1> = '1'.
ENDIF.
Regards.
Valter Oliveira.
Edited by: Valter Oliveira on Sep 4, 2008 12:52 PM

Similar Messages

  • Editing Cells - Simple Issue, but Confused

    Simple issue, but I can't seem to figure this one out in Numbers. I'll do my best to explain in words here.
    Let's say I store the following dollar amount in cell A1 = 1264. The number is formatted to dollars. Therefore A1 is presented as $1,264.00. All is well up to this point.
    Okay, now let's assume I click out of the cell completely. Now let's say I wanted to add $250.50 to this amount in cell A1. When I go to the formula bar to add in the $250.50 it's requiring me to remove the dollar sign and comma out of my $1,264.00 number in order to complete the computation. Is this normal? I never had to do this in Excel. My thought was that I should only need to include an equal sign at the beginning of the formula (in other words, there shouldn't be a need to remove the dollar sign and comma every time, right?).
    Just wanted to make sure that I'm not missing anything overly simple (which I'm sure I am).
    Any help is greatly appreciated! I'm really enjoying my trial version of Numbers thus far.
    Message was edited by: randy.humes

    Randy,
    There is another way to remove each comma and dollar sign, one that will work on multiple cell at once if needed. Select the cells that you want to clean-up and using the Cells Inspector, change the format from Currency to Number and then click the Thousands Separator checkbox to deselect it. Then all that remains is to add the equal sign when you go in to edit the content by changing your input to a formula. Then if you still want the value to be displayed as currency, change the format back.
    I'm not saying that this method is better, but may be worth a try if your are backspace/delete averse.
    Jerry

  • Where do we post issues about bad apple customer support

    where do we post issues about bad apple customer support?

    Well, these are user-to-user forums. I'm not sure that posting complaints about Apple customer support here would be a) productive (what can we really do?) and b) acceptable under the terms of use, though I'm not sure. My inclination would be to write a letter directly to Apple. Even in this email age, "real" letters seem to command more attention.
    Best of luck.

  • Imac7,1 freezes with severe graphics issues after bad-tv filter

    firsttly, sorry, this could be a double post, i think i forgot deleting the old one in the wrong category.
    well, i don't really know if this is a common issue or whether this is firmware or snow leopard related: if i apply the bad-tv filter in fcp7 (fcs3) my screen is going crazy after a few seconds: squares and dots in all kinds of colours etc...then snow leopard freezes and i have to force a reboot. everything else is working great! any ideas or related problems out there?
    i've got the 1.3 firmware update. clean install!

    I was teaching an FCP class today, and I had the same problem with the Bad Film filter on four new 24" iMacs, each with 256MB ATI Graphics Card.
    They were all running SN 10.6.1 and FCP 7.0.1

  • Timing Issue in BADI MSTO_PROCESS_ITEM PO

    In ECC 6.0 some logic has been added to BADI MSTO_PROCESS_ITEM, method check. Two non rfc function modules have been used to update custom fields. MEPO_DOC_HEADER_PROCESS and MEPO_DOC_ITEM_PROCESS. Every once in awhile the custom fields are not updated. When we take the purchase order and go in change mode, it updates the fields correctly. When we go through debug, same thing updates correctly, and create also. it only happens sometimes. Could there be a timing update issue in the badi? Buffer issue?  If yes, what are some solutions. Could we put a wait command in the badi?

    Hi,
          IM_item is itself an object, it contains methods. check the assosiate type IF_PURCHASE_ORDER_ITEM_MM.
    check the sample code it willhelp you.
    sudheer.A

  • Issue in BADI BBP_CUF_BADI_2

    Hi SRM Gurus,
    I have requirement to add 3 custom fields(YES/NO Box,PO Number,PO Value) in the Item Detail Basic Screen and i have added the 3
    fields in the structure  BBP_PDS_ITEM_SC_CI and so the fields are displayed in the Item detail Basic data screen.
    If the YES/NO box contain value NO then the fields
    PO Number and PO value should be in display mode.
    If it is changed to YES then the PO Number and PO Value
    should be in editable mode.
    The Issues is whenever i select YES/NO option in the YES/NO
    box and click 'Check' or 'Refresh' option the value in the
    YES/NO box is getting refreshed bcos of this i was not able
    to perform any operation further.
    I'am not sure how it is getting refreshed.
    Please throw some light on this.
    Thank You.
    With Regards,
    P.Arunkumar

    Hi. If you create a custom table that contains 2 fields, User Name and Either Cart Number of Cart GUID you can write the current cart deatils for SY-UNAME into the new table using the BBP_DOC_CHECK_BADI.
    When you enter the current user name and cart number/GUID you should delete the old data for that user.
    This BADI is called all the time, and so you can enter the current cart that the user is looking at in this custom table, then call function BBP_PD_SC_GETDETAIL from BBP_PGRP_FIND.
    Regards,
    Dave.

  • Issue on Badi Execution for copy appset

    Hai,
    I have write a badi to Copy Transaction data from appset to another appset it works fine and now i has to enhance the code to copy same to another account.
    here comes the issue.,
    when i execute the code for hard coded it works fine and post the data for the logic.
    but when i keep account =<all> it throughs the error as exception error when i debug the code it shows due to duplicate records.
    how can i solve the issue.
    thanks,
    Rajesh

    hai,
    the problem is with the work status .
    i unlocked the work status for the source and destination applications
    and i run the logic the code executed sucess fully...
    this is because when the work status is in "confirmed"  it doesnt allow to load data to that member.
    thanks,
    Rajesh

  • Hi experts, issue regarding badi MRM_WT_SPLIT_UPDATE

    Actually this badi dont have the option of multiple use,
    and it is already implemented,
    but they is no document for which purpose it is implemented.
    Now the issue is i have to use the same badi .
    How can i use this badi again
    thank you

    Hi
    Please, see SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    Regards
    Eduardo

  • Issue in BADI

    there are two diferent work orders created from 2 different users. For one order when i go through IW32 and go to operations tab and delete an operation then IT_OPERATION table of  method BEFORE_UPDATE from  BADI WORKORDER_UPADTE that  have implemented shows value D(D means delete) for that operation in the IT_OPERATION table . This is working fine . But for the second work order when i delete an operation i get the value as U(U means UPDATE) instead of D for this operation. This value is incorrect. I am deleting operations from both work orders from my user id. But it is showing two different behaviours .
    Can someone suggest as why is this happening and how can it be resolved?

    Hi ,
    My Issue has been sorted out.Thank U very much Imthiaz.
    I reward full point to you.
    Thank You.
    With Regards,
    P.Arunkumar

  • A simple question about bad coding

    Hi, to cut a long story short i am coding a small section that changes the colour of a panel depending on the hour of the day, however i don't want to write 24 if statements to check what the hour is, now i have been coding all day and am having a bit of a mental block....can anybody think of another solution?
    If not, would it be bad practice to have 24 if statements in a method to check such a trivial attribute?
    Thanks for your help in advance

    It depends on if there's a nice relationship between the condition and what is to be done depending on the condition. For instance, it would be bad to do this:
    int y;
    if (x == 0)
      y = 5;
    else if (x == 1)
      y = 10;
    else if (x == 2)
      y = 15;
    // etcbecause obviously there's a simple relationship: y = 5 * (x + 1)
    I imagine in your case you could at least stick 24 values (colors or whatever) in an array, and simply index into that array, if there isn't a simple relationship like the above.

  • Issue in BADI Implementation BBP_CREATE_BE_PO_NEW

    Hi SRM Gurus,
    I used the BADI 'BBP_CREATE_BE_PO_NEW'  to create the PO which uses
    'BAPI_PO_CREATE1' in the backend to create the PO.
    The Issue is the Email_id is not filled in the BACK end.
    I have passed the required entries in table 'IT_POADDRDELIVERY'.
    But in Debugging i found that in the Backend the Table parameter POADDRDELIVERY of "BAPI_PO_CREATE1'
    has been commented out because of which Address details
    are not filled.
    Is there any other method to Fill the Delivery Address details?
    Please throw some light on this.
    I'am working on ECC 5.0 Classic Scenario.
    Thank You.
    With Regards,
    P.Arunkumar

    Hi ,
    My Issue has been sorted out.Thank U very much Imthiaz.
    I reward full point to you.
    Thank You.
    With Regards,
    P.Arunkumar

  • K8N Neo2 Plat Boot Issues. Bad Flash?

    Well i just got my board in the other night and i had everything up and running and wasn't too satisfied with the OC on the memory scores i was getting so i flash to bios 1.55 from one of the sites linked from here.  Everything went fine on the flash with no apparent errors but now when i try to boot it gives me the normal boot beep then right after a  tiny faint beep and it locks up at the Platinum screen where you can hit DEL or TAB to post.  I flashed from a win98 virtual ram drive to avoid the issues of a bad floppy.  There were no errors on flash at all and it rebooted itself at the end.  I've tried to reset the CMOS many times and still nothing.  I've tried changing out mem, psu, vid cards, and other parts just to see if i can get past the screen but it won't budge.  Anyone heard of any simular problems and if so how can i fix it short of rma?

    Unfortunately i've tried the bad flash for my bios and nothing happens at all.  The Floppy never even starts and neither does the light on it to read from the floppy.  I left it running for atleast 15 mins once and nada.  Wish there was an easy way to fix it heh.  Guess i've learned my lesson to triple check before flashing.  Any other ideas?

  • ADFS 3.0 Issue - Caching Bad Passwords

    We have come across a slightly odd problem with ADFS.
    For over a year now we have been running ADFS 2.0 for our Office 365 Enterprise Mail, the solution was set up as default ( with the obvious exception of Certs and passwords it was plain next, next next and take all the defaults ) and this has been perfect
    all this time.
    We just used the same method for a nice default install of ADFS 3.0 and we have switched one of our smaller domains to use it as a test, however we have come across a very annoying issue.
    If a user opens Outlook, they get a password prompt as usual, if they put in the password all is perfectly fine, if however they accidentally typo and put in the wrong password, when the password prompt finally comes up a second time, it dosent seem to care
    if they put the right one in, it sends the first password again, and keeps going no matter what you do until the account is locked out, the only way to fix it is to close and reopen outlook.
    I'm sure many people will not read or understand this correctly and just say it's a setting or some other issue with Outlook etc. but bear in mind I can even switch this domain back to our ADFS 2.0 setup and do the same test with the same user and the same
    machine, and everything works as you'd expect, and typing the correct password the second time leads to authentication. This must therefore be an issue or difference between ADFS 2.0 and 3.0, or perhaps its just a plain old bug, who knows, all I do know is
    that it's an issue that causes some very annoyed users, and we cant complete our update to ADFS 3.0 until this is fixed.
    I have read a few ADFS 3.0 articles that suggest that using a GMSA account ( the default ) may be to blame so I am investigating using a normal account as the service account, but that does unfortunately seems to entail a reinstall of ADFS to accomplish
    so will take a little time to switch.
    Any help or ideas would be appreciated.

    Hi David,
    I just tested this on Outlook 2013, after input a wrong password, the password prompt popped out without any error message, and the wrong password was cached (displayed as ********), if I click on OK, the password prompt will popped
    back with wrong password again.
    Is this the issue which you were referring to?
    If that’s the case, then it is a normal behavior, by design at least. To avoid account lockout, every time the password prompt pops out after a failed logon attempt, we need to clear the password, then input a correct one manually.
    Best Regards,
    Amy

  • New Apple user, brand new MBP, and several (simple) issues:

    1.  One of the first things I did was change the "natural" scrolling to normal scrolling on the trackpad.  Then I found it wasn't as responsive as expected - nor as responsive as my friend's Macbook Air - so I changed it back to "natural" scrolling, and got used to that.  But whenever I turn off/reboot my machine, the settings revert to the old way of scrolling.  Can anyone suggest a fix for this?  The same thing seems to happen with the settings for external mice.
    2.  A week into ownership, and I've already got a dark splotch on the screen, dead center.  Have always been a ThinkPad guy, and have never had a problem with them before.  There wasn't any damage, so I'm a little frustrated, but that's fine, these things happen.  I'm heading over to the Apple store to advise on my options (other than a return), and I'm wondering what to expect.  I'm hesitant to do a swap because I don't want to hand over a machine with all my personal information/passwords on it, plus I already upgraded the RAM.  Is there a (simple) way to wipe the HDD clean and start back from scratch?
    Thank you!

    When you wrote that the trackpad "wasn't as responsive as expected," did you mean that the screen pointer didn't move as quickly or as far for the same Trackpad swipe as before?
    If so, you can change the trackpad's responsiveness - regardless of whether you're using "natural" or (umm) unnatural scrolling - by just changing the following setting on your Mac: go to
              System Preferences > Trackpad settings > Point & Click
    and go to the horizontal slider called "Tracking Speed."
    If you set the Tracking Speed slider to "Slow" then sliding your finger across the Trackpad will result in the screen pointer moving very slowly across part of the screen. In contrast, with the Tracking Speed slider set to "Fast" the same movement on the Trackpad will make the screen's pointer fly across the screen in no time.
    Adjusting the tracking speed also changes the horizontal and vertical scrolling speeds.
    The only odd aspect to this, is that changing the scrolling direction shouldn't change the Tracking Speed, unless you accidentally brushed against the Tracking Speed slider while you were changing the scrolling direction.
    (Note! I'm using a desktop Mac with an Apple bluetooth trackpad, so my suggestion may not be completely accurate.)

  • Lenovo Hard Disk Issue - Felt bad about the service

    This email is regards to the complaint on Lenovo All in desktop i purchased which is still there in warranty. 
    I purchased All in one desktop on 25/02/2014 in one of the outlet of Reliance Digital, Bangalore,India.
    Below is the detail of the product - 
    SN : CSxxxxxxxx
    Product Family : C240
    Machine type : 10113.
    I was getting "Error 1962 : Operating system not found" . and raised a request to rectify the problem. The service engineer came with new hard drive for replacing it. I asked for my data and they told it's customer responsibility to make the data back up. He himself gave the hard disk which was there with hard disk and asked me to back up with some third party vendor.
    I visited Cadons, Bangalore for data back up and after checking Cadons engineer told hard drive is completely dead better contactLenovo again so that they will repair it and give one it is repaired i he told he will be able to make data back up.
    I again called customer care executive and told that third party vendor was not able to make the data back because of hard drive failure but they are refusing to repair hard drive and each time i am receiving a call from service engineer and are just trying to close the ticket at the earliest by replacing the hard drive. No one is bothering about repairing the hard drive and helping me to take my data back up.
    For your reference :Ticket number : TVSE/IDEA/7006373733/
    I also sent email to [email protected] from whom i am receiving the emails stating that they will resolve the issue but no action was taken from last 20 days.  
    I just wanted to check whether Lenovo execut\ives are really meant to serve customer issues? If somebody is there please let me know. Otherwise i will just throw this harddisk and say good bye to Lenovo and it's products in future.
    Regards,
    Bhuvanesh K,
    +91-xxxxxxxxxxxxx.
    Admin Edit; s/n & private information edited to prevent them being abused

    bhuvanesh_k wrote:
    This email is regards to the complaint on Lenovo All in desktop i purchased which is still there in warranty. 
    I purchased All in one desktop on 25/02/2014 in one of the outlet of Reliance Digital, Bangalore,India.
    Below is the detail of the product - 
    SN : CSxxxxxxxx
    Product Family : C240
    Machine type : 10113.
    I was getting "Error 1962 : Operating system not found" . and raised a request to rectify the problem. The service engineer came with new hard drive for replacing it. I asked for my data and they told it's customer responsibility to make the data back up. He himself gave the hard disk which was there with hard disk and asked me to back up with some third party vendor.
    I visited Cadons, Bangalore for data back up and after checking Cadons engineer told hard drive is completely dead better contactLenovo again so that they will repair it and give one it is repaired i he told he will be able to make data back up.
    I again called customer care executive and told that third party vendor was not able to make the data back because of hard drive failure but they are refusing to repair hard drive and each time i am receiving a call from service engineer and are just trying to close the ticket at the earliest by replacing the hard drive. No one is bothering about repairing the hard drive and helping me to take my data back up.
    For your reference :Ticket number : TVSE/IDEA/7006373733/
    I also sent email to [email protected] from whom i am receiving the emails stating that they will resolve the issue but no action was taken from last 20 days.  
    I just wanted to check whether Lenovo execut\ives are really meant to serve customer issues? If somebody is there please let me know. Otherwise i will just throw this harddisk and say good bye to Lenovo and it's products in future.
    Regards,
    Bhuvanesh K,
    +91-xxxxxxxxxxxxx.
    Dear Bhuvanesh K,
    Sincerely apologize for the inconvenience caused. Our team has been trying to get in touch with you at the provided number, however, there was no response. Request you to let us know a convenient time to call.
    Warm Regards,
    Reliance Digital

Maybe you are looking for