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,

Similar Messages

  • Relation between BKPF-BELNR and Clearing document number

    Hi Friends,
    I need one to one relation between Posted document number BKPF-BELNR and
    the clearing document number generated for that (AUGBL).
    I could find BSEG is having the clearing document number in its one of the line item but i don't want to strain my code querying BSEG.
    is there any other way.
    If querying BSEG is the only option, appreciate if any one help me in giving an optimal query( if you have faced the similar requirement)
    Thanks in advance
    Simha

    Hi All,
    Thanks for your help.
    My problem is resolved. I queried BSAK (for my requirement)as suggested by many of you.
    Thanks.
    Simha
    Edited by: Simha on Nov 15, 2008 5:27 AM

  • 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

  • How can I map the composite_dn name with a composite in run time

    Hi All,
    I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
    select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
    Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
    On executing the above SQL statement its returing an empty table without any data.
    Please guide!!
    Thanks in Advance!!

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • Mapping a credit memo with an invoice

    Dear sir.
    Im creat a credit memo (Tcode F-28) it is ok, But I dont know how this credit memo matched to the invoice.
    Eg. I have created an invoice for Customer A (5000USD of goods), then I have a credit memo for this invoice. Creating a credit memo is ok. Now, I want to know how mapping the credit memo with this invoice to reduce customer's credit on this invoice.
    Help me.Thanhk you very much.
    Regards,
    Hangvt

    Dear sir,
    Thank for your reply, can you show me tcode to clear the CM with invoice raised.
    Thanks,
    Hangvt

  • Mapping editor not working with Java 5 classes

    I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
    I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
    I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
    java.lang.NullPointerException
         at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
         at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
         at javax.swing.JTable.tableChanged(JTable.java:2993)
         at javax.swing.JTable.setModel(JTable.java:2827)
         at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
         at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
    It seems that the mapping workbench doesnt work with Java 5. What should I do?

    Ah, I see. I saw another post here stating that must use 10.1.3.

  • Problem in mapping sap bw server with Visual composer

    I tried to create a module.. but the sap bw server is not mapping with visual composer. is any need to have special authorization for that.. if any please mention the authorization and role to be given to get mapping of bw server with visual composer.
    please look into this issue..
    Regards,
    Mohankumar.G

    Hi,
    Have u done user mapping?
    Refer the following  link
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/43/cec42a45cb0a85e10000000a1553f6/content.htm</a>
    <a href="/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer">/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer</a>
    Regards,
    Hemalatha

  • How to map the bulk users with the required  roles in portal at one time

    Hi,
    Would anyone tell me how to map the bulk users with the required roles in portal at one time?

    Thanks for all the reply.
    <b>I need to assign 1 or 2 group to n((eg) 1000)number of users</b>
    I tried the first option like
    [group]
    gid=
    gdesc=
    user=
    Thr problem with this is I could n't put more no of users in the notepad.
    I would be able to put only 150 users in the single line of notepad. If it goes to next line it is not working.
    I tried creating seperate notepad but in Import it says "exists"
    I'm not sure about LDAP. Would anyone explain me the best approach to do this.

  • How to Map Proces form field with Resource form field?

    Hi,
    How to Map Proces form field with Resource form field while creating Process form in Form designer

    Are you talking about Provisioning ?
    then you do that in Data Flow under Process Defintion in OIM 10g
    In OIM 11g you use Request Dataset. In that you can directly map fields to process form.

  • How i map the caf data with data of UWL in web dynpro

    Hi Experts,
    i created a bpm project with nwce 7.1.1 and it have a independent caf to keep it's data and status.
    now i have to create a view(use web dynpro) such like UWL,
    my question is
    how i map the caf data with UWL, and let the view can open the task(popup a window, just like UWL do) for user to finish their job?
    thanks.

    Hi Vic
    Your requirement is exect functionality of UWL based on WEBDYNPRO, CAF and BPM for automation? ,and question is How to use CAF with WD or CAF with UWL API's ?. please clarify it.
    Please fo through from given doc misght give u some idea
    1. [How to develop Web Dynpro UI for your CAF project |http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0722080650DB02400261803144436507End?blog=/pub/wlg/5414]
    Best Regards
    Satish Kumar

  • Detailed example for ABAP mapping in XI7.0 with code in  class builder

    hi experts,
                  will any one one send me the detailed example(including navigation steps) for ABAP mapping in XI7.0 with code in class builder.
                                                         Thankin u,

    Hi,
    Just go through the below link.It will guide you how to do abap mapping:
    The guide is on XI 3.0 but the same can be used in 7.0 also.
    The How-to-guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    This link will provide more information regarding program point of view.
    http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/content.htm
    Thanks,
    Kishore.
    Edited by: Kishore on Mar 14, 2008 4:35 AM

  • Mapping the CMP Fields with the Database Table using Websphere???

    Hi,
    How to Map the CMP Fields with the Database Table using Websphere
    thru ejb.jar.xml???
    Thanks,
    JavaCrazyLover

    Hi,
    How to Map the CMP Fields with the Database Table using Websphere
    thru ejb.jar.xml???
    Thanks,
    JavaCrazyLover

  • On a mac, I have lost the Scaler on Google map. I think that it is Firefox problem because the map scaler is present with Safari. Thank You

    On a mac, I have lost the map scaler on Google map. I think that it is Firefox problem because the map scaler is present with Safari, so it seems that it is not a Google map problem. Thank You

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Can I install old version of google maps that was installed with ios5. What's the app called?

    Can I install old version of google maps that was installed with ios5. What's the app called?

    You can't, it was built-in to iOS and is not in the store. Google are supposed to be working on app version of maps, and in the meantime you could try accessing it via Safari : http://maps.google.com

  • Can we map three BPC users with single domain user

    Hi..
    When we map the three BPC users in the ABAP server in the program UJA3_WRITE_SYS_USERS with domain user,can we map with only one domain user for all three BPC users or we have to use three different domain users to map the three BPC users?
    Please do reply
    Thanks
    Bobby

    yep
    u can map three bpc user with single domain user.
    but domain user must have management roles.

Maybe you are looking for

  • How to set log filename dynamically

    Hi all! Could anybody give me a hint how I can set file name for log4j dynamically. I have a log4j.properties file: log4j.rootCategory=debug, stdout, R #### First appender writes to console log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j

  • Request: PL/SQL, External Table and SQL Loader

    I see lately Questions asked in SQL and PL/SQL forum regarding SQL Loader and External Table are being moved to {forum:id=732}. Being an PL/SQL developer for some time now i feel External Table (and if i may, SQL Loader and DBMS_DATAPUMP) are very mu

  • Transport Package doesn't show up in pending imports after Package upload.

    Hello, I am importing WPC web content (Transport package) (http://help.sap.com/saphelp_nw70/helpdata/EN/46/77da3bb8036ef0e10000000a1553f6/frameset.htm ). Transport Package doesn't show up in pending imports after Package upload. I repeated the packag

  • Script Needed to work with "Save for Web" Tool

    I am looking to compress the JPG image files using the Save for Web tool within Photoshop CS2. As you know, this tool yields better results in image quality and file size than the standard Photoshop Save As command. To this end, I would like to batch

  • IChat video conference corporate firewall help please!

    Hi Folks, I'm trying to get an iChat video conference going, and I keep getting the pesky Error -8 problem. Here's the info i have: - My computer is an intel iMac. The other computer is an intel MacBook Pro, both have all software updates installed a