How to relate vbrp & glpca to get line items for both ?

Hi
I am working on some report ,where I am passing vbrp-vbeln  to glpca-refdocnr to get some field from glpca tables.
Now I have to work on item data as well.
vbrp-posnr to glpca-refdocln to get he corresponding line items..but when I put a join condtion on vbeln & refdocnr..it gives me duplicates as well.
below is my query & output  ..Please advice how to eliminate duplicate records ???

hi,
Ok. If we are getting 4 records here then the some where in the previous JOIN statements the records are being duplicated.
If possible try to use join condition on the VBAK table, which is header table in the select statement if that is not possible,
please try with the using DISTINCT key word in the select query.
Let us know the issues.
thanks,
Bhaskar

Similar Messages

  • Hello CS Community: I am about to renew my cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I pay for this, how do I know I'm getting a subscription for both my MAC and PC? It's not clear what is being p

    Hello CS Community: I am about to renew my CS cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I renew, how do I know I'm getting a subscription for both my MAC and my PC? It's not clear what is included in the purchase. I'm choosing the 49.00 a month package. Any insight would be much appreciated.

    Hi ShearLine,
    The Creative Cloud subscription is not OS specific as it's licensed via your Adobe ID.
    You can purchase a single subscription and use it on 2 machines irrespective of it being Windows or Mac.
    Regards,
    Rave

  • How to split ACC_DOCUMNET03 IDOC after 100 line items for given posting

    Hi Friends,
    I need to create an IDOC based on the company code and posting date & a particular company code for a given date has reached 100 line items then create another IDOC for that.
    EX:
    I have 150 Line Items in file
    120 Items are related to Company Code "1100" and remaining 30 related to company code "1200"
    For this i need to create IDOC's like this
    one IDOC with 100 line items which will contain 1100 company code
    second IDOC with 20 line items which will contain 1100 company code
    Third IDOC with 30 line items which contain 1200 company code
    I assume that this can be done through UDF.
    Please can you guys help me this.
    Thanks in advance.
    Thanks,
    Vivek.

    chk this:
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool

  • Get Open Items for GL Reconciliation account for Customers

    Hi All
    We have a difference on our AR to GL reconciliation, we are unable to view all postings to the GL account using Tcodes FBL3N or FS10N ?  - the function is not available on that GL account.
    how do we compare the open items on customer accounts to the postings in the GL reconciliation account if we can not get a line item report ?
    Thanks in advance for any assistance
    Dylan

    Hi,
    Generally for recon accounts, the indicator Lina item display will set to off. So you will not get line items for your recon account in FBL3N report. But still you can get the GL balances in FS10N for that recon accounts.
    If you want to see the line items also for that recon account, then go to master data of that GL and select Line item display option  and block the account in company code for postings temporarly.
    Now run report RFSEPA01 in SE38 for you recon GL account.
    Again go to GL master and unblock the blocking indicator.
    Now check the line items in FBL3N for that recon account.
    Thanks,
    Srinu

  • How to get line item net price and net value?

    I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
    the return table
    ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
    how to get line item net price and net value?

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • How use locator with sax to get line number of an element?

    dear friends,
    it's clearly stated in subject. after trying for hours, i still couldn't figure out how to get line numbers. my class extends defaulthandler. please help.
    ozgur

    hi
    i am also struggling with same problem
    someone plssssssss help.....
    how can i use Locator to get line number of the XML document.
    in my extended DefaultHandler class i have just implemented this,
    public void setDocumentLocator(Locator location) {
         lineNumber = location.getLineNumber();
    but no help...
    how to register my parser to the documnet locator events?
    plzzzzzzz help...
    -Soni

  • FI drilldown reports- cant get Line item details in dynamic selection

    Hi,
    In FI drill down reports line item analysis, i create form in FDI4.I get document currency as a key figure.
    While executing a report in tcode FDI0. i gave company code,dealer and currency as 'EUR' in dynamic selection,.
    the correct output value '1245678.98' also displaying ,but i am not able to get line item details for the value '1245678.98'.
    the path to get line items is Extras-->Line items.
    it shows message as 'The value for characteristic Currency is not unique. Reposition the cursor'.
    how to display line item details.
    plz help.

    Hi,
    You can get this functionality with Virtual Key figures.
    You will have the complete dataset in the RSR00002 Enhancement in CMOD.
    Thank you
    Arun

  • How to inventorise CST with a separate line item during GRN

    Dear All,
    Please could anybody tell me how to post the CST to a diff GL during the accounting entries in MIGO.
    I have a tax code where there is ED, Cess,Secess & CST(Which is inventorised). Now the CST is getting added to material cost during GRN. There is no separate line item for CST. But my client wants the CST will be inventorised but it should be posted to a different GL in MIGO.
    Waiting for your kind reply,
    R Panda

    hi,
    its a standard SAP functionality.
    u cannot find diif line item for CST.
    regards,
    sujit

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item

    Hi,
    I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
    My Requirement is that the system should not allow for Goods Receipt for the Line Item.
    I know of 2 options which are difficult to Implement.
    1) I delete the Line item
    2) Put the delivery Completed Indicator - For this the system still allows for GR
    any Other way of Closing the line Item
    NS

    Hi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
    The Wizard comes only in the Copy From option,
    Close the Line item, by right clicking on that Line item and then 'close Row'
    Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM

  • How to check plan line items for plan cost at network activity level?

    Dear all,
    How to check plan line items for plan cost at network activity level? The plan cost is done in network activity in CJ20N.
    I am not able to check using CJI4 or CJI9 report.
    Kindly advise.
    Thanks and regards,
    Jessie

    Hi Jess,
    Have you checked the navigation part which is being displayed on left hand side of report S_ALR_87013565 and S_ALR_87013533.? There you have option to check transaction currency and object currency when you double click on it.
    In case if it is not being displayed under navigation. Then you can bring them on from transaction code CJE2. For eg: Report group for S_ALR_87013533 is 12KST1C. Double click on it and it will open up to do changes in report layout and many more. There you also have options to bring on transaction currency too. Similarly, you can check for other report groups as well just by checking the report description.
    But I am not sure if suits your requirements. Wait for other experts to comment on this.
    Regards,
    Amit

  • To get line item and confirmation details from CRM_ORDER_READ

    Hi,
    Please can anybody let me know which the field from which i can get line item details and material for the service order given?
    I am using CRM_ORDER_READ to retrieve the values. In that i am exporting 4 fields - et_orderadm_h,  et_orderadm_i, et_product_i, et_doc_flow. So from where to get line items and material id from these fields?
    I will be very thankful if i get the answer of this question.

    Hi,
    The attribute NUMBER_INT of ET_ORDERADM_I contains the Item Number.
    Hope this helps!
    Regards,
    Rohit

  • BAPI to get cost line items for Cost Centers

    Hi,
    does anybody know a BAPI to get
    cost line items for Cost Centers
    or other Cost Center data?
    e.g. actual, plan, commitments
    I'm thankful for help.

    hi,
    check this BAPI <b>BAPI_COSTCENTER_GETDETAIL1</b>
    regards
    vijay

  • How to place a delivery block at line item level from Inbound ORDERS IDoc?

    Hi EDI/ABAP Experts,
    Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
    I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
    Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
    Thanks,
    Matt .

    Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
    FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
      CALL CUSTOMER-FUNCTION '001'
        EXPORTING SEGMENT = IDOC_DATA
                  DVTCOMAG = VTCOMAG
                  DXMESCOD = IDOC_CONTRL-MESCOD
                  CONTRL   = IDOC_CONTRL
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DD_FLAG_P = D_FLAG_P
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        CHANGING  DXVBAK   = XVBAK
                  DD_FLAG_K = D_FLAG_K
        EXCEPTIONS
                  USER_ERROR = 01.
    If you are in ECC6.0  you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U

  • How to handle the limitation of 9999 remittance line item for CTX payments

    Hi,
       I need to send the CTX payment from SAP in XML file format to vendors bank.
       SAP F110 -> Treasury -> Our Bank -> FED clearing system -> vendor bank.
       Fed Clearing system has a limitation of 9999 remittance line item for CTX payments.
       Do we have any standard SAP setting wherein total number of invoice in payment document can          be     limited to 9999.
    Please Advice.

    Hi ,
    First of all the Event R418 as you have mentioned have the structures FKKKO and FKKOP .
    In FKKKO you will not get the sub item and in FKKOP you will get the sub itmes .
    Before the process gets in to Event R418 it has only 1 line item and hence you are facing the problem .
    If you have multiple line items getting in to the FM then you can build the logic based on the Import date that is passed in structure FKKOP .
    Else try for the function module FKK_OPEN_ITEM_SPLIT , in R418 where in you can split the document if you are having only 1 entry in FKKOP.
    Kindly check and revert back with your findings .
    Regards ,
    Dewang

Maybe you are looking for

  • Problems installing SAP NetWeaver 2004 trial version from book DVD

    Hi I'm trying to install netweaver trial version from the dvd in Horst Keller's book ABAP Objects but am having problems. I have tried to uninstall and start again but I keep getting the message below. Any suggestions welcome as I'm new to all this.

  • SAP_ECC_6.0 Migration from Windows 32bit - Windows 64bit_2003

    Dear Tech Masters, I have recently done with SAP ECC6 migration from Windows 2003_32bit to Windows 2003_x86_64 platform. DB is Oracle 10g, No such critical errors found during migration, But Now I am facing a big problem related to memory utilization

  • No IP address detection with AE.

    Hi everyone, I'm using Rogers cable internet service (canada), with a cable modem that detect automatically IP address through DHCP. Works fine with my MacBook (Mac OS X 10.4.7) when there's a direct connection from modem to laptop, but doesn't work

  • Values for 'Uid' property must be Text_for style on listbox

    <Style x:Name="foo" TargetType="ListBox"> <Setter Property="Background"> <Setter.Value> <!-- Your resources go here. --> <SolidColorBrush x:Uid="{ThemeResource ListBoxFocusBackgroundThemeBrush}" Color="Green"/> </Setter.Value> </Setter> </Style> Erro

  • On 9i RAC, one node gives ORA-03113: end-of-file on communica...

    Hi, working with: 9i RAC 9.2.0.2.0 HP Tru64 UNIX SHMMAX is set to 6GB (box has total of 10GB+ memory) I tried to make changes to SGA (db_cache and shared_pool) of 1 RAC node, but change gives below error during startup of RAC node 1 (while the other