Invoice: How to use more than one Internal Table's info in one Table

Hi ,
I am doing an invoice, and have the info from internal table wa_itgen showing - Matnr, material description and quantity.
I want to also invlude the info Unit Price and Total price on the table line, but can't seem to do it.
I know that someone I must fill an internal table as I did on the Table itself : is_bil_invoice-it_gen INTO wa_ITGEN.
                 ( TYPE IBBIL_INVOICE).
So now I need to insert:
IS_BIL_INVOICE-IT_PRICE    INTO      WA_ITPRICE.
Do I insert Program Lines, or do it via a LOOP.  Obviously it needs to go under the same Table's cells to incluce it.
I tried a LOOP, Program lines under the CELL of the table where I want it displayed, and even a Second table.
If I have the first table's info, the page displays under VF03, but as soon as I try to insert the 2nd Table's info, under VF03 the screen just not show anymore.
Please help - I've started looking at local maps for bridges... yes, to jump from...

Hi try this,
in the program lines fetch unit price and total price based on ur invoice number(as u are already in main loop which fetches invoice no material no etc).
now loop that internal table with condition inv no = current invoice no and item no = item number
and display those values on a new text field accordingly.
sample code...
select vbeln
       posnr
       j_3asize
       FKIMG
       KZWI1
       from vbrp
       into table itab
       where vbeln = GS_IT_GEN-BIL_NUMBER.
loop at itab into wa where vbeln = GS_IT_GEN-BIL_NUMBER and
                           posnr = GS_IT_GEN-ITM_NUMBER .
move : wa-j_3asize to v_grid,
       WA-FKIMG TO V_QTY,
       wa-KZWI1 to v_val.
       v_up = v_val / v_qty.
endloop.---->like this

Similar Messages

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • How to use more than one device under same apple ID?

    How do you you use more than one device under same apple ID? say for facetime?

    You don't. One Device and one Apple ID.

  • How to use more than one JCo in one project?

    hi all,
    I want to use more than one r/3 systems and want to switch between them while running the application.
    For that, how can I use more than one JCo connection in one project and how to activate/deactivate them so as to switch in between them? And if that possible then what am I suppose to do in order to fetch the data from activated R/3 while running the application.
    Regards,

    Hi,
    Try this threads
    Multiple Client Logon in JCO
    Multiple JCO client connections
    Regards
    Saravanan K

  • How to use more than one application server during initial load?

    Hi,
    we plan to use more than one application server in CRM during initial download in order to increase the number of parallel requests and to decrease the time for the initial load. Is there a way to allocate requests to more than one server? Is is possible via multiple rfc connections for consumer CRM in CRMRFCPAR?
    Thanks.
    Alexander Schiffer

    Hi Naresh,
    thanks for your answer. It has solved my problem. SMLG is the transaction that I was looking for.
    Two more OSS notes that helped me to guide our basis into the right direction:
    OSS 593058 - New RFC load balancing procedure
    OSS 1413986 - SMLG: Possibility to select a favorite type for Ext.RFCs
    Thanks again.
    Alexander Schiffer

  • How to use more than one dataset?

    Hi,
    Is there any way to use more than one dataset in one report?
    Thanks..

    Yes, we can use more than one dataset..
    We can group the data sets using group feature and or(|) condition, like below
    <?for-each-group:/DATA/TOTAL_DEP/TOTAL_DEP_ROW|/DATA/FA_DATA/FA_DATA_ROW?>

  • How to use more than one ipod from one computer

    I've got my 30gb ipod set up and working fine from my pc. I've got my wife an ipod nano and want to set her's up totally separately. How can I do this?

    When the iPods belong to different people, there are basically three ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library
    b) Creating Multiple Libraries in a single Mac or Windows user account
    c) Creating multiple Mac or Windows user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish): iPod - Syncing Music
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod and iPhone
    Multiple Libraries
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Shift key in Windows when launching iTunes. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library: Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    I don't use Windows so I can't give you a step by step on that one, however I can point you to another web page which should help you out. You can read about Windows user accounts here: Create A New User Account In Vista

  • How to use more than one page to design a form-like report???

    Hi
    I am designing a form-like report. and widening the repeating frame to contain all the page or the window like this page:
    Image: !http://up1.m5zn.com/photo/2008/12/21/07/e728mos12.jpg/jpg!
    Now there is no space at the window to complete designing the report!
    How to make the repeating frame to contain more than one page or one window to complete designing the report?

    change Vertical Panels per Page to 2 (or more as needed) for the Main Section of Layout Model.

  • How to use more than one condition together?

    Dear,
    I want to set more than one condition type and use it together for any objects in page, for example page item,page button and etc.
    Is it possible to handle in "PL/SQL Experssion" at condition type?(e.g =>"Request= Expression" and "Current page!= Expression 1",..) if no is answer, please tell me other ways.
    Regards,
    Saeed.

    Hi Saeed,
    Saeed Hassanpour wrote:
    I'd like to know about CGI and Browsers conditions. Can I refer to document or essay about condition type in pl/sql?
        Yes, you can also refer CGI Environment Variables and Browser conditions in "PL/SQL Expression".
        For example :
    The condition type "When cgi_env SERVER_NAME = Expression 1" can be transformed to "PL/SQL Expression" as:
    OWA_UTIL.GET_CGI_ENV('SERVER_NAME') = 'MyServer'
    The condition type for Browser condtions can be can be transformed to "PL/SQL Expression" as:
    instr(upper(OWA_UTIL.GET_CGI_ENV('HTTP_USER_AGENT')),upper('Firefox/37.0')) > 0
        Following is old but comprehensive documentation about Condition Types:
        https://docs.oracle.com/cd/E14373_01/appdev.32/e11838/condition.htm#HTMDB25942
        Hope this helps!
    Regards,
    Kiran

  • How to use more than one ":1" in a ViewObject query

    I have a ViewObject,which has a SQL glued below.In this sql I am using ":1" twice but while I try to run this sql I am getting this error message
    "JBO-29000: Unexpected exception caught: oracle.jbo.SQLStmtException, msg=JBO-27122: SQL error during statement preparation."
    SELECT * FROM ACTIVITIES
    WHERE
    SUB_TYPE_CODE =
    case
    when(:1 IS NULL) THEN SUB_TYPE_CODE ELSE :1
    END
    If I remove one :1 then it is working fine.
    Can any one help me out plss?

    Hi,
    you can use the bind variable more than once. Can you put your SQL into another query tool such as SQL Developer and run it?
    ps, looking at your code what you may actually want its:
    SELECT * FROM ACTIVITIES
    WHERE
    SUB_TYPE_CODE = NVL(:1, SUB_TYPE_CODE )
    bit simpler?
    Brenden

  • How to use more than one region 'Conditional Display'

    Hi,
    I use a region and i want to use 2 Conditional Display for this region:
    . Fisrt when 'Request Is Contained within Expression 1' ==> 'Val1,Val2'
    . Second when 'Inline Validation Errors Displayed'
    Is it possible.
    Thanks

    Hi,
    The first one is relatively straightforward as there is a Condition Type available for that.
    The second one is a bit more complicated but can still be done. Have a look at Re: how to use wwv_flow.g_inline_validation_error_cnt? This will tell you how many validations failed. If there were any failures, you can set a hidden page item to 1, for example, and then use this page item in your condition
    Andy

  • How to use more than one indirect valuation module for the same wage type

    Is it possible and how to use the u201CIndirect valuation based on master data: ICOMPu201D configuration to default the NUMBER and at the SAME TIME to use u201CDefine valuation of base wage types usingu201D to default the AMOUNT from one/two WTs ?

    You can use the the same wage type for both number and amount but you can't assign 2 indirect valuation method for the same wage type at 1 time. I would rather suggest you to go for some customer specific indirect valuation instead of the standard one. You can use BAdI HR_INDVAL for the same.

  • How to use more than one connection in forms 6.0

    Hello to all,
    I'm working with FORMS 6.0 and tried to open a second connection which should only be opened at once when Fomrs is starting and closed when FORMS is closing.
    The following code is working very well: (I've cut the defines and the exceptionhandling)
    Connection_Id := EXEC_SQL.OPEN_CONNECTION (Connection_String);
    cursor_number := EXEC_SQL.OPEN_CURSOR(Connection_Id);
    EXEC_SQL.PARSE(Connection_Id, Cursor_number, sql_string);
    ret := EXEC_SQL.EXECUTE (Connection_Id, cursor_number);
    EXEC_SQL.CLOSE_CURSOR (Connection_Id, cursor_number);
    EXEC_SQL.CLOSE_CONNECTION (Connection_Id);
    My problem is, that I want to use this connection from different scripts (procedures / packages and triggers) of my application. This means opening and closing the connection should be done not in the same function than accessing the SQL-command.
    The only way I could find to create a variable is to use :global.varname. The ConnectionId I get as returnvalue is of the type EXEC_SQL.ConnType. You can not define globals of this type.
    So, does anybody know how to define a variable from this type, so that it is accessible from each script in froms?
    Thanks in advance.
    Susanne

    Susanne,
    database links are named connections to other databases established between databases. So if you are working against database1 but require access to a schema in database2 then you can access this through database1 using the database link.
    however this doesn't solve your problem and unfortunately nothing will solve your problem. Forms uses internal caching and automated locking that doesn't allow Forms to recover if the database you are connected to goes down. All you can do is to setup the database in that a user that disconnects due to the administrator shutting down the database (naughty boy) will be connected to another database when restarting the application.
    For the authorized actions, I suggest to wrap these actions in stored procedures and grant access privileges through database roles. This way a user that tries to perform an action that he isn't allowed to do will get an Exception that you can gracefully handle in Forms. The stored procedure can handle the logging as well.
    Another really cool feature of the Oracel database is fine grained access control akna (Virtual private Databases VPD). Using VPDs a user specific context is set when the user connects so that he can't see what he isn't allowed to and cannot do what he isn't authorized. If you have the chance to read the database documentation, its fairly easy to implement.
    Fran

  • How to use more than one FLVPlayback?

    I am creating a website in Flash. I have a page with 3
    buttons on it to allow people to see 3 videos i have created. Each
    button moves the flash file to a separate frame. On each frame is a
    new FLVPlayback instance. Each one refers to a different externally
    referenced .flv file.
    Only the first FLVPlayback video will play. If i go to the
    second frame, the FLVPlayback video will not play.
    If i delete the first FLVPlayback frame, then the second
    frame will play its video.
    How do i fix this?

    You could perhaps use different FlvPlayback instances on
    different frames but, the absolute best way to do it is to use one
    FlvPlayback instance and when clicking a button tell it (with
    actionscript) to load another flv-file.

  • Hierarchy - How to use more than one characteristic

    Hi People..Sorry for other question. I am new in BW.
    I need my hierarchy by 0VAL_CLASS and below that I need to restrict by 0MATERIAL.
    The hierarchy by 0VAL_CLASS is already done, but I don´t know what is the best way to add the other characteristic 0MATERIAL.
    If it is by coumpound and what is the impact .. or if it is by External chars inside of the 0VAL_CLASS in the hirararchy.
    Example:
    --> Fineshed Material
    0val_class: A
    Material 1 (selected especific one)
    Material 2 (selected especific one)
    0val_class: B
    Material 3
    --> Semi-fineshed Material
    0val_class: A (repeated)
    Material 4 (selected especific one)
    Independent on the way, could you tell me too how to do that.
    Thanks in advance,
    Rosana.

    Hi people, thanks very much for your return,
    I have tried to use external chars. The problem in that example below was that when I execute the query, the report is showing me the "materials 1, 2 and 4" on the lines 0val_class to the "fineshed material and semi-fineshed material" too.
    It means the system didn´t restrict the materials 1 and 2 only to the Fineshed Material. And Material 4 only to semi-fineshed material.
    Could you tell me what is the reason? I don´t know if I forgot some step. The only thing I did was to put "0material"  as "external chars"  inside of the infoobjeto "0val_class".
    Thank you a lot,
    Rosana.
    --> Fineshed Material
    0val_class: A
    Material 1 (selected especific one)
    Material 2 (selected especific one)
    0val_class: B
    Material 3
    --> Semi-fineshed Material
    0val_class: A (repeated)
    Material 4 (selected especific one)

Maybe you are looking for

  • Determining Data transfer rate through modem in java

    Hi, I want to write an application in java which will communicate with connected modem of the system and it will detect the data transfer rate. I want to know how much data is transferring(upload/download)through modem and in a specific time how much

  • E-mail notification for Non-compliant Sales order items in creation of SO

    Hi All, I have a requirement to write the code in user exits of VA01/VA02 when save ,to check each item whether it is legally compliant or not by looking at its system status. If the item is noncompliant then system status (EXLS) for that item will b

  • Convert spool to PDF and send Email in background

    Hi Friends, I would like to execute one of my programs in background. Once I get the spool number of that program, I would like to convert into PDF format and send it as attachement to external mail address.Pl give your suggestions. Regards Elini.P

  • Watermark PDF Documents Service error

    Hello, I created a workflow application to watermark PDF's, and now I'm trying to create a service that does the same thing. The workflow works as an application, but the service is getting an error that reads: "The action "Move Finder Items" encount

  • Unable to reboot my laptop through Windows XP

    system information: Lenovo 3000 N100 i am unable to reboot to Windows XP.   problem started when i wanted to  set my laptop to factory setting. the only disc i had created was Recue and Recovery Start up disk.  whenever i boot the system it takes me