How to get all the line items for each Purchasing Document ?

Hi,
There are multiple purchase orders (EBELN) in PSA with different line items (EBELP). But, when loaded into ODS from PSA, I am getting purcahse orders with only one Line item.
Eg.,If the EBELN has a Record# 4000005 and has 3 line items in it (10,20, 30), I am receiving 10 or 20 or 30 Line item.
As there are more than one line item per PO, how can I retreive all of them?
Also, there are no conditions / routines in transfer structure and update rules.
Please let me know

problem solved.
I moved the EBELP field from Data fields to Key Fields in ODS.

Similar Messages

  • How to get all the approver list for a particular transaction in iExpense

    Is there any API to get all the approver list for a particular transaction in iExpense workflow after submitting an expense report?

    Hi All,
    Could anyone please let me know API to get all AME approvers in one go.
    I am currently using below API to get approver list.
    ame_api.getallapprovers (applicationidin => 201 , -- PO
    transactionidin => l_document_id , -- req header id
    transactiontypein => 'PURCHASE_REQ'
    ,approversout => l_appr_list
    But if any of the approver is INACTIVE then API is going into exception and not showing all approvers. Requirement is like to show all approvers with their statuses (ACTIVE / INACTIVE).
    Reply ASAP.

  • Defaulting the Sotrage location for all the line items in my sales order

    Hi,
    I have a scenario to default the storage location automatically in my sales order for all the line items. It is not going to change for a particular sales org. Dist. channel & Division combination. Can you pls. suggest me a solution for this.
    Thanks
    Ghanesh.

    Hi,
       You can default the storage location by using the below user exit
    Storage location
    Auto determination of storage location as u2018XXXXu2019 for sales order
    Include - MV45AFZB
    Form - USEREXIT_SOURCE_DETERMINATION
    IF (VBAK-AUART = 'XXXX' and VBAK-VKORG = 'XXXX' and VBAK-VTWEG = 'XX').
    VBAP-LGORT   = 'ABCD'.
    Regards,
    Gopal.
    Edited by: Gopalakrishnan S on Feb 25, 2010 7:35 AM

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • How to get all the values in one column of a JTable

    How to get all the values in one column of a JTable as a Collection of String.
    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.

    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column. You could always write a custom TableModel that stores the data in the format you want it. It would probably be about 50 lines of code. Or you could write a loop in 3 lines of code. I'll let you decide which approach you want to take.

  • OMB Plus : how to get all the generated messages into a text file ?

    Hello,
    I wrote an OMB TCL script and I would like to know how to get all the messages generated during the exécution into a text file.
    I tried this, but it works only for a puts command :
    set DesProjet ACT_1
    set filename [ open "c:\\temp\\INFDE_010_IMPORT_REPOSITORY_$DesProjet.log" w]
    puts "test"
    Thank you for your help

    Hello Alain, you should try the OMBLOG variable. If you set it inside OMBPlus:
    set OMBLOG c:/temp/mylog.txtthen all the OWB specific commands are logged with their output. By OWB specific I mean all those that start with OMB.
    This is more than what you see in the interface, because:
    - messages inside procedures are logged; you wouldn't see them on std.output when you call a proc
    - variables are resolved, so if you issue the command
    set my_var VERY_IMPORTANT_TABLE
    OMBDROP TABLE '$v_myvar'the log will show:
    OMBDROP TABLE 'VERY_IMPORTANT_TABLE'
    Table dropped
    and you know something is wrong... so OMBLOG is very useful to intercept all manipulations on you repository.
    If what you want instead is a dump of the screen output when you execute a script, I suggest you redirect standard output from the operating system command line. Unfortunately OMBPlus doesn't support all advanced redirection and tracing features of the TCL language.
    Hope this helps, Antonio

  • How to get all the values from a HashMap? thanks

    hi
    can anyone tell me how to get all the keys and their values contained in a HashMap? thanks

    thanks to u all for ur response, i gues if i need to get both keys and values, i need to use keySet() to get a set of keys first and then using each key to get value. is there any other faster way to get both of them (key and value)? thanks again

  • How to get all the values of a variable with F4 with checkboxes to select

    Dear Experts,
    After Executing a query by giving let 3 values(Out of 10 Values) to a variable.
    To give 2 more input values to the same variable(i.e.,total I wanted to give 5 inputs this time ),after refreshing the query,for that variable if I click F4, I am seeing the historical values(i.e.,3) and remaining 7 values also But with out any Check Boxes besides them to select the 2 inputs.
    In the same F4 Screen, If I click all values(an Icon at The bottom),then also Im seeing but no check Box.
    I hve tried by deleting the Delete Personalization also,but no use.
    Please tell me How to get all the values with F4 with check boxes to select ,whatever I want??
    Thanks in advance

    Take a look at the InfoObject and go to the Business Explorer tab. If the 'Query Def. Filter Value Selection' is set to 'Only Values in InfoProvider', you're only going to get the values in F4 that exist in the InfoProvider, not everything in the Master Data. This would need to be changed to the value of 'Values in Master Data Table' if you want it to show everything possible when F4 is chosen.
    Likewise, you're going to need to look at the query and go to the Advanced tab for the InfoObject. Make sure that the radio button for 'Values in Master Data Table' is selected. If not, then you should change that selection.

  • Separate line item for each invoice in payment document

    Dear Experts,
    while making payment for a vendor through F-58 for multiple invoices, the system grouping the invoices on Business Area basis and giving the line items.
    For example there are 2 invoices for 5000 and 6000 in one BA and another 2 for 4000 and 9000 in second BA, the system is generating the entry as follows
    Vendor  A/c Dr   BA1  11000
    Vendor A/c  Dr   BA2  13000
    Bank    A/c  Cr            24000
    I want the system to generate separate line item for each invoice instead of 2. How do i do it?
    But this is not happening when i am making partial payment and in that case it is generating 4 line items.
    regards
    Suresh

    Thanks for the reply
    Checked it but still it is working in the same way.
    It is a requirement for the client, is there anyway to do it?
    Regards
    Suresh

  • Need a table to be printed at end of line items for each Header level

    Hi Friends,
    I have to print a table in the smartform at the end of all the line items.
    The problem is
    For example there are 2 Header Details say A B  and header A has 15 line items and B has 8 line items.
    Now I am printing header A line items first. Suppose each page can have 5 line items. At the end of line items for header A I need to print a table at the end of line items for each header
    Page1
    A1
    A2
    A3
    A4
    A5
    Page2
    A6
    A7
    A8
    A9
    A10
    Page3
    A11
    A12
    A13
    A14
    A15
    Table1 has to be printed on this page
    Page4
    B1
    B2
    B3
    B4
    B5
    Page5
    B6
    B7
    B8
    Table2 has to be printed on this page.
    Does any one had this kind of situation?
    Waiting for your replies.
    Thanks,
    Chaithanya
    Edited by: chaithanya k on Mar 20, 2008 5:08 PM

    Hi,
    Thanks for your reply and sorry for the late response.
    I have 2 tables one is the Header table and the other is Item table. After printing all the item details and then it should print the Header level details at the end of the items details.
    Hope you understand. Please see my question where I have given an example.
    Thanks,
    Chaithanya.

  • I have registered a credit card for purchasing apps from the app store. My bank has issued a new chip based card and now the 16 digit numbers have changed. How do I register the new card for flowless purchases?

    I have registered a credit card for purchasing apps from the app store. My bank has issued a new chip based card and now the 16 digit numbers have changed. How do I register the new card for flowless purchases?

    Go to Apple Menu > App Store > View my account > sign in and then edit the payment details with the new card details.  
    I am assuming that your card and supporting bank are in the same country as your residential (billing) address and that you are using the App Store of that country.

  • Differentiating of pricing schema for each purchasing document type

    Dear colleagues,
    This topic could be discussed before but I need to clarify some points.
    We would like to differentiate pricing schema per purchasing document types (e.g. AA and ZZ). These purchasing documents are not like domestic and import types.
    There some condition(s) where purchasing document type AA should not be able to maintain whereas ZZ should be able to.
    In this case shall use one unique pricing schema for both purchasing document types if so how can I hide some conditions for document type AA or if I use separate pricing schema how can I set different pricing schemas for different purchasing document types because both document types have same purchasing organization, vendor etc. 
    Regards
    Metin

    Hi,
    Why to have two different schema groups! Is procurement process is completely different, so use to have!
    (have thought of separate condition types for each Calculation Schema)
    Based on Schema Group Of Vendor in the vendor master, the PO for vendor with respective Schema Group Of Vendor will populate the assigned condition typesu2019. Follow path:
    SPRO->MM->Purchasing->Conditions->Define Price determination process ->Define Schema Determination
    Under segment:
    Determine Calculation Schema for Standard Purchase Orders
    Here you can assign Schema Group Purchasing Organization, Schema Group of Vendor and Calculation Schema
    Under segment:
    Determine Schema for Stock Transport Orders
    Here you can assign Schema Group Purchasing Organization, PO document type and Calculation Schema
    Regards,
    Biju K

  • How do I get ALL the info records for a materials plants using an SAP FM?

    I need to get all of the info records from the EINE table for a material - all of its sites (plants, we are using SAP retail).
    The problem is this:  I call the FM MD_INFORECORDS_READ - here is the code for my call:
    CALL FUNCTION 'MD_INFORECORDS_READ'
              EXPORTING
                imatnr               = t_output_data-article <-- the material number
                iliefnr              = lv_eina_key < -- see below on how I get this
              importing
                eeine                =
              TABLES
                exp_eina             = it_eina
                exp_eine             = it_eine
              EXCEPTIONS
                no_eina_record_found = 2
                no_eine_record_found = 3.
    lv_eina_key is taken from this call:
    SELECT SINGLE altkn INTO lv_vendor_no
            FROM lfb1
            WHERE lifnr = lv_site (plant)
            AND bukrs = t_output_data-company_code.
    The probelm is it only returns the first record it finds for each site.  There could be multiple info records, each one based a a different Valid From date for each site.  I need either ALL of the EINE records for each site OR the most current one
    I know I am not using ALl of the parms in the FM - but are there  maybe there are other ones should I be using.
    Perhaps there is there another FM I should be using - cause I do not have the info record number to pass. 
    Thanks.
    Scott

    Never mind - the FM does work - this was bad data.

  • How to include Business Place field in the line item for argentinian comp?

    Dear,
    We've just implemented a company code from Argentina, but when we try to post a document, the system doesn't show the field Business place in the line item, so we can't fill this field. This problem is causing some posting errors for us. Is the any way to set this field in the transaction FB01?
    We have already checked the field status for account and posting key. The field is not available is this functions.
    Thanks in advance,
    Leandro Albertini

    Hi Albertini,
    Follow the path as follows and configure the business place for your plant and company code:
    SPRO, Financial Accounting, Financial Accounting Global Settings, Tax on Sales/Purchases, Basic Settings, Settings for Tax on Sales/Purchases in South Korea, Assign Business Place.
    In this activity, you can assign a business place to a plant. The business place is recorded for each posting.
    Please reward points if helpful.
    Regards,
    Sreekanth....

  • How to get all the values in the Select-option.

    Hi,
    I got the select-option field so_week, for eg. If I give 200923 to 200926 (year and week)  in the selection screen and then I need to pass this value (200923) to the FM 'ZWEEK_GET_FIRST_DAY' to get the first day of the week.
    My question is how can i get all the values from the select option, (i.e) i need to get 200923, 200924,200925, 200926.
    Regards,
    Anbu.

    Hello,
    I will prefer Max's solution. But just for the sake of this req.
    i need to get 200923, 200924,200925, 200926
    i am proposing my soln:
    DATA: V_WEEK TYPE RSCALWEEK.
    SELECT-OPTIONS: S_WEEK FOR V_WEEK NO-EXTENSION OBLIGATORY.
    AT SELECTION-SCREEN.
      DATA:
      V_COUNT TYPE I,
      V_ADD   TYPE I,
      RT_WEEK TYPE RANGE OF RSCALWEEK,
      RS_WEEK LIKE LINE OF RT_WEEK.
      V_COUNT = ( S_WEEK-HIGH - S_WEEK-LOW ) + 1.
      DO V_COUNT TIMES.
        RS_WEEK-SIGN = 'I'.
        RS_WEEK-OPTION = 'EQ'.
        RS_WEEK-LOW = S_WEEK-LOW + V_ADD.
        APPEND RS_WEEK TO RT_WEEK. "RT_WEEK--> Will contain the week values
        CLEAR RS_WEEK.
        V_ADD = V_ADD + 1.
      ENDDO.
    @Max: I was stupid enough not to think of your solution. Need to leave office
    Cheers,
    Suhas

Maybe you are looking for

  • How to remove all values from column

    Hi all I have one table and in that i have one column which contain some null value.now i want add a not null constraint on that column but it already contain null values. how shuld i delete that column value only or how should i proceed now please h

  • Help generate dynamic table in xslt for apache FOP

    down vote favorite For the following xml file, i need to generate an xsl-fo file to be converted into pdf. I am new to style sheets and struggling to create dynamic table. Please help. Also, the width for each column varies,based on the column.How wo

  • Corelated commit in owb

    Hi, can any one explian how corelated commit works in owb.suppose if i enable corelated commit in mapping and when i am running same mapping and if i pass runtime parameters like commit frequency=10000. whether it will commit every 10000 records in t

  • Problem caused the program to stop working correctly

    After months of operating (Windows 7) with no problems, I started receiving an error message while scanning ( with my Fujitsu fi-6130 scanner) a somewhat large document (15-25 pages).  All pages go through the scanner fine, but before Adobe completes

  • SCSI transport failed: reason 'aborted': retrying command

    The /var/adm/messages it show as below: does anyone knows what is this error message and how i can fix it?? dsu1b:/var/adm ROOT > more messages Jul 30 05:53:04 dsu1b xntpd[313]: time reset (step) 0.134397 s Aug 1 08:34:08 dsu1b xntpd[313]: time reset