Table that gives PO items

Hello,
First of all, I'm totally new in Web Dynpro so this question is probably easy to answer for most of you...
The goal is to display a table that gives several items from a PO.
What I did:
I made a service call for BAPI_PO_GETITEMS, IMPORTING purchaseorder, CHANGING PO_ITEMS.
In my view => Context I added a default value for the purchase attribute (3000000050) which is an existing PO number in the system.
I then went to Layout, used the wizard to add a table and selected the fields I want to show in the table (with binding checkbox).
When I run this it's not showing me any values though, it's showing me an empty table with the correct columns (the ones I selected). I made sure PO number 3000000050 contains items.
I'd appreciate if someone could help me with this
Best regards,
PJ

Hello,
First of all thanks for your replies.
Yes the BAPI returns all fields but I also have all the fields in my note (the service call did that automatically). I'm just not using all the fields in my table (didn't bind them all, removed the checkbox for quite some).
About the debugging: what I did was open WDDOINIT and put a breakpoint there. When testing the window (connected to the view) I came in debugger but I could not find anything in it, it's basically all empty fields. When I put my breakpoint in the componentcontroller -> methods -> execute_bapi_po_getitems my debugger doesn't even start.
I guess that means the execute_bapi_po_getitems is never called? Should I put that in WDDOINIT?
If I put my EXECUTE_BAPI_PO_GETITEMS in WDDOINIT it tells me EXECUTE_BAPI_PO_GETITEMS is unknown or protected or private. That's probably because EXECUTE_BAPI_PO_GETITEMS is in my custom controller?
Edited by: PJ Deraedt on Oct 16, 2009 1:30 PM

Similar Messages

  • Table that gives the relation between plant and company code

    Hi gurus,
    I actually have plant number and using this plant value i need to get the company code.
    Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
    Thanks in advance.

    Hi Bhanuphani,
    Use  T001K  where BWKEY is the plant
    Reward if useful
    Thanks Arjun

  • I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly app

    I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly appreciated.

    Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
    var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
    var subtotal=0;
    for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
    nfSubtotal.rawVlaue=subtotal;

  • In the previous version, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    in the previous version  of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    Hi silvano,
    If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
    Start in Cell B2
    1 Tab 2 Tab 3 Enter
    4 Tab 5 Tab 6 Enter
    7 Tab 8 Tab 9 Enter
    Now you are ready to type into B5 .
    Another way that some people find easier is to enter one column at a time
    Start at B2
    1 enter
    4 enter
    7 enter
    etc.
    Now start with C2.
    Use whatever suits your work flow.
    Regards,
    Ian.

  • Table associated with ODS that gives number of records added

    Hi Friends,
    I am looking for a db table that has information similar to that in the 'Request' tab of ODS Manage. Most importantly I am looking for the number of records added for a given request.
    Thank you for your inputs
    Deepthi

    Hi Deepthi,
    Refer the RSMONFACT table with the ODS's technical name. The field REQ_INSERT_SUM would give the no. of records added. The field IC_ID would take both cube and ODS name.
    Bye
    Dinesh

  • Hyperion Explorer 8.3 querying multiple tables that contain a specific item

    I have 3 annual tables that contain data for 3 different years.  Each table has a sale amount, item sold, and customer ID.  I want to pull a specific customer ID from all 3 tables at once. 
    Is there a way to achieve this?
    Thanks!
    Johnny

    Add the 3 fields from the first table, then click Query > Append Query, then add the same 3 fields in the same order from the second table, then add the same 3 fields in the same order from the third table.  This creates a UNION between the three tables; which means they need to be in the same order and have the same datatype.
    If you want to show duplicate data found in the different sources, just change the UNION operator to a UNION ALL operator, otherwise it will suppress any duplicate rows.
    To limit the data to one specific customer ID, you can set a limit on each of the UNION tabs with 'Customer ID = <selection>'.
    Good luck!
    Jarod Vierstra

  • ANYBODY GIVE ME THE TABLE/TABLES THAT CONTAIN TCODE AND DEVELOPMENT CLASS

    ANYBODY GIVE ME THE TABLE/TABLES THAT CONTAIN TCODE AND DEVELOPMENT CLASS

    Hi phani,
                 The table TSTC contains the transaction codes.
    Also the below links provides a lot of info on the Standard SAP Tables.
    http://www.sapdev.co.uk/tables/tables.htm
    Pls reward if useful..
    Thanks,
    Sirisha.

  • Which all tables suffice all line item GL data requirements

    Please clarify this requirement for Line Item Data from  New GL. my client BMW Inc have configured  New GL in ECC 6.0  if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL  data. Please help me for this if u can check with any of your friends in FICO.  
    2. I have seen that BSEG AND BKPF are used earlier in old FI  versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF  or still i have to pull records by using these tables. for GL Line Item Data.
    If you can help me to give the short  overview of  New GL posting process it would be great.
    Thanks
    Regards
    Soniya Kapoor

    Hi Soniya,
    FAGLFLEXA & FAGLFLEXT would contain all FI line item
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm
    Pls assign points as way to say thanks

  • User Defined Field that gives the date output of the last price update.

    We would like to create a User Defined Field (UDF) with a Formatted Search (FMS) on the Item Master form that gives the date output of the last price update specifically the wholesale price.
    Last Price Update
    Pricelist 2 = Wholesale
    Is this feasible?
    If it is feasible what is the recommended approach?
    Current working UDF on Item Master.
    /* Date output is based on all the latest updates on the Item Master.*/
    select max(updatedate)
    from aitm
    where itemcode = $[oitm.itemcode]
    Resources that were helpful.
    1.(Note:1165947 - Tracking Item Price Changes.)
    2. Case 4-I6: Query on price updates. Mastering SQL Queries for SAP Business One By: Gordon Du

    Thank you Gordon,
    We are looking for the date output of the 'Last Price Update' based on 'Pricelist 2 = Wholesale' which is the challenge.
    These 2 are the parameters for the date output, I should have mentioned that in my original message.
    Last Price Update
    Pricelist 2 = Wholesale
    Per reading a bunch of other similar Forum Questions it looked like it is might not be possible to do. With there being no date on the AIT1 table and AITM.Updatedate is based on any and all updates not just last 'Last Price Update' and not sure how to use the loginstanc.
    Thanks,
    Vern

  • Can't make Table that will accept letters - default entry is numbers

    Hey folks, I'm a relative newbie to Numbers and I'm tearing my hair out trying to find answers to a simple question (which isn't helped by Apple's idiotic, IMO, insistence on calling its programs simple words that yield 650 bazillion results in Google...and you then have to sift through about a billion pages of unrelated information).
    How in **** do you enter data into a Table that isn't number-based?! I can't find any way to set the cells in 'Sheet 1' to 'text' data entry (as opposed to numbers). When I click over to the Table in question, the only keyboard that pops up contains numbers. (The Help file is useless - it only talks about entering numbers in the Table you've created. I know this is possible b/c somehow I set up another Spreadsheet that would take Text entry in the Table. I can't for the life of me remember how I did it and I can't find a way to simply copy that Spreadsheet, then delete all the info, and re-use it.)
    When I enter letters into cells in the spreadsheet itself, they then show up just fine in the Table - but then the next record defaults right back to the numbers-only keyboard. Again, the only mention in Help is how you can enter text in Sheet 1, not in a Table.
    AGGGH!
    Message was edited by: divingdonkey

    tap the table once to activate it
    tap teh grey bar above th column you want to be text only.
    Tap the "i" button
    tap Format
    Tap text
    On ocassion I have had to format as number, then back to text to make it "take".
    btw, when "googling" for items like Numbers, use "iwork Numbers", or include the word "Apple" in the search. this will usually bring you back far more relevant results.
    For duplicating an existing file, go back to the main spreadsheet list, and click the "plus" button while your spreadsheet is directly above it. This will give you the option to make a new spreadsheet from a template (including blank) or duplicate the workbook above. I do beleive this is in the help file.
    (added) yep found it:
    http://help.apple.com/iwork/1.3/safari/index.html#tan72718373
    formatting cells is here:
    http://help.apple.com/iwork/1.3/safari/index.html#tan72716bdb
    Jason
    Message was edited by: jaxjason
    Message was edited by: jaxjason

  • Is there a BAPI that gives the status information (and possibly more) of a

    Hi All,
    We are using an external document image system where we scan and code vendor invoices. They are send to our SAP system via a BAPI.
    We want to update the status of the invoice in the document image system from the status in the SAP system, so whether it is still open or has been paid and cleared. Is there a BAPI that gives the status information (and possibly more) of a specific vendor open item?
    Regards,
    Gerrit

    Are you sure about that? Several highly regarded, widely downloaded apps, e.g., eReader, have an option to hide the status bar. The developer forums are awash in discussions about the commands to hide the status bar-- it's built in to the SDK.
    I figure someone will have put out a small program that does nothing but hide the status bar or allow its tweaking... much like StatusBar does on the Palm OS 5 PDAs...

  • How do you find a table that doesn't have a specific word in it.

    I have two questions.
    questions 1
    How do you find a table that doesn't have a specific word in it by using a query on the whole database?
    questions 2
    How would i list all of my cars names in my database not showing duplicates?
    I have tried, tried and tried some more to get both of these, but I guess i don't know how to query a specific word.
    I also don't know how to query everything in just 1 column name.
    If anyone could help with these that would be great I have been trying queries for over an hour now and no luck.
    Thanks

    798837 wrote:
    I tried the all_tab_columns, just like you did it, however that just gives me the column name I am looking for what is not in a column.
    For example I need to find all the tables where mustang is not = 'red' but using a single query i need to find all of the tables.
    As for number 2
    I am looking for something like this
    select distinct column_name
    from all_tab_columns
    where column_name ='AcertainColumn';Now I'm even more confused. In your example, is MUSTANG a column name? Or is it the value of a MODEL column in the CARS table? And how could that possibly relate to something that exists in multiple tables?
    If your data model is at all reasonable, I would expect that you would just want
    SELECT *
      FROM cars
    WHERE model = 'Mustang'
       AND color != 'Red'but I can't see how this would relate to data stored in multiple tables.
    Justin

  • How to make screen field enable when table control gives an error

    Hi,
        I had a scneario like when table control data wrong then one parameter of the screen should be enabled for the input, i knew that screen-name will not work since it will have always table control fields only when table control gives an error.
    How to make the other parameter enable when table control throws an error.
    Regards,
    Jaya

    Hi Gobi,
         Thanks for your response, but issue is - how to make other screen fields enable when there was an error in the table control data.
    For table control - lets say we will use the code as i mentioned above.i am sure that we cant write the code for field enable in between loop & endloop.
    as you said if we right outside the loop-endloop, the module wont be triggered when table control throws an error, because that statement was not there in the loop-endloop.
    please let me know if you need any more information on the issue. I hope there is alternative for this in SAP.
    Thanks
    Jaya

  • How to find out the tables that will be affected using a transaction

    Hi,
    How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
    Is there any transaction or a simple way to find out the solution?
    Thanks,
    Pradeep.

    Hi,
    Give transaction code and in menu(system- status),  double click onthe Program name.
    Check in TOP INCLUDE - you will find all the tables related to that transaction.
    Thanks,
    Anitha

  • Table that contain epstp field

    dear all expert
    i want to create report for pr relase
    i have some problem, in item category i found epstp field, but i cannot found the table
    in eban i found pstyp, but its different with epstp
    please help me to found table that contain epstp field

    Hi,
    you can find in T163X and T163Y.
    epstp is Item category in purchasing document.
    Regrds,
    Nikhil.

Maybe you are looking for