How to transport an inner table to a subroutine with change return content?

now ,i want to perform a subroutine with a inner table,and i will delete some records from the inner table in the subroutine,but i don't want the change in the subroutine break into my main program.in other words,the content of the inner table which was transported to the subroutine keep no change in the main program after perform the subroutine.is there any way to realize it without announce a new inner table?
Edited by: p y on Jul 4, 2008 5:33 AM

SELECT A~EBELN
         B~EBELP
         A~LIFNR
         A~ZTERM
         A~WAERS
         A~KDATB
         A~KDATE
         A~INCO1
         A~INCO2
         B~TXZ01
         B~MATNR
         B~WERKS
         B~LGORT
         B~LOEKZ
         B~KTMNG
         B~NETPR
         B~PEINH
        INTO TABLE T_BODATA
        FROM EKKO AS A
        INNER JOIN EKPO AS B
        ON AEBELN = BEBELN
        FOR ALL ENTRIES IN T_BONUM
        WHERE A~EBELN = T_BONUM-EBELN
          AND A~BUKRS IN R_BUKRS
          AND A~BSTYP = 'K'.
t_bodata is inner table A,then i will extract vendor info from lfa1 use A-lifnr, and plant address use A-werks ,payment info use A-zterm.every time i have to move the
corresponding field to a new inner table,delete repeat,and then do select use this inner table.i am boring in announce inner table.but in perform , form we can transfer variant by using and doesn't change it's value,
is there any method like this by using table?

Similar Messages

  • How to transport/move a table with data from development to Test to Production

    Hi,
    How to transport/move a table with data from development to Test to Production..? Export-Import a Delivery Unit does only the structure and not the data
    Reg
    Sri

    Hi Sri,
    You cannot transport Data via Transport route in HANA, you can only transport code changes/Structure via DU. For Data movement, you either have a do a export/import from a flat file or replication from a Source System to HANA.
    Thanks Much,
    Abhishek

  • How to make query base delivery monthly report  link with delivery return

    Hi,
    I have facing some problem in Sales delivery report monthly. Problem is:
    1) When i make Monthly query delivery report without any delivery return and AR Credit memo, it is Fine.
    2) When i make Monthly query delivery report with any delivery return and AR Credit memo, it is not showing proper. Its showing in report including return quantity or AR Credit memo quantity.
    So, How to make query base delivery monthly report  link with delivery return and AR Credit Memo?
    Please help me regarding this.
    Mizan
    Edited by: mizan700 on Dec 18, 2010 2:50 PM
    Edited by: mizan700 on Dec 18, 2010 2:50 PM

    Hi,
    try this.
    SELECT DISTINCt T1.CARDCODE, T1.CARDNAME , T1.DOCNUM DELIVERY#,T1.DocStatus 'DELIVERY STATUS', T1.DOCDATE 'DELIVERY Date', T1.DocTotal 'DELIVERY Total', T3.DOCNUM Return#,T3.DocStatus 'Return Status', T3.DOCDATE 'Return Date', T3.DocTotal 'Return Total',T5.DOCNUM Invoice#,T5.DocStatus 'Invoice Status', T5.DOCDATE 'Invoice Date', (T5.DocTotal-T5.VatSum-T5.TotalExpns-T5.DiscSum) 'Total Before Discount', T5.VatSum 'Tax', T5.TotalExpns 'Freight', (T5.DocTotal - T5.PaidToDate) 'Total Payment Due', T7.DOCNUM AS 'CREDIT MEMO#', T7.DOCDATE
    FROM DBO.DLN1 T0
    INNER JOIN DBO.ODLN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.RDN1 T2 ON T2.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.ORDN T3 ON T2.DOCENTRY = T3.DOCENTRY
    LEFT JOIN DBO.INV1 T4 ON T4.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.OINV T5 ON T5.DOCENTRY = T4.DOCENTRY
    LEFT JOIN DBO.RIN1 T6 ON T6.BASEENTRY = T5.DOCENTRY
    LEFT JOIN DBO.ORIN T7 ON T7.DOCENTRY = T6.DOCENTRY
    WHERE  T1.DOCDATE >= [%0] AND  T1.DOCDATE <= [%1]
    Thanks,
    Joseph

  • How to transport a Z table?

    Hi Friends,
    I need to transport a Z (custom) table names "ZXXX". When we go to Transport Connection from RSA1 we can click on Object Types to see all the object we can transport. I dont see any object type that will let me create transport request for my custom table. Would any one let me know how can i transport this custom table to QA and Production system?
    Ur help will be appreciated in terms of points.
    Thanks,
    Manmit

    If you have difficulty in navigating in the transport organiser, then try the following:
    you must have used the table to define a data source or something , right?
    If so, in transport conenction in RSA1 - chose data source and in collection mode chose "data flow in before and afetr" and when the collection is complete, check if see the Ztable. If you see that, you are fine with the transport.
    Then save the objects in a request and release in Se10.
    Ravi Thothadri

  • How to transport a Deleted Table entry

    is there a way of transporting deletions of table entries.
    For example. I'm dealing with a table say such as T529U. So we already have value there for active, inactive, retiree, withdrawn. Say I wanted to delete retiree from the selection list.
    I go to our DEV and make the deletion. I manually create a transport of the entire table and transport it to our QA system. When I do so, the table still remains the same. The only way the record would be changed would be if it was new or had the same key (thus overwriting). How do you remove and transport (so you don't have to do it in all instances).
    any help would be much appreciated.
    Thanks

    Hello
    A delete should be a change just like any other change and should be recorded on a change request.  After releasing the change request you should be able to transport that delete to your QA and PRD systems as needed.
    As a general rule I would not transport the complete table.  There is too much risk that unintended changes get transported. 
    Are other changes to your table being recorded on a transport request?
    If you have another environment(sandbox or project?)  try the delete in that environment to convince yourself that it does(or does not )work.
    Regards
    Greg Kern

  • How to transport the DATABASE TABLE  into  the Test system ?

    Hi Experts,
    I am working on BI7,  I had created Database table in BDV system using SE11. Tech_name is ZGLACC_TEMP. I had activated it. I had used this database table for the purpose of  writing the start routine in the transformation. while I am transporting the transformations to the test system, It is showing as syntax error in ABAP program,
    In BDV system there are no syntax errors. it is working fine,
    So now I have to transport the database table to test system  so that I can transport the transformations into Test system without any error.
    Kindly anyone can give the answer , it will be appreciate and points will be assigned.
    thanks
    sekhar

    Hi Sekhar,
       Go to SE11, go into the change mode of your table and change the Object Directory entry (Goto -> Object Directory Entry) to some valid package (other than $tmp). Then it will ask for a transport request. Give a transport request and then I believe you know what to do with that transport.
       Another thing to keep in mind ... transport all the data elements and domains you have created for this table. Change their Object Directory Entry and assign them to the same transport request.
    Best regards,
    Kazmi

  • Inner table output to Excel with colored cells?

    Hi!
    I would like to output my inner table into Excel ducoment.
    And it is important to have Excel document with colored cells.
    I have searched for this solution, but could not find...
    Any help will be awarded!
    Kind regards, M.

    Hi,
    You can use function module "XXL_SIMPLE_API"
    or alternatively use "XXL_FULL_API".
    On the import, parameter name "N_KEY_COLS" is used to colour fields. The headings are automatically coloured. 1 is the default value.
    This reply is nearly 1 year after the last post
    Regards,
    Daniel

  • [b]How to create this Custom Table on Custom Schema with foreign key [/b]

    This Custom Table is create in Custom Schema and Refers to Seeded Table in APPS schema
    1 create table test_dff (test_id number(15) primary key,
    2* invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE)
    SQL> /
    invoice_id number(15) constraint ap_test_fk REFERENCES ap_invoices_all(invoice_id) ON DELETE CASCADE
    ERROR at line 2:
    ORA-02270: no matching unique or primary key for this column-list
    How to create this Custom Table on Custom Schema
    thanks in advance

    hi prashant
    sorry for replying late, i have checked your query and it gives me no rows, but if i check for user_cons_columns it gives me no rows either in APPS Schema, but in AP schema it gives me
    SQL> SELECT * FROM user_cons_columns WHERE table_name = 'AP_INVOICES_ALL';
    OWNER CONSTRAINT_NAME TABLE_NAME
    COLUMN_NAME
    POSITION
    AP SYS_C008177 AP_INVOICES_ALL
    INVOICE_ID
    SQL> SELECT constraint_name, constraint_type FROM user_constraints WHERE table_name = 'AP_INVOICES_A
    LL';
    CONSTRAINT_NAME C
    SYS_C008177 C
    SYS_C008178 C
    SYS_C008179 C
    SYS_C008180 C
    SYS_C008181 C
    SYS_C008182 C
    SYS_C008183 C
    SYS_C008184 C
    SYS_C008185 C
    SYS_C008187 C
    SYS_C008189 C
    SYS_C008191 C
    and since this is a combination of Unique and Not Null Constraints , i am getting the same issue. do u have any solution to make the Detail table records to delete without using Alerts/DB Triggers?
    thanks for your time .
    abdul rahman

  • How to transport a custom table data into QA

    Hi,
    Requirement is to transport data maintianed in customtable from DEV into QA.
    I have maintianed the delivery class to "C" in attribute and Data class to "APPL2" for this custom table.
    But still i am getting following error when trying to insert the records under customaizing transport.
    "Transport is not possible for the specified data
    Message no. SV142".
    Am I missing any settings?
    Hints plz.
    Thanks.
    Regards,
    Pramod.

    Thanks for all your inputs.
    I could figure out the issue. I have changed the attribute data class to "C" only after genererating the table maintanance. This is causing the problem.
    Seems the code[table maintanance] is generated based on the value for data class.  Hence changes to data class attribute has no impact on the functioanlity of table maintanance.
    After changing the attributes, I have regenerated the table maintanace and its working fine.
    Regards,
    Pramod

  • How do I keep a table the same size but change the width of columns?

    I know this is probably a really stupid question. But after looking online and at the table palette... I still can't figure it out! In Quark, I can "maintain the geometry" of a table by clicking a box. That way, I can change the width or height of rows and columns... without changing the overall size of the table itself. How do I lock down the overall size of a table in InDesign? Thanks...
    Julie

    @Julie – you can change column width by alt + shift + dragging left or right cell sides without changing the overall size of the table.
    For other table goodies see:
    http://indesignsecrets.com/18-handy-table-shortcuts.php
    Hope that helps!
    Uwe

  • How can I Reconcile all tables on multiples mappings with scripting????

    I have OWB 9.2.0.2.8
    I have to reconcile all tables and external tables on multiple mappings.
    How can I do it with scripting language, please?
    Thanks very much in advance!!!!

    Good afternoon Claudio,
    Should be something like this:
    foreach mapName [OMBLIST MAPPINGS] {
      puts "Checking $mapName"
      foreach tabName [OMBRETRIEVE MAPPING '$mapName' GET TABLE OPERATORS] {
        puts "Reconciling $tabName"
        OMBRECONCILE TABLE '$tabName' \
          TO MAPPING '$mapName' \
          OPERATOR '$tabName' \
          USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID');
    }If you want to alter reconcile and/or matching strategy, check documentation on OMBRECONCILE in the OWB Scripting Reference.
    Good luck, Patrick

  • How to fill pre-defined tables in Word 2003 with test results?

    Hi All,
    I have a simple test board , where i measure different DC levels,  with a simple Vi that saves the test results in to a Text file.
    These results in text file, were manually typed in to a test report , which is a Word document with tables, but i have now created a macro in word 2003 that can take the results from text file and added to the specific rows and columns in  my word test report file.
    The big questions is how can i get Labview to,after it has measured the DC levels, write the test results to the specific tables , rows and columns, in the Word document without deleting all?
    The attached picture illustrates one tables , and the yellow cells showing the cells that need to be filled in with test results.
    Labview vers: 2009
    Solved!
    Go to Solution.
    Attachments:
    Template.jpg ‏37 KB

    Hi!
    I'm a Test Engineer for electronics and I create alot of automated tests with LabVIEW. Many of our customers want testsresults in a fancy and easy-to-read report. I did not have the MS Office Report Generation tool. So I did some research in the Excel Board and came a cross a link to a free open Excel toolkit ( Link ). The toolkit looks like this in LabVIEW:
    As you can see, you have many tools to get the job done. I'm talking about reading, writing and formatting Excel. The toolkit uses activeX. If you give me a few minutes I'll create an example for you.
    What I do when I create a report:
    Step 1. Create a template with all your formatting, macros, images and colors. Name the file for example "template.xlsx" (or .xls if you use an older office version).
    Step 2. In your program, copy the file to the desired location and give it a proper name.
    Step 3. Aquire some data and write it to the file you copied and renamed.
    For my latest project I created a fully-automated testprogram for testing a electric product. After each test a report is generated based on the procedure above. After testing all the products I have for example 300 reports. I then created a program that reads all the reports and creates a summary report that contains statistics for all the tested products. In my program I can also print the reports or the summary report and deliver to our customer. All this takes just a few seconds and adds extra quality to the products we sell to our customer.
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to handle a repeating table in FrameMaker 8 with varying columns

    Hello,
    I have a unstructred FrameMaker 8 table question that I hope someone can answer for me.
    I have a RTF document that I have brought into FrameMaker 8.
    The table came into FrameMaker without any major problems.
    From FrameMaker 8, I now have to apply a special template to generate the special "Table Title" field, that allows the table to break across several pages; using the "Table Continuation Variable".
    Also, I must use select the "Add Rows or Columns" option and choose "Add 1 Row to Heading", so that my "Table/Column/Head" row repeats on every table page.
    With that said, here is where it gets interesting!
    ISSUE #1
    Usually, my next step is to add 20-30 rows to the last row on the first table page and then paste in the table data from the second (original) table into these new table cells. The end result is that the table will bump from page 1 to page 2 and "Table Title (Continued)" will automatically appear on the second table page - and so forth...
    It is not the fastest way to handle RTF tables, but this is the only approach I know off-hand.
    Does anyone know if there is a way to simply merge the legacy breaking tables together and then apply the "Table Continuation" variable and repeating Table Column Header row?
    ISSUE #2
    As mentioned above in Issue #1, I must manually add extra rows to the bottom of the first table page and then paste in the table data that flows over the next few pages.
    But, my multi-page table is based on procedural steps and therefore some table pages have 4 columns, while others have 5 columns.
    So, using the process stated above, I simply can't copy and paste.
    I must now manually add another column to the affected table page. But when I do this, FrameMaker 8 naturally adds an additional column to the first table page. When that happens, I must then go back to the first table page and straddle the new column into the original column.
    Does anyone know if there is a better way to handle these legacy (RTF) tables?
    Overall, I am hoping that there is an easier way of handling a legacy (RTF) table that breaks over several pages and has different columns, based on the section in the table.
    Thanks in advance for any solutions offered.
    Regards,
    Jim

    Rick Quatro has a plugin that handles some of your issues:
    http://www.frameexpert.com/plugins/tablecleaner/index.htm

  • How to add itunes and iphone to new computer with out losing contents on iphone

    Im trying to add itunes to a new computer and when i go and update my iphone to the new computer it wants to wipe everything off it and start new cause i have it on an old computer how do i fix this

    Copy the entire /Music/iTunes/ folder from old computer to /Music/ on new computer.
    and also copy any other data you want from old computer to new computer.

  • How to generate one invoice for a sales order with product returns

    Hi All,
    I have a sales order that has been delivered and goods issue posted. Now the customer returns some of the product and I generated a Return using VA01 - document type RE, generated a returns delivery and posted a goods return.
    I need to generate an invoice that will only consider the quantities that were not returned.
    I have checked the sales process pertaining to returns, but all I have found consider generating a Credit Memo.
    Is there a way to generate an invoice that will only invoice the quantities that were not returned? Say I sold 10 pcs, and 2 were returned, so I want to invoice 8.
    Many thanks in advance.
    Oscar

    Hi Sandeep, Jyotsana, Goutham. Thank you all for your time and your replies.
    What is happenning here is that there is a vendor-client relationship where there is a constant flow of purchase orders, and the orders are large.
    I understand that it is standard SAP procedure, but in this case, it is not the most efficient. I have two alternatives the way I see it:
    1. Post the invoices according to SAP Standard, and then the Credit Memo.
    2. Reverse the Purchase Order.
    There are disadvantages with both alternatives:
    1. I get much more paperwork than I really need.
    2. When I get the returns, the delivery, picking and goods issue have been posted, and I would have to reverse all that. Not a very good Idea I think, especially if I have a purchase order with 150 different materials and I get a return of 2 items of one material.
    Again, thanks for your replies. From what you have told me I am thinking that what I'll need is to implement a User Exit or Badi.
    Best Regards,
    Oscar

Maybe you are looking for