Linking BSAK with EKBE

Hello experts,
I am currently modifying a report where in I need to change some statements because it gets a PO's balance in table BSAK-wrbtr and instead I need to change it to EKBE-wrbtr. The problem is I don't know if there's a common field where I can link both tables.I have pasted below the code I am trying to modify. Also, How can I know if my report shows details of a PO correctly? where would I verify this? Thanks guys and take care!
SELECT augdt augbl shkzg dmbtr wrbtr FROM bsak
       INTO (bsak-augdt,bsak-augbl,bsak-shkzg,
             bsak-dmbtr,bsak-wrbtr)
         WHERE bukrs = bkpf-bukrs
               AND gjahr = bkpf-gjahr
               AND belnr = bkpf-belnr.
            IF bsak-shkzg = 'H'.
              bsak-dmbtr = - bsak-dmbtr.
              bsak-wrbtr = - bsak-wrbtr.
            ENDIF.
IF t_pohistory-currency <> 'PHP'.
IF bsak-augdt GT pa_augdt.
IF bsak-augdt IN so_augdt.
    t_amount-tramt = t_amount-tramt + bsak-wrbtr.
      ENDIF.
ELSE.
IF bsak-augdt GT pa_augdt.
  IF bsak-augdt IN so_augdt.
     t_amount-tramt = t_amount-tramt + bsak-dmbtr.
    ENDIF.
  ENDIF.
ENDSELECT.
ENDIF.

Hi viraylab,
phew! That's not immediate, but let's have a look at it:
1. first of all, take fields BSAK-BUKRS, BSAK-BELNR and BSAK-GJAHR and go to table BKPF.
2. then take field BKPF-AWKEY
3. then BKPF-AWKEY0(10) links to field EKBE-BELNR and BKPF-AWKEY10(4) to EKBE-GJAHR.
I hope it helps. BR,
Alvaro

Similar Messages

  • HT5624 my iphone is connected to a old account that i have used in a while i have a new icloud i tried reseting my phone but now i can get in becuase it linked in with my old account how can i fix this so i can log in with my new account?

    my iphone is connected to a old account that i have used in a while i have a new icloud i tried reseting my phone but now i can get in becuase it linked in with my old account how can i fix this so i can log in with my new account i reset my phone but i did it before on my new phone but this old is link to a account that i set up when i was so much younger can you advise what to do?
    Thanks

    Go into Settings App and turn OFF Find My iPhone. It will ask for your old password, but in the future you can use your new Apple ID account. If you need to reset the old password try this: https://iforgot.apple.com/password/verify/appleid?language=US-EN&returnURL=https ://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa&app_id=93&app_type=ext

  • How to link asset with purchase order and PO Item.

    Hello,
           I have to generate a report which contains columns
    Asset No , po no(ebeln) ,PO Item(ebelp),Material no etc
    My query is how to link asset with purchase order and      PO Item.
    I am selecting asset and po no. from anla  but how to get
    po item no(ebelp)?
    po line item is important in this report because every line item has differrent asset and material no.
    i tried to match asset no in mseg table but i am not getting asset no in mseg .
    how should i proceed ?

    Thanks Thomas & Srimanta for the quick response.
    When I checked EKKN table by entering PO there is no asset no. in anln1 field.
    Also I would like to add that, In me23n for a PO, account assignment category we are entering 'F' for internal order settlement.
    Where can i find the link between asset and po no(ebeln) and po item(ebelp)?
    Regards,
    Rachel
    Edited by: Rachel on Aug 11, 2008 7:23 AM

  • Link SAP with Excel

    Hello SAP Gurus-
    Every month we have to download various reports from SAP (ME2J, FS10N, FD10N, FK10N and others) and export it to excel. Than in excel, we have to mannually format the same.
    Is there a way we can link SAP with excel? Like if anyone in my company posts against particular vendor, it will automatically update the excel file that will have report from FK10N (Vendor Balance Display)
    One of my friend at Bloomberg said that their SAP is linked to excel where excel is updated automatic. But I could not get any further details on how it works.
    Please let me know if there is a way we can implement this system in our company.
    Thank You in advance.
    Jai

    Hi,
    You have to direct download it in to the Excel sheet without export to excel file.
    E.g:- If you need to download the balance or any data fron the spreatsdeet amd yu download the file and give the file name as .xls it will download in the excel format.
    May hope this is helpgul
    Regards,
    Kanike

  • Sorting singly linked list with minimum time complexity

    Hi ...
    anyone could tell me how can i sort singly linked list with minimum time complexity .... ????
    Regards...

    By MergeSort or QuickSort O(n log n). But then you
    have to first extract the objects in the list,sort
    them, then rebuild the list. But it will still bealot
    faster than by keeping the list linked.Technically, I believe insertion sort is marginally
    faster for small n ( <20 or so).Woohoo! So for 20 out of the possible 2147483648 array
    sizes Insetion is faster!
    Unfortunately, checking for that case probably wastes
    all the time you get from using the faster sort...
    That would depend on the actual distribution off array sizes. So it's an engineering decision.
    Sylvia.

  • Linked Reports with Web Intelligence Rich Client

    Hi,
    Is it possible to build a linked report with WebI Rich client without using InfoView?
    Assume the following simple report which select some fields of a file transfer information.
    TransferID      Filename   Transfer Status
    1                        a                       OK
    2                        b                       OK
    3                        a                       NOK
    Now I want to click on the record with TransferID 3 and get some more information for that particular record such as:
    TransferID      Filename   Transfer Status  Date  Duration
    3                        a                       NOK         Feb 24      5
    In other words, I'd like to do select of that table with the where condition "TransferID = 3" which corresponds to the record I clicked in my initial report.
    Thanks a lot,
    Kurt

    Hi Kurt
    Have you found any solution for "to link two tables in one WebI report without InfoView".
    I will appreciate if you can share the same.
    Regards
    Naveed

  • Re: Fwd: Link Problems With Borland C++ 4.52

    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystal problem.
    Many Windows based applications rely on PASCAL calling conventions, which
    change the way parameters are handled in function/method calls. They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms for changing
    the calling conventions of the prototypes in the generated C++ wrapper
    library, so when you compile that code, the linker fails. I think that the
    compiler may generate different symbols depending on calling conventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate the distribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI to the appropriate
    places in the prototype definitions (see above) and use fcompile to build
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    >
    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    >
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092

    James,
    Thanks for your quick response. Yesterday we had been running down
    the path of examining the calling conventions and trying to change them
    to PASCAL, but without much success. After receiving your note, we
    went back over it again, and this time we were able to finally to piece it
    together. In addition to editing the Forte-generated .cc file to declare
    the functions as PASCAL, we also had to turn off the compiler's case
    sensitivity. (The Crystal .lib file had the function names in mixed case,
    but the Borland compiler was generating all uppercase for the names.)
    Now I had actually tried this yesterday and it didn't work (in fact it
    generated a whole bunch of new errors) - because until we took a
    second look at it today, I didn't realize that Borland's linker actually has
    TWO flags that control case sensitivity. If you only turn one or the
    other off, things can get pretty ugly looking. As soon as we turned
    both of them off, the compile and link went beautifully. Again, thanks
    for your help; hopefully we are over the worst of it now!
    Dale
    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystalproblem.
    >
    Many Windows based applications rely on PASCAL callingconventions, which
    change the way parameters are handled in function/method calls.They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms forchanging
    the calling conventions of the prototypes in the generated C++wrapper
    library, so when you compile that code, the linker fails. I think thatthe
    compiler may generate different symbols depending on callingconventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate thedistribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI tothe appropriate
    places in the prototype definitions (see above) and use fcompile tobuild
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    We are trying to wrapper Crystal Reports from Forte. I know that
    there
    are a number of other people in this same boat, as I've seenmessages
    posted here at various points during the past few weeks. We arehaving
    a particular problem with getting the compile to go through, whichwe
    have sent in to Forte Tech Support. I'm forwarding the message Isent
    Tech Support to this group in the hopes that someone here mayhave
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc.
    [email protected]
    >
    >>
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / AlaiahChandrashekar
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to
    Crystal
    >>
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after aday
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message foreach
    of the functions we are trying to wrapper. We have tried a numberof
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someonecall
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092-----------------------------------------------------------------------------------
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    [email protected]------------------

  • How to I get Adobe Reader XI to accept links made with Adobe Acrobat XI without asking each time?

    How to I get Adobe Reader XI to accept links made with Adobe Acrobat XI without asking each time?

    Asking for what, exactly?

  • Link contract with another PO line item condition

    Hi
    Need some solution for the following issue:
    Explanation of the issue: First the contract is created for the freight and insurance for vendor say V1. Then the PO is created for the material for vendor V2. In the PO line item the freight and insurance is specified in different condition types. When specifying the cost for the freight and insurance they want to link it with the contract that was created with vendor V1. Is it possible to link the contract for freight and insurance with the PO line item cost?
    Regards

    Need solution

  • [svn:bz-trunk] 18926: bug fix BLZ-570 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError

    Revision: 18926
    Revision: 18926
    Author:   [email protected]
    Date:     2010-12-01 14:07:19 -0800 (Wed, 01 Dec 2010)
    Log Message:
    bug fix BLZ-570 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError
    We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml.
    This needs documentation.
    Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/errors.properties
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java
        blazeds/trunk/modules/core/src/flex/messaging/io/SerializationContext.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AmfIO.java

  • [svn:bz-4.0.0_fixes] 20451: backporting bug fix BLZ-570/ BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError .

    Revision: 20451
    Revision: 20451
    Author:   [email protected]
    Date:     2011-02-24 08:33:31 -0800 (Thu, 24 Feb 2011)
    Log Message:
    backporting bug fix BLZ-570/BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml. This needs documentation.  Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
        http://bugs.adobe.com/jira/browse/BLZ-620
    Modified Paths:
        blazeds/branches/4.0.0_fixes/modules/common/src/flex/messaging/errors.properties
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.j ava
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/SerializationContext.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf0Input.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/Amf3Input.java
        blazeds/branches/4.0.0_fixes/modules/core/src/flex/messaging/io/amf/AmfIO.java

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • [svn:bz-3.x] 20443: back porting bug fix BLZ-570/ BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error  : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError .

    Revision: 20443
    Revision: 20443
    Author:   [email protected]
    Date:     2011-02-23 21:19:22 -0800 (Wed, 23 Feb 2011)
    Log Message:
    back porting bug fix BLZ-570/BLZ-620 Double linked list with lot of objects result in BlazeDS Error deserializing error : StackOverflowError  We put hard limit to the max object nest level to prevent StackOverFlowError. the default max object nest level is 1024 and it can be configured in the endpoint/serialziation section in service-config.xml. This needs documentation.  Checkintests pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-570
        http://bugs.adobe.com/jira/browse/BLZ-620
    Modified Paths:
        blazeds/branches/3.x/modules/common/src/java/flex/messaging/errors.properties
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/Amf0Input.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/Amf3Input.java
        blazeds/branches/3.x/modules/core/src/java/flex/messaging/io/amf/AmfIO.java

  • Mapping of bkpf-belnr  with ekbe-belnr

    hi ,
             we are mapping bkpf-belnr  with ekbe-belnr, but the field have different value in the tables . is it due to wrong entry in the database or they have different value
    it self.
    thanks and regards
    abaper.

    Hi,
    ekbe-belnr usualy don't have relation to account documents in BKPF.
    Usualy in Purchase Document Flow, you have relation to Material Documents (MKPF-MBLNR), Invoice (RBKP-BELNR) and other's.
    Regards,

  • How to make an hypertext link workable with adobe reader for IOS ?

    Hello,
    Hypertext links in a PDF file work perfectly well on Mac OS (Yosemite).
    The same document on an IPAD with IOS is not able to open an hypertext link ...
    How could I do to solve this problem ?
    An author who want to publish electronic books with hypertext links on mobile devices

    Hello Steve,
    All my best wishes for the new year.
    To answer your question :
    . I am writing books on my IMAC with Yosemite  (10.10.1) using Word (14.4.7)
    of  OFFICE MAC.
    . I can open Hyperlink connection by clicking on the link
            . I save the document in a .PDF format
    . This document is sent to my IPAD with IOS 8.1.2
    . In this .PDF document I am no more able to open hyperlink connection
    Please see attached an abstract of my book.
    Thanks a lot for your help and advices.
    Michel Poncet
    Tel: +33 4 76 89 50 82
    http://www.amazon.fr/Glariand-Copent/e/B007NXP7FU
    De :  Steve Werner <[email protected]>
    Répondre à : 
    <[email protected]>
    Date :  vendredi 2 janvier 2015 03:34
    À :  Michel Poncet <[email protected]>
    Objet :   How to make an hypertext link workable with
    adobe reader for IOS ?
    How to make an hypertext link workable with adobe reader for IOS ?
    created by Steve Werner <https://forums.adobe.com/people/Steve+Werner>  in
    Adobe Reader for iOS - View the full discussion
    <https://forums.adobe.com/message/7058559#7058559>
    Hyperlinks can be of several types. What are you linking to? Exactly what
    application did you test the hyperlinks with on the Mac? What application
    did you use to create the hyperlinks?
    If the reply above answers your question, please take a moment to mark this
    answer as correct by visiting:
    https://forums.adobe.com/message/7058559#7058559 and clicking ŒCorrect¹
    below the answer 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:
    Please note that the Adobe
    Forums do not accept email attachments. If you want to embed an image in
    your message please visit the thread in the forum and click the camera icon:
    https://forums.adobe.com/message/7058559#7058559 To unsubscribe from this
    thread, please visit the message page at
    , click "Following" at the
    top right, & "Stop Following" Start a new discussion in Adobe Reader for iOS
    by email
    <mailto:[email protected]eso
    ftware.com>  or at Adobe Community
    <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=
    14&container=4631>  For more information about maintaining your forum email
    notifications please go to https://forums.adobe.com/thread/1516624.

  • I cant link Dreamweaver with BC

    For some odd reason, I can't import my Business Catalyst Sites into Dreamweaver CS6 or link BC with Dreamweaver or even do anything between the two software together at alll. Does anyone know why this would happen? And how do you fix this issue?
    Edited title - no shouting is needed.

    Hi,
    Do you get any error while importing BC site into DW?
    Try to Restore the preferences of DW CS6, as shown in the link below, that might help.
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Please let us know the result. Also, please mention if you get any error or a blank screen.

Maybe you are looking for

  • Very Poor Quality Device Multiple Issues

    I have Purchased this Slate 7 Tab with Great Hope and Trust that HP is a trusted Brand...but Very soon i realised that this is the worst product HP have Launched...Immediately after it started giving problem and since last 1 Year my TAB was in HP Ser

  • Best way to remove apostrophe from string when loadiing

    Hi using an insert statement to load data some apostrophe's in string . We need to ensure all aposrophe's removed from such strings on loading/. What is best way to achive ethis. Uisng 11.2.0.3 Thanks

  • Error while undeploying

    Does anyone know an easy way to solve this error? How comes that a failed deployment can block the whole application? "An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the

  • FIX for battery draining quickly. Turn off push for FACEBOOK

    I thought my iphone battery must be getting old, as my battery would only last half a day despite less than 1 hr of usage. But after some investigation in the preferences, I turned off Facebook push and back to half battery after a whole day outside

  • Organizing and Editing before Importing

    I have a Canon Digital SLR but am a novice. I love to take pictures and often take many poor ones and many with different settings. So I might have 500 pictures on my card, but only 200 worth keeping. For months, I have just been loading them all int