Having a hard time on BDC...

Hello guys,
I am very new to BDC and ABAP as well. Currently, I have been tasked to modify a program where I must change the values that is being copied from the flat file(text file). The program uses BDC and it gets the values from the text file to be uploaded. I have pasted below the sample text file format that we use to upload to SAP.
805267     0 1/30/2006 1/30/2006 1     640 SL adjustment 555
My problem is that the value 555 is the amount posted. What I want to do is to modify the value 555 to be 0 so when the transaction that is being called shows up, (the transaction by the way is ABAA) instead of the value 555 it will be 0. I have tried modifying the code where in I tried to clear the values before calling transaction ABAA. But unfortunately it doesnt work. Help would really be appreciated...

Hello Lijo,
This is a bit complicated but i'll explain my problem. the value 555 or whatever that is must be kept and shown at the first screen of the transaction(ABAA) that is being called. example:
PERFORM BDC_DYNPRO USING 'SAPMA01B' '0110'.
PERFORM BDC_FIELD  USING 'BDC_OKCODE' '/00'.
PERFORM BDC_FIELD  USING 'ANBZ-DMBTR'  IT_REC-DMBTR.
PERFORM BDC_FIELD  USING: 'ANBZ-BZDAT' IT_REC-BUDAT,
                          'ANEK-SGTXT' IT_REC-SGTXT.
This is the first screen that is being called.The field it_rec-dmbtr have the value of 555 from the text file. Now when I press enter(BDC_okcode) it now goes to the 2nd screen which shows the value 555. here is the code for the second screen:
perform bdc_dynpro  using 'SAPMA01B' '0285'. " '0600'.
perform bdc_field   using 'BDC_CURSOR'
                          'ANEP-ANBTR'.
perform bdc_field       using 'BDC_OKCODE'
                                '=AUSF'.
The anep-anbtr shows also the value 555. But what I want is instead of 555 being displayed on this screen, I want it to have no value or 0. I have tried to clear the value of it_rec-dmbtr and anep-anbtr but to no avail.

Similar Messages

  • I have lost my calendar data and am having a hard time retrieving it from Time Capsule. Can anyone help? I am using Mountain lion OS

    I have lost my iCal data and am having a hard time retrieving it from Time Capsule. I am using Mountain Lion OS om iMac. Can anyone help?

    You cannot see it because it is hidden.. one of those great things apple does.. if it is hidden in your Mac then it will be hidden in the Time Machine Backup.
    You will need to restore the entire folder to a different location.. and unhide it.
    There is some info here about restoring particular files or folders.
    http://pondini.org/TM/16.html
    And some info from Lion which should also relate to Mountain Lion.
    https://discussions.apple.com/thread/3231381?start=0&tstart=0
    There is stuff about recovery near the end.
    One wonders sometimes when Apple make these decisions if they ever think about what happens when something goes wrong. Hiding files..???

  • Having a hard time signing into websites with Safari

    Hi, I'm having a hard time signing in my username and password for e-mail addresses I use and for message boards as well. I use Safari all the time accept for my school website that requires IE. Anyways, I use Comcast and I have been trying to sign into my e-mail address name and everyime I click "sign in mail" Safari says "Safari Can't Open Page". So then, I went to my AIM mail to sign in there and then it said the same thing. Then I went to this Apple Forum to ask if anyone knows what the problem is, and then when I went to sign into here, the same thing. So right now I am using Camino, but can anyone help me with this problem or is anyone having the same problem as me? Thanks.

    I too have been having a problem of logging into certain websites with a username and password. Instead of logging in successfully with Safari, a blank page or an error would occur.
    This happened for: citibank, comcast, sprint, and miscellaneous other sites.
    This problem apparently had something to do with my cookies since erasing my cookies seemed to solve the problem. Here's how to do it:
    Safari -> Preferences...-> Security -> Show Cookies -> Remove All.
    Keywords: login error failure log in log-in unable to trouble
    iBook G4   Mac OS X (10.4.7)   800 Mhz / 640 mb

  • Having a hard time with burning photos onto a CD...

    Whew! I just found the photos I thought I had deleted this morning, they're in my Finder, inside the iPhoto Library. Now I'm having a hard time trying to burn them onto a CD. The size is 232 MB and my MacBook is OSX Lepard. Would you tell me how to do it step by step? I'm not good at this stuff. Thank you in advance for your help.

    It is simple......
    http://www.ehow.com/how_6225993_burn-photos-cd-mac.html

  • I'm having a hard time with my sound blaster z sound card to sync with cs6. Can anyone share with me

    I'm having a hard time with Adobe CS6 synching up with my soundcard. Latency settings and other applications are challenging at this time. I had 3.0, but my Windows 7 computer is now "deceased". Please help.

    I endorse everything that Steve just said but to try and get you going while you're shopping for an audio interface more suitable for sound work than use as a doorstop, try the following:
    Go to the Windows sound control panel and make sure the SB card is selected as the default on both the Recording and Playback tabs.  On the advanced menu for both, set the bit depth and sample rate to either 16/44,100 (CD) or 16/48,000 (Video) depending what suits you best.  Note that your SB card only works natively at 16/48,000  so anything else involves a conversion that the card hides from you.
    Go to the Windows Control panel and, under the sound section, turn off all system sounds (since they can hijack your sound card).  Close every other application that may want to use the sound card (internet for example).
    In Audition, go to Edit/Preferences/Audio Hardware.  Set the device class to MME.  On the drop down menus set the Default Input and Default Output to be your Soundblaster.  On the Master Clock set it for the SB Output (this'll likely be default).  Set the latency at around 200ms (you may need to increase this later if your playback stutters--or you can try decreasing it until you get stutter, then take it back up a bit.  Set the sample rate to whatever you selected on the Windows Sound Control Panel.
    The Soundblaster will likely have installed it's own control menu.  Go to this and select Mic or Line as appropriate for the input and whatever you need for the output.  I can't be more specific as SB keep changing what they call things.
    Hopefully this'll get you going even if it's not the best compromise for quality and latency.

  • I have a macbook pro with 250 GB of Space, 2.2 Processor, 16 GB of Memory 1600MHz, and Intel Iris Pro 1536. I backed up my apps using iTunes but I am having a hard time restoring my apps back to my iPhone 5s so could you please help me?

      I have a macbook pro with 250 GB of Space, 2.2 Processor, 16 GB of Memory 1600MHz, and Intel Iris Pro 1536. I backed up my apps using iTunes but I am having a hard time restoring my apps back to my iPhone 5s so could you please help me?

    So did you ever get your apps back on your iPhone?

  • I am having a hard time with fcpx, it is running so slow.  i upgraded my ram to 12 and have cleaned up my computer to run faster and have changed all my files to proxy files but it is still running SO slow.  please help!

    I am having a hard time with my fcp x running so slow.  i can't even move my mouse without the time wheel coming on and staying up for at least 20 some seconds.  I have upgraded my ram to 12 and changed all my files to proxy files; also i cleaned the crap out of my computer removing all other media files I didn't need and it is still running the same.  Please help!  I have a deadline on my short film to be submitted and I can't finish it like this.  Oh also it ran fine in the beginning but and one day it just started doing this out of no where.  Anything will help!  Thanks

    In addition have you got FileVault switched on as that will kill performance.

  • HT204406 I authorized a second computer on my iTunes account, and downloaded my library from the Cloud to my new computer. However, many songs only partially downloaded, and now I'm having a hard time getting rid of them to do full downloads.

    I authorized a second computer on my iTunes account and tried to get my first computer's library on my second computer via the Cloud. Many of the songs only partially downloaded, and I am having a hard time getting rid of the library with the partial downloads (so I can get full songs). I am considering nuking the current iTunes on the second computer and re-installing, giving myself a clean slate to work with. Is this the right way to go?

    How to use your iPod to move your music to a new computer

  • Hi, I have a power Mac G5 with an airport card and I am having a hard time connecting to my regular NETGEAR router. Any help, Hi, I have a power Mac G5 with an airport card and I am having a hard time connecting to my regular NETGEAR router.PLs help

    Hi, I have a power Mac G5 with an airport card, MAc OS X 10.5.8, Wireless card is Airport Extreme ( 0x14E4,0x4E ) and I am having a hard time connecting to my regular NETGEAR router.  PLS Help,
    Thanks,
    Mishcadola

    I spent 2750 $ for my 24" iMac (price for my region)...
    And the perfect world of Steve Jobs still close, but never we've been in there!

  • I want to take my debit card information off of my itunes account i have a iphone 4 and i m having a hard time with this??

    I want to take my debit card information off of my itunes account i have a iphone 4 im having a hard time?? does anyone know how to put none for the billing information

    http://support.apple.com/kb/ht2534

  • HT1918 I am having a hard time setting up my cc info on iTunes. I keep getting a message that says my security code is invalid and it's the exact number on the back of my cc and what I use to purchase products online all of the time. What could be the pro

    I am having a hard time trying to set up my cc info on iTunes. I keep getting a message that says invalid security code which is on the back of my card and the same card I use to make purchases online with all the time. What may be the problem?

    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646

  • Having a hard time lining up the audio to the video with FCPX.

    Hi there
    I'm having a hard time lining up the audio to the video with FCPX.
    I'll just advise what I am doing.
    I have recorded video of me playing bass guitar along to a song.
    I have recorded the video in 720p with a DSLR.
    I have recorded the bass guitar audio directly into Garageband (Using a USB interface) on a separate track to the song that I am playing along to. (It is played very well and is not out of time to the original)
    I then mix the original song and the new bass guitar audio played by myself and export as an AIF in Garageband.
    I import the video from the DSLR and AIF audio into Final Cut Pro X (10.0.5)
    I can get the audio and video NEARLY bang on to timing, but its still ever so slightly off. As its ever so ever so slightly off it looks like I'm not really playing the bass guitar myself.
    I'm moving the audio intricately but I just cant seem to get it lined up EXACTLY.
    My camera picked up a tiny bit of audio so I can hear and see the audio wav on the video track to try and line it up with the audio wav of the AIF, but no matter what I just cant get it to line up and look exactly right.
    Can anyone offer any advise or tips?
    Thanks

    Make sure you have Snapping switched off.
    Expand the timeline to see the detail.
    Rather than lining it up manually you could try the Automatic Audio Synch if there is any audio on the original video.

  • Having a hard time selecting an iWeb website host

    Now that MobileMe is gone and my website is down (yes, i missed the memo)... im researching hosts and having a hard time choosing.
    I would like unlimited storage as I have a lot of photos on my site.
    RAGE sounds good but seems pricey.
    I'm looking for a company familiar w/iWeb so that if there are any issues I have some assistance.
    I have searched the community and googled and keep getting just a few answers.  Nothing that really gives me a solid sense about the companies.  And it seems that RAGE does a lot of self promotion posing as customer which seems a bit sketchy.  I might be completely wrong but thats the sense Im getting from the videos and results I'm finding.
    Is there a site that gives solid reviews of the web hosting companies?
    Where have people here moved their iWeb website to?
    Thanks

    I have been using IX Webhosting for about 4 years with little to no problems "usually the problem was something I did" and they have been quick to solve any issue I have come across.
    As far as the unlimited is concerned they just do not set any pre-determined space or bandwidth.
    I have several websites hosted on my hosting plan ( I am currently using the expert plan ) and haven't ran into any space issues here is my bandwidth (traffic) & disk space usage.
    24/7 Customer Support by Phone, Chat, Ticket, Email
    Though, I haven't took advantage of the phone support the Chat, Ticket, & Email support has been real responsive.
    http://jeffnitschke.com/IXWebHosting.html
    http://jeffnitschke.com/wordpress/2012/06/how-do-i-move-my-mobileme-site-ix-web- hosting-blog/
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Having a hard time deleting some mail from junk!  Every time I delete it returns to the junk mail instantly!  Won't go away!  What's up with that

    Having a hard time deleting two junk mail messages!  I press edit , I check the message, I try to delete and a screen message appears telling me the message cannot be removed!  Not sure what to do here!  Please advise?

    Did you try swiping across the message in the preview window rather than use the Edit button? If you still can't delete the messages, quite mail and reboot the iPad and try again.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that still doesn't work, log into your email in a web browser and delete the junk mail there.

  • Having a hard time with permissions to create dir and files in www

    Having a hard time getting permissions to create directories and files in www folder:
    I followed the following guide here: https://www.digitalocean.com/community/ … arch-linux and here: https://www.digitalocean.com/community/ … arch-linux
    So now I have a LEMP stack which runs fine and I have my root account secured and a new username "adriano". If I SFTP into the server using the username adriano, I am unable to create any files or directories. Trying to do a simple wordpress install doesn't work because I need to be able to create a folder for it, and a wp-config.php file. Both of which, like I mentioned, I do not have permissions to do. Yes, the username "adriano" has been added to the sudoers file via visudo.
    I've never been very good at UNIX permissions so I was wondering if maybe someone can help me out?
    Also, since I am using nginx it does not seem like I have a www-data group or user and my www folder is /usr/share/nginx/
    Thank you,
    AJ

    No, no, you guys misunderstand me. I am not that much of an oblivious person. 95% of the time I understand EXACTLY what the code that I am copying and pasting does. And when I don't, I look into it further before executing said commands. I just tend to not remember commands so I google them, see examples, and then copy and paste them to avoid the busy work of typing out long strings. For example, it took me like 6 months to remember that to untar a .tar.gz file it was -xvfz.
    But I digress. drcouzelis, I do have root access. It's my own VPS. However, I have always used shared hosting through different hosting providers and now that I got a VPS and have to do everything myself, I am a little bit lost.
    I followed what wonderwoofy said and created a www-data group, added the adriano user to said group, and changed the owner of my http server root to www-data, and I SFTPed into the server again with filezilla and it still works perfectly. However, those "hordes of hackers" drcouzelis warned me about does not sound pleasant so I am really really really hoping one of you guys can tell me the next steps. Root login is disabled in the /etc/ssh/sshd_config file, and I also changed the port to a random port I created. My web files are all served from /usr/share/nginx/ (there are different folders in there that correspond to different domains.) Now what I am wondering is that if user "adriano" is in the sudoers file as ALL=(ALL) ALL, doesn't that pretty make adriano the same as the root user? The reason why I am so worried about this is because I heard/read countless times that working through the root user is BADDDDDDDDDD and will bring evil and shame upon your life (not in those exact words) and that you should never work with it. Also, do I have to worry about anything dealing with groups and/or users and/or permissions when it comes to PHP? I have php-fpm installed.
    I am willing to buy anyone who can help me out with this a beer or two and I will be forever in your debt.
    Thank you,
    AJ
    Last edited by AJCR (2013-05-23 02:52:03)

Maybe you are looking for

  • How can i update my macbook air 10.5 to lion or leopar 10.6?

    i only need that so i can use oovoo to see my brother that in the army and oovoo doesnt let me download it cuz i have an old version. please... i havent seen him in forever ): when i look at the systems requierds it ask for an other verson with i don

  • How do i upgrade iTunes 11.0.4 (4) to iTunes 11.1

    How do i upgrade from iTunes 11.0.4 (4) to iTunes 11.1 without be required to install Maverick? When i check for iTunes,updates,  the next window says that update is available.  When i click "download Itunes" the next screen is a  Maverick OS upgrade

  • Is there any way to install Win7 64bit onto a partition

    Is there any way to install Win7 64bit onto a partition from a Win7 CD? I have tried bootcamp several times and it won't work. I am running a late 2011 MBP 500gb hd, 2.7ghz i7

  • Rolling Upgrade of Oracle 10gR2 RAC with Physical Standby (DG)

    Hi DBAs, I want to do a rolling upgrade of Oracle 10.2.0.3 (2 node RAC+ASM) with Physical Standy Dataguard to Oracle 10.2.0.4 also applying CPU (April2009). Please suggest the best way to perform this upgrade and patching with no downtime. Thanks -Sa

  • Security level with RFC?

    How much is the data secured when sent through RFC? Is the RFC using any security protocol like https? If we want to introduce the custom security to the RFC how to do that? Thanks in advance. Sounder