Odd question about BAPI to return doc number in BKPF-AWKEY ...

One of my colleagues here needs to retrieve doc number from within AWKEY in BKPF.
He knows he can do it with a simple select followed by a substring operation, but someone on the functional side is saying that it would be better if he could find an SAP-delivered FM or BAPI that returns the doc number within the AWKEY.
Any one know whether there is an FM or a BAPI that performs this specific retrieval of doc number from within AWKEY?
I don't see why there should be one, but maybe there is ....

aRs -
This is funny.
The developer got back to me this morning - he does want to pass the awkey and get the docno.
So the BAPI you suggested:
BKK_RFC_GL_GET_DOCNO_BY_AWKEY
is exactly what he wanted.
Thanks again.
Dave

Similar Messages

  • Odd question about transferring.

    Ok, about 2 months ago I had no problems moving my iTunes library from my old computer to my new one. So with that bravery I just tried moving iTunes and my library from where it had been to a new bigger drive, and I ended up losing huge chunks of my library. Now, my question is, I still have what I had previously sync'd onto my Pod, is there any way to transfer what is in my iPod "into" iTunes?? Otherwise, I'm going to end up losing a whole day re-importing my CD's back into my library, not to mention lose what I had purchased from my iPod. I had just purchased 2 new TV episodes but in order to get them onto my Pod, I have to sync, and if I do that I'll lose what I have there. Help!!!

    *is there any way to transfer what is in my iPod "into" iTunes??*
    The transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. You'll find details in this article: Copying iTunes Store purchases from your iPod to a computer
    The transfer of content from other sources such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    SharePod Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    There is also a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows or a Mac. The procedure is a bit involved and won't recover playlists but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    One last thing if your iPod is set to update automatically you need to take care connecting to an iTunes with a different content. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7.3 or later installed hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes 7.3 Keyboard Shortcuts for Windows
    When your iPod appears in the iTunes source list change the update setting to manual, that way you can continue to use your iPod without the risk of accidentally erasing it. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default: Managing content manually on iPod
    Whichever retrieval method you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay.

  • Question about BAPI Performance

    I am currently evaluating options to implement interface between legacy systems and SAP. We have a requirement to post goodsmovement from external application. As some of my team claim that the BAPI approach can cause performance problems. I would like to cross check whether the claim is true.
    And if it is, May I have your advice how can we prevent such problem about performance?
    Ho w can I get additional source of information?
    Kindly advise.
    The BAPI which we are going to use is BAPI_GOODSMVT_CREATE
    Thank you

    No performance problem is there.
    Infact BAPI is advisable against BDC. Also since BAPI is like FM there is no issue.
    I am using it in lot of the objects we have created.
    Cheers
    Regards
    Nishant

  • Question about BAPI function BAPI_PP_TIMETICKET

    I would like to post a production order confirmation by using the function BAPI_PP_TIMETICKET, however, an error "Total confirmation quantity not equal to planned confirmation quantity" is raised.
    However, when I did it manually in CO11N, I could save the transaction successfully despite "Total confirmation quantity not equal to planned confirmation quantity" since it was only a warning instead of error.
    I would like to know how can I do the same using this function (or using other function?)? i.e. create the confirmation even though "Total confirmation quantity not equal to planned confirmation quantity". Thanks!

    Hi ,
    It  is Total Planned Qty. TYPO Error.
    May be this code is Help ful :
    this is a Sample Code Only :
    CALL FUNCTION 'CO_DB_AFVG_SELECT_SINGLE'
        EXPORTING
          APLZL_IMP = WA_AFRU-APLZL        " afvc-aplzl
          AUFPL_IMP = WA_AFRU-AUFPL        " afvc-aufpl
        IMPORTING
          AFVGD_EXP = XAFVGD
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      CLEAR XTTL_ACTIV.
      XAFVGD-MGVRG =  VAL.      " Confirmed Qty that you have selected or Yield Qty
      CALL FUNCTION 'CO_R0_DET_TOTAL_ACTIVITY'
        EXPORTING
          ACT_AFVGD             = XAFVGD
          ACT_FLG_CONSIDER_CONF = 'X'
          ACT_QUANTITY          = XAFVGD-MGVRG   "P_YIELD_QTY
          ACT_DATUM             = SY-DATUM
          ACT_ARBID             = WA_AFRU-ARBID
          ACT_WERKS             = WA_AFRU-WERKS
        IMPORTING
          EXP_ACTIVITIES        = XTTL_ACTIV
        EXCEPTIONS
          DIVISION_BY_ZERO      = 01.
    *--populating BAPI tables
    _____ Add values to BAPI tables
    APPEND ZBAPI_PP_TIMETICKET.
      CLEAR ZBAPI_PP_TIMETICKET.
      CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
        EXPORTING
          POST_WRONG_ENTRIES = '0'
          TESTRUN            = ' '
        IMPORTING
          RETURN             = ZRETURN
        TABLES
          TIMETICKETS        = ZBAPI_PP_TIMETICKET
          DETAIL_RETURN      = ZBAPI_CORU_RETURN.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'W'.
    Need More help . Please let me know.
    Regards,
    Lanka

  • Odd question about engraving a shuffle

    I received a Shuffle as a gift and noticed he had a message engraved on the clip. This was over two years ago. I'd like to know if he had gotten the message from the engraving gallery or if he made it up himself. The quote is not in the gallery, but since I received the shuffle long ago, it's possible Apple replaced it with something else. I can't find a way to contact Apple about this (by email, I'd rather not call about this); does anyone know how I can email them about this, so I can ask them if the message was ever in the gallery? It's a strange question, but I'm asking because it would make me feel even more special if the guy took the time to write something himself. Of course the thought, gift and engraving together are already signs of affection...poetry would make it even sweeter. Thanks.

    If you got it more than 2 years ago it is not a 3rd Generation Shuffle and you are posting in the wrong place.
    I doubt they have removed anything from the engraving gallery, which if I recall is a fairly recent option, although I can't be sure when it was put into place since I've never had one engraved. There is no place to email them and it would probably be hard to find anyone who would remember this anyway. So since it is not in the gallery take it on faith it was put there by the giver.
    Of course they could have copied it from somewhere else. Have you tried a Google search?

  • Odd question about a replacement keyboard for HP pavilion G71326DX

    I have a G7 1326DX that needs a replacement keyboard. However A frind of mine recently purchased a G72233cl and I noticed that the keyboards were basically the same, however his had a design that I like much better (Key types). My question is, Can I purchase a Replacement keyboard for the G72233cl and install that keyboard into my G71326DX. I have looked into the connection interface, as well as lined up the notches around the edges of the keyboard with pictures of the replacement keyboards, However I want to make sure it will work correctly before I make my Purchase. Any help would be very much appreciated. Thanks.
    Marvin Parnell

    Hello MPnarnell,
     The keyboard on your G7-1326dx needs to be replaced, but you want to use a keyboard for a G7-2233cl, is that correct? I will try to help you .
    Comparing the keyboard section of the manuals the part number for the keyboard you want to you use doesn’t show in the G7-1326dx list of compatible keyboards. The reason being probably is because it has never been fully tested.
    Now both computers are G7’s but they are 2 totally different series of G7’s so the motherboards are probably different as well. This is one of those issues where you would have to  test it out and see, I don’t believe it will work but I could be wrong. Here is the part number for the keyboard that came on the G7-2233cl. (699146-001)
    If you decided to go ahead and try to change it be sure to check for a BIOS update before doing so. 
    Please respond back at your earliest convenience.
    Thanks
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • A very odd question about accessing cube via HTTP PUMP

    hi there:
      Everything was fine a couple of days ago when I used excel to connect to cube. Today, when I use excel -> from Other sources, I can select the AS database but can not see the cube at all... The odd thing is that if I choose to use Existing Connections
    which contains the connection to the CUBE before, after put my user id and password, I am able to connect and navigate cube data.
    There is a role for the AS database and myself has been granted as Full control ( administrator).  I've also switched to SSMS and access cube over there directly, no issues at all.
     Question: why excel is not allowing me to see the list of cubes for an AS database???
    Thanks
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hello,
    How have you setup permissions for the HTPP access. If e.g. IIS and SSAS running on different machines, the permissions settings are a little bit difficult. So may a different user is used and that one may don't have permissions to access the cube.
    See Configure HTTP Access to Analysis Services on Internet Information Services (IIS) 7.0 => Step 3: Configure IIS authentication and add the extension + Step 5: Grant data access
    permissions
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Question about finding whether a reference number is NOT in the database?

    Hello,
    I use the following code to test whether the reference number is in the database
    <ul><li>CURSOR cur_yellow</li></ul>
    <ul><li>IS SELECT</li></ul>
    <ul><li>REFERENCE_NO,</li></ul>
    <ul><li>COMPANY_NAME</li></ul>
    <ul><li>FROM CONSULTANTS;</li></ul>
    <ul><li>rec_yellow cur_yellow%ROWTYPE;</li></ul>
    <ul><li>BEGIN</li></ul>
    <ul><li> OPEN cur_yellow;</li></ul>
    <ul><li> LOOP</li></ul>
    <ul><li> FETCH cur_yellow INTO rec_yellow;</li></ul>
    <ul><li> EXIT WHEN cur_yellow%NOTFOUND;</li></ul>
    <ul><li> IF ref_no = rec_yellow.REFERENCE_NO</li></ul>
    <ul><li> THEN</li></ul>
    HTP.print ('<ul><li><span class="style5">The information concerning the consultant selected has been deleted from the database.</span></li></ul>');
    <ul><li> exp := 1; -- used to make code bullet proof</li></ul>
    <ul><li> END IF;</li></ul>
    <ul><li> END LOOP;</li></ul>
    <ul><li> CLOSE cur_yellow;</li></ul>
    Do you have any ideas for how to write code to test whether the reference number is NOT in the database.
    Thanks
    Doug

    Hallo,
    in general, yes, but I think , it will be better without cursor:
    declare
    v_dummy number;
    BEGIN
    EXECUTE IMMEDIATE 'select 1 from dual where
    exists (select 1 from user_indexes where index_name = : ind_name) USING ''DOUGLASMYINDEX'
    INTO v_1;
    -- something
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    Is it necessary to perform it in dynamic SQL ?
    declare
    v_dummy number;
    BEGIN
    select 1 into v_1 from dual where
    exists (select 1 from user_indexes where index_name = ''DOUGLASMYINDEX''')
    INTO v_1;
    -- something
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    Regards
    Dmytro Dekhtyaryuk

  • Question about trigger to check the number of open cursors

    Hello.
    I wonder if it is possible to create a trigger that fires when the number of open cursors in a database becomes larger than a certain number. What kind of trigger and how would it be?
    If it were possible the trigger would write traces with the timestamp of the event.
    I would also like some pl/sql tester that would increase the number of open cursors so that I could check the trigger.
    Thanks in advance.

    Satish Kandi wrote:
    OPEN_CURSORS is a value per session and not for the entire database. So if your cron job is looking for a global cumulative value of open cursors to occur in a single session, it won't find any such sessions.
    Is it the case?Yes, I am afraid it is.
    I am sorry but I don't unsertand what you are telling me: doesn't "select count(*) from v$open_cursor" count the number of open cursor for all sid columns in the view?
    The cron launches a scripts that connects to the database via sqlplus whereas there is a java application (several threads without connection pooling) that connects to the database via jdbc and that causes the problem once in 5 months (to say something).
    Thanks again.
    Edited by: fsanchezherrero on Jul 3, 2009 12:28 PM
    Edited by: fsanchezherrero on Jul 3, 2009 12:36 PM

  • Odd question about sizing...

    I work for an LED message center manufacturer and we have run into a problem. We are using a new product to play DVD quality video on but we're trying to do this without connecting a computer to it, opting instead for a DVD player with HDMI output. Problem is the sign is 196x196 so when playing a DVD we only get a small piece of the picture. Is there a way with Adobe Premiere to create a 640x480 black background with a 196x196(or any size for that matter) area to play the movie in? If not would anyone know of a program that could do this?
    Any help would be greatly appreciated as I'm having alot of trouble finding any information like this.

    Click on the clip in the timeline and reduce the "scale" in the "Effect Controls" panel. As long as there is nothing on a track below the clip you will automatically get a black border.
    Cheers
    Eddie
    Forum FAQ
    Premiere Pro Wiki
    - Over 250 frequently answered questions
    - Over 100 free tutorials
    - Maintained by editors like
    you

  • Odd question about potential funny business on black berry.

    Im not really sure the model but my dad thinks it is 8530. He isn't too savy on technology and after spending 45 minutes on the main site looking at features, im still uncertain. My dad believes his gf is sending pictures or messages to randoms. One of the things he thinks she does is that she will go to send a message, addressed to my father himself, but also tag along another message to a different address with differing content. They argue almost everyday and he says he finds more and more shady business and im simply growing sick of it and its causing alot of stress on us all. To top it off she passwords tons of stuff in the phone and I dont have access to it. I was wondering if what I aforementioned is A: Possible, and B: if there are other things that she could be doing. She has... history.... anyways im wondering why in the hell she would go through all the effort, why not just delete the messages... 
    Thx for the help and sorry this message was so long=]

    Your situation is a bit confusing.  If she's about to send a message to your dad, she can also forward it to other people.  This bit about "tagging along another message to a different address with differing content" is not possible.  One message to one person or one message to multiple people, but sending one message to different people at once with another message which has differing content to many people is not possible.
    I hope I've understood you correctly and that my solution has helped you.  Please post back with clarification if I've missed something. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Odd Question - About CD Space & Waveburner. . .

    Hi.
    Ive posted this in the waveburner forum and had no reponse so i thought maybe someone in here would be able to help.
    My first problem was that Waveburner didnt accept files that were more than 2GB so i had to compress my file down using quicktime and get it into waveburner. I originally had a 2hr long DJ mix, which i cut down to about 65 mins. . .
    I then cut it into all its tracks and named it all. . .
    When it came to burning it said that there wasnt enough space on the CD. It then said (633MB Needed). . .
    Does this mean it needs 633MB more or it needs 633MB in total. . .
    I thought CDs were 700MB?
    Anyone that can shed any light on this would be really helping me out a lot!!!
    Cheers, B

    benjamingordon wrote:
    Hi.
    Ive posted this in the waveburner forum and had no reponse so i thought maybe someone in here would be able to help.
    My first problem was that Waveburner didnt accept files that were more than 2GB so i had to compress my file down using quicktime and get it into waveburner. I originally had a 2hr long DJ mix, which i cut down to about 65 mins. . .
    I then cut it into all its tracks and named it all. . .
    When it came to burning it said that there wasnt enough space on the CD. It then said (633MB Needed). . .
    Does this mean it needs 633MB more or it needs 633MB in total. . .
    I thought CDs were 700MB?
    Anyone that can shed any light on this would be really helping me out a lot!!!
    Cheers, B
    Hi,
    You compressed in Quicktime? What exactly did you do? take a large file and squish it into a smaller-size type of file? Like an mp3?
    A 2 hour DJ mix is a 2 hour DJ mix. what did Quicktime get rid of to make it 63 minutes? That's weird... it does not make any sense to me. you just let Quicktime edit out parts of your mix so it ended up at 63 minutes? Unattended?
    But then you state you "cut it into all its tracks and named it all"... so you edited it into individual songs, which TOTAL how much time? 2 hours, or 63 minutes?
    From the "error" message you got, i think you still have 2 hours of material, in which case I recommend you only do ONE CUT, and have less than 80 minutes of the first part one CD 1, and the rest on CD 2.
    It will all together NEVER FIT ON ONE CD. EVER.
    Cheers

  • Odd Question about file extensions

    Hello, I have a strange question that I cannot seem to fix on my own.
    The other week I was messing around in my Utilities folder and I was clicking on some of the applications contained in that folder.
    When I closed out some of the programs that I had opened I noticed that all the files on my computer now have a suffix at the end of their names. Everything.
    So before an application would say, TechTool Pro 4 it now says TechTool Pro 4.app
    TextEdit.app, etc etc
    I know this is a minor thing but I would like to find a way to remove this suffix that I inadvertently applied to everything on my laptop.
    Thanks for the help

    See if this helps. Go to Finder choose Preferences then click Advanced. See if the *Show all file extensions* box is checked. If it is uncheck it.

  • Odd question about calendar accounts

    I have a user who has several users that want to use a calendar account for scheduling. However, they do not want to use their own calendar accounts and then open the scheduling account - the claim is that there are too many clicks.
    So my main user asked the following question:
    Is there a way to designate two passwords for a calendar account, with each password allowing different privileges when signed in?
    I don't think this is possible, but I wanted to confirm this.
    Thank you!

    Michael,
    I think that it is not possible. In the OID a user has only one password field. There is no standard way to achieve what your uer wants. So it has to be programmed, but I don't know how
    Fred

  • Odd question about albums...

    Hi,
    Im having a problem with iTunes, and how it sorts album.
    So, here's an example- say I have an album with three discs.
    I import the three discs seperatly into itunes, and it lists it as three different albums- Lather [disc 1], etc.
    I want to have them listed as one album rather than three, so I change the song's tags so they all say just Lather. It still lists them as three albums.
    Bit confused as to what I'm supposed to to.
    Please help, as it affects some albums but not others. This technique worked with the Beatles White album, but not Zappa's lather, for some weird reason.

    One thing that might help.
    Take a look at the article suggested by Zevoneer.
    When looking at the info for the song, take a look at the album.
    You might see "Album Name disc 1", Album Name disc 2...
    Change them to just "Album Name"
    Also, take of the artist if files are showing up as different artist.
    Hope this helps.

Maybe you are looking for

  • How to create a template for a Workflow

    I have created a workflow that has couple of dataflows inside it. Now, I need to create another 20 workflows which have the similar logic to that of the first workflow, except for couple of changes such as the source file, etc. Instead of creating th

  • How to configure IC winclient alert modeler - CRM 5.0

    We are wanting to assign a marketing attribute against certain customers, to have them flagged within CIC0 that any incoming calls from them need to be forwarded to one particular person within our organisation. The alert modeler would work well for

  • Access BPEL metadata tables in Olite install of SOA Suite

    Hi, Iwanted to know if there is a way to acess bpel metadata tables in olite. like for esb we use system/any user/pass and oraesb sid. I am unable to do so by changing sid from oraesb to orabpel. It gives access violation error. Thanks in advance

  • Ipod just not working period.....

    I have a Ipod 120gig classic that i bought from amazon 4 months ago, i worked fine for a the 1st 2 months then one time when i was bike riding it locked up on me. I took it home & let the battery drain then plug it in to charge it & it was fine. Now

  • XMLSocket Problem

    I can work fine which run in flash . I can see the connection can established and disconnected until i close the flash but i publish the flash to html and run in broswer, the flash can connect to server but it will disconnected in the same time. That