How to create an array of structure which the structure contain an array(s)

im very new to java, and new here
i searched many websites, but i cant find it
it looks like this,
there is 10 employees, each of them has 0-5 children,
what i want is,
peter alan joseph
|?????????????????|???????|??????????????
| |????????| |??????| | |?????| |
| | andrew | | alvin | | | john | | ...........................
| |________| |______| | |_____| |
| |
what i know is,
import java.util.*;
class main{
    public static void main(String[] args){
          employee d[] = new employee[10];
          d[0]= new employee();
          d[0].child = "alvin";
          System.out.println(d[0].child);
class employee{
    String child;
}but only work for 1 child.. =(
i need an array of structure which the structure itself cantains an array(s)
please help, newbie here

sen,
my lecture[r] said no statement in classEither you misundetstood your lecturer [probable]; or your lecturer is full of shit [possible].
is "String[] children = new String[5]" a statement ?Yes, it is.
she said we can only declare like "String[] children;" in classEither you misundetstood your lecturer ...
There's nothing actually wrong withclass Employee{
    String[] children = new String[5];
}But it has the inherent limitation that you can't put the fathers name on the 6'th child's birth certificate... because the dumb computer won't let you... Hence it is poor practice.
A better implementation would be:class Employee{
    private List<String> children = new ArrayList<String>();
}because it doesn't impose an artificial limit on the number of kids a bloke can have.
keith.

Similar Messages

  • How to create an dynamic internal table with the structure of a ddic table

    Hi all,
    I want to fill ddic-tables (which I already created) in my abap dictionary with data out of CSV-files (which are located on the CRM-Server).  The ddic tables have different amount of fields.
    I started with creating a table which contains the name of the tables and the path to the matching CSV-file.
    At the beginning I'm filling an internal table with part of this data (the name of the ddic-tables) - after that I am looping at this internal table.
    LOOP AT lt_struc ASSIGNING <lfs_struc>.
         LOOP AT lv_itab1 INTO lv_wa1 WHERE ztab_name = <lfs_struc>.
         lv_feld = lv_wa1-zdat_name.
        ENDLOOP.
        CONCATENATE 'C:\-tmp\Exportierte Tabellen\' lv_feld INTO lv_pfad.
        Do.
        OPEN DATASET lv_pfad FOR INPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
        READ DATASET lv_pfad INTO lv_rec.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        enddo.
        REPLACE ALL OCCURRENCES OF '"' IN lv_rec WITH ''.
        SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
        INSERT into (<lfs_struc>) values lr_str_value.
        CLOSE DATASET lv_pfad.
    endloop.
    This is not the whole code, but it's working until
    SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
    I want to split all the data of lv_rec into an internal table which has the structure of the current ddic-table, but I didn't find out how to do give the internal table the structure of the ddic-table. In the code I used an internal tyble type string but I should be the structure of the matching tabel.
    If I try to create an internal table by using a fiel symbol, I am told, that the data types are not matching.
    Has anyone an idea?

    Hi Mayari,
    though you were successfull with
    METHOD cl_alv_table_create=>create_dynamic_table
    I must warn you not to use it. The reason is that the number of tables created is limited, the method uses GENERATE SUBROUTINE statement and this triggers an unwanted database commit.
    If you know the DDIC structure, it is (starting with ECC6.0) much easier:
    field-symbols:
      <table> type standard table.
    data:
      lr_data type ref to data.
    Create data lr_data type table of (<DDIC structure>).
    assign lr_data->* to <table>.
    The split code can be simplified gaining speed loosing complexity not loosing functionality.
    field-symbols:<fs_s> type any.
    field-symbols:<fs_t> type any.
    SPLIT lv_rec AT ';' INTO table it_string.
    loop at it_string assigning <fs_s>.
      assign component sy-tabix of wa_string to <fs_t>.
    if sy-subrc = 0.
      <fs_t> = <fs_s>.
    endif.
    at last.
      append <fs_itwa3> to <ft_itab3>.
    endat.
    endloop.
    Though it may work as Keshav.T suggested, there is no need to do that way.     
    Regards,
    Clemens

  • How to create and deploy a JSP which calls a BPEL process in JDEVELOPER

    Hi Gurus,
    I don't know how to create a JSP in JDEVELOPER which call a BPEL process. I have gone through the tutorials. Since, I am new to JDEVELOPER I need some help.
    1. How to create a JSP (I know creating application and project, also I know JSP coding)
    2. How to deploy this JSP?
    3. For the Synchronos BPEL project, the build.xml is created automatically, in this forum, I see people talking about ear war .deploy etc. How do we get them automatically created. Or do we need to create them manually. If it has to be manual some sample scripts would be of great help.
    Any help in this regard would be really great.
    Thanks in advance,
    Sankar.

    I found the following tutorial which clearly explains how to deploy J2EE apps.
    http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm
    I created a simple jsp file in a project, followed the steps in the tutorial and it got deployed onto: http://localhost:9700
    For invoking BPEL process through JSP, I have reused the jsp files available in : 102.InvokingProcesses\jsp and changed the processes and input accordingly.
    Please post me a query in this thread, if any of you want any specific details.

  • How to create variant for selection screen which is in subscreen

    Hi,
    How to create variant for selection screen which is in subscreen in a module pool program?
    it is very urgent.
    Thanks in advance.

    Hi,
    You can create the 'Parameter Transaction' so that whenever you run the particular transaction it will run with the initial value given when the Tcode was created and hence you can skip the initial screen of the module pool program.
    To create Parameter transaction from SE93 you have to choose the last option i.e Parameter Transaction.
    Regards
    Sudheer

  • How to Create one more SOA-INFRA under the same domain in weblogic server

    Hi All,
    Can anybody can guide how to create one more soa-infra under the same domain. In order to maintain my composites to be deployed into
    different domains, I need to create one more soa-infra and deployed all the composites under that one.
    Please let me know if any demo is available for this activity to be gets completed.
    Regards,
    CH

    Hi Vijay,
    There are several composites which needs to be deployed and maintained in the server. So, we I'm trying to maintian
    by deploying composites into 3 different SOA-INFRA's so if one is not accessible, we can look into it and others can access the
    composites from another SOA-INFRA instead of creating domains.
    Let me know what will be feasible way to perform this activity.
    Regards,
    CH

  • Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered?

    Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered? It was described to me as a dvd matrix menu but I can't find anything like it for mac. The idea is that there are multiple videos on the dvd menu and you can choose to play "video A, then B, then C" or "video B, then C, then A", etc, in different orders each time. And it would play the sequence that you choose.

    meghanica wrote:
    I think that's on the right track but I'm wanting something that allows the viewer to choose the sequence when they're looking at the DVD menu. I only see how the creator of the DVD can make different sequences. It's a yoga tutorial DVD and we are wanting the viewer to be able to pick a sequence from the menu items as such: pick one of the 3 warm-up videos, then pick one of the 2 yoga practices and then pick 1 of the 3 cool-down videos and then the dvd will play the sequence of selected warm up, practice, then cool down. And it can be differently chosen every time the viewer uses the menu.
    You can do this on a DVD with DVD Studio Pro.
    DVD's have some very basic storage called SPRM/GPRM scripting IIRC.
    There are a few tutorials around for DVDSP…
    http://www.kenstone.net/fcp_homepage/dvd_language_nattress.html
    http://www.digitalproducer.com/article/DVD-Studio-Pro-Scripting-Part-4-28784
    You use scripts to set values that are stored in a tiny amount of memory on the player & then have to use additional scripts to respond to the values set, so that at the end of a sequence it will jump to the one a user previously chosen.
    Some things to consider…
    DVD's have limits on the number of chapters & titles, you need to plan around that.
    Some DVD players are terrible to navigate, the settings that a user selects will be forgotten when the player is powered off. Users will need to make the choices over & over, every time they use the DVD (computers may remember it - I haven't tested this in years).
    You will also need to setup many variations of menus to be able to indicate what selections they chose.
    It is not a trivial task, you may want to hire a programmer to set it all up.
    Testing is also a lot of work - too many combinations can quickly cause issues for testing, different players can also do odd things too.
    I have used scripting for basic, 'play all' or 'play chapter' menus where the video is encoded once on the DVD & the scripts will either play through, or simply play a chapter & return to the same menu.
    You may find that it would be better to invest in setting up a website with this. On a custom site it would be possible for users to save a playlist or several, they can also share playlists etc, it would be more flexible & usable IMO.
    See roaring apps for info on others who have used DVD Studio Pro with various OS's…
    http://roaringapps.com/app/dvd-studio-pro …it looks like 10.8 may be the last OS to work correctly with DVDSP.
    Other DVD authoring apps may be able to do GPRM scripting too, but you will have to search for them.
    I think the registers are part of the DVD spec, so devices should support them, https://en.wikipedia.org/wiki/DVD-Video

  • How to append S950 Info structure with the structure ZS950

    I have created Info structure ,now How to append S950 Info structure with the structure ZS950

    Refer this link:
    Addition of a new field to a standard table .
    Regards,
    ravi

  • Error unsupported memory access on variable 'Decoder.number_of_values' which is (or contain) an array with unknown size at compile time

    Dear All,
    I am a new user of Vivado HLS. I want to pass an array of struct to a function and use elements of struct multiple times in a function (read and write). I find this error "error unsupported memory access on variable 'Decoder.number_of_values' which is (or contain) an array with unknown size at compile time " . Kindly can anyone tell that is it an issue of directive? if yes then which directive to use for struct and its element. Struct and function are as follows.
    typedef struct {
    uint32_t number_of_values ;
    uint32_t  address[16];
    uint8_t Processed_bit :1 ;
    uint32_t links[6];
    } Decoder_Fields;
    void Raptor_LT_decode(int To_Send,Decoder_Fields *Decoder){
        int counter=0;
        int i=0,j=0,k=0,x,aaa;
        Raptor_LT_decode_label0:while(counter<To_Send){
            if((Decoder[counter].number_of_values ==1) &&(Decoder[counter].Processed_bit==0) ){
                Decoder[counter].Processed_bit=1;
                Raptor_LT_decode_label1:for (i=0; i<To_Send;i++){
                   Raptor_LT_decode_label2:for (k=0;k<Decoder[i].number_of_values;k++){
                         if (( Decoder[counter].links[0]==Decoder[i].links[k]) && (counter != i)&&       (Decoder[i].number_of_values!= 1)) {
                            Raptor_LT_decode_label3:for (j=0;j<BLOCK_SIZE_BYTES/4;j++){
                                     Decoder[i].address[i]= Decoder[i].address[j] ^ Decoder[counter].address[j];
                            for (x=k;x<Decoder[i].number_of_values-1;x++) Decoder[i].links[x]=Decoder[i].links[x+1];
                                      Decoder[i].number_of_values--;
                counter=0;
            else
                counter++;
     

    Hi ,
    This question is asked on the forum from time to time and should be described in the UG902
    In your top level, Decoder is a pointer; this is not supported as-is as you need to know its size when you do something like Decoder[i].XXXX : the tool need to know how many bits to size the addess bus.
    you need to change Decoder_Fields *Decoder to Decoder_Fields Decoder[YOURSIZE]
    with YOURSIZE that makes sense; in this case the tool will know that it need N=log2(YOURSIZE) to fully address the Decoder array variable.
    next when you solve that and that all is good... the question that you will need to transfer the data of the structs from host memory to your VHLS IP; you need to think about this.
    I hope this helps.

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • OIM-How can i set a password policy which does not contain any space?

    How can i set a password policy which does not contain any space?
    I put space at Characters not allowed but it is not working.
    Can anyone help me out?

    You can go to Settings>Messages and turn off Messages. Then go to Settings>General>Restrictions and turn on the the Restriction that prevent changing accounts.
    I just verified that it works.

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • How to create a new report from an information structure?

    Dear gurus,
    My customer wants to have a sales report by product hierachy. I want to create an information structure for product hierachy and create a report from this info structure like a standard report. I dun know which steps to do. Pls tell me how to do. Your help are highly appreciated.
    Thank you!
    Rgds,
    Nghi Do

    Hi,
    Steps in LIS EXTRACTION:
    T.code - :MC18 u2013 create field catalog
    1. Characteristic Catalog
    Application-01-Sales and Distribution, 02-Purchasing, 03-Inventory Controlling, etc..
    Catalog category 1. Characteristic catalog, 2. Key figures catalog 3. Date catalog Select characteristic catalog and enter, click on characteristic select the source table and it will be display the relevant source field and select the source field, copy + close, copy.
    Save, similarly create key figures catalog
    T.code : MC21 u2013 create infostructure
    Example u2013
    Inforstructure : S789
    Application u2013 01
    Choose characteristic select the catalog, select the fields, copy + close Choose key figures catalog select the key figures ,copy + close, save and generate
    T.code u2013 MC24 u2013 create updating
    Infostructure : S789
    Update group : 01- Sales document, delivery, billing document ,enter Select the key figures click on rules for key figures give suggest rules, copy save and generate Click on updating (activate updating) Select the infostructure set periodic split 1. Daily, 2. Week, 3. Month, 4. Posting period Updating u20131)No updating,2)Synchronous updating (V1), 3)As synchronous updating (V2), 4)As synchronous updating (V3),
    T.code u2013 LBW0 - Connection of LIS Information structures to SAPBW Information structure : S786 Select the radio button-Setup LIS environment and Execute.
    Select the radio button-Generate data source and Execute.
    For Delta update:
    Select the radio button-Generate updating and Execute Select the radio button -Activate / deactivate and Execute.
    T.code u2013 SBIW u2013 Display IMG (implementation guide) Setting for applications specific data source u2013 logistics u2013 Managing transfer information structure u2013 setup of statistical data u2013 applications specific setup of statistical data u2013perform statistical setup u2013 sales.
    Choose activity
    Setup u2013 Orders, deliveries, billing
    Choose the activities enter the infostructure (S789), give name of the run, date of termination, time of termination, No. of tolerated faulty documents. Then execute
    T.code u2013 RSA3 u2013 Extractor checker
    Give the data source name eg. 2LIS 01S789 and execute, result will get some records Go to BW side replicate data source u2013 Assign infosource u2013 Create infocube u2013 Create update rules u2013 create infopackage and schedule the package with initialize delta process.
    For delta update :
    In R/3 side
    T.code u2013 MC25, set update (V1) or (V2) or (V3)
    T.code u2013 LBW0, choose generate updating and execute then choose activate / deactivate and execute
    BW side - create infopackage and schedule the package with delta update.
    First time if your scheduling the infopackage -in R/3 side T.code :MC25 -Udating set to No update,insted of selecting the update V1,V2,V3.
    If your doing the Delta update:in R/3 side T.code :MC25-Updating set to either V1 or V2 or V3. and the to T.code :LBW0 -Select the radio button Active/deactivate and Execute.
    and schedule the infopackage with delta update.
    Modules for LIS : SD,MM, PP,QM.
    Deltas for LIS:
    After setting up the LIS environment, 2 transparent tables and 1 extract structure is generated for this particular info structure. Within transaction SE11 you can view the tables u2018SnnnBIW1u2019, u2018SnnnBIW2u2019 and the structure u2018SnnnBIWSu2019 and the InfoStructure itself u201ASnnnu2018
    The tables S5nnnBIW1 & SnnnnBIW2 are used to assist the delta update process within BW.
    Extract structure u2018SnnnnBIWCu2019 is used as an interface structure between OLTP InfoStructure and BW
    The OLTP system has automatically created an entry in the control table u2018TMCBIWu2019. Within transaction u2018SE16u2019 youu2019ll see, that for your particular InfoStructure the field u2018BIW activeu2019 has the value u2018Xu2019 and the field u2018BIW statusu2019 is filled with value u20181u2019 (refers to table SnnnBIW1).
    The orgininal LIS update program u201ARMCX#### will be enhanced within the form routines u201Aform Snnnbiw1_update_....u2018 and u201Aform Snnnbiw2_update
    With the transaction u2018SE38u2019 youu2019ll see at the end of the program starting at line 870 / 1006, that the program is enhanced within a u2018BIW delta updateu2019 coding
    Within the flag u201AActivate/Deactivateu2018 the update process into the delta tables (SnnnBIW1/Sn5nnBIW2) is swichted on/off. In the table u201ATMCBIWu2018 is defined, which table is active for delta update.
    Note: The delta updating is client dependent !
    Regards,
    Ram Pedarla
    Edited by: RamPedarla on Apr 1, 2010 10:35 AM
    Edited by: RamPedarla on Apr 1, 2010 10:35 AM

  • How to create a dynamic RTF report which creates dynamic columns based on dynamic column selection from a table?

    Hi All,
    Suppose I have table, whose structure changes frequently on daily basis.
    For eg. desc my_table gives you following column name on Day 1
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    On Day 2, two more columns are added, viz, Address and Salary.
    SQL > desc my_table;
    Output
    Name
    Age
    Phone
    Address
    Salary
    Now I want to create an Dynnamic RTF report which would fetch data from ALL columns from my_table on daily basis. For that I have defined a concurrent program with XML as output type and have attached a data template/data definition to it which takes in XML as input and gives final output of conc program in EXCEL layout. I am able to do this for constant number of columns, but dont know how to do it when the number of columns to be displayed changes dynamically.
    For Day 1 my XML file should be like this.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 1, EXCEL output from RTF template should be like this.
    Name     Age     Phone
    Swapnill     23     12345
    For Day 2 my XML file should be like this. With 2 new columns selected in SELECT clause.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    And my Day 2, EXCEL output from RTF template should be like this.
    Name     Age     Phone     Address     Salary
    Swapnill     23     12345         Madrid     100000
    Now, I dont know below things.
    Make the XML dynamic as in on Day 1 there must be 3 columns in the SELECT statement and on Day 2, 5 columns. I want to create one dynamic XML which should not be required to be changed if new columns are added in my_table. I dont know how to create this query and also create their corresponding elements below.
    Make the RTF template dyanamic as in Day1 there must 3 columns in EXCEL output and on Day 2, 5 columns. I want to create a Dynamic RTF template which would show all the columns selected in Dynamic XML.I dont know how the RTF will create new XML tags and how it will know where to place it in the report. Means, I can create RTF template on Day 1, by loading XML data for 3 columns and placing 3 XML tags in template. But how will it create and place tags for new columns on Day 2?
    Hope, you got my requirement, its a challenging one. Please let me know how I can implement the required solution using RTF dynamically without any manual intervention.
    Regards,
    Swapnil K.
    Message was edited by: SwapnilK

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • How To Create ABAP Code For HR Context Sensitive Structural Authorization

    Hello,
    We have created a HR Custom Program which IS NOT built off the PCH or PNP Logical Database. As a result, we need to manually create ABAP code for HR Context Sensitive Structural Authorization Check in our custom HR program. Via HR Context Sensitive Structural Authorizations, we are restricting access to personnel numbers and the underlying HRP* tables.
    Any assistance would be greatly appreciated with the identification of the SAP standard function modules (Ex. RH_STRU_AUTHORITY_CHECK, HR_CHECK_AUTHORITY_INFTY, HR_CHECK_AUTHORITY_INFTY , etc) used in HR Context Sensitive Structural Authorization Check, how they are used to control HR Structural authorization (P_ORGINCON), and some sample code.
    Thank you in advance for all your assistance,
    Ken Bowers

    Hello Ken
    You can use the interface methods IF_EX_HRPAD00AUTH_CHECK to get the same structural authorization as you can see in PA20/PA30. You need to use the methods set_org_assignment and check_authorization for this purpose. For more information you can refer to include FP50PE21 from line 237 onwards till 270.
    Regards
    Ranganath

  • How to create a log file for bapi return structure

    Hi ppl,
         I am using BAPI_PO_CHANGE to mark the delivery of POs as complete after many validations through a classic report now my concern is i have been asked to create a log file which details the errors in the POs which is in the bapi return structure.
       I don't know how to do can any one help at the earliest.
    Regards,
    Bharathy.

    hi
    pls see this thread...
    it may help you...
    /people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log
    thx
    pavan
    *pls mark for helpful answers

Maybe you are looking for

  • Multiple clob fields in a single table

    Are there any known performance issues associated with having 4 CLOB fields in a single table... the table as such will be relatively small.. like 100 MB... with most rows being << 50k.

  • I'm getting an error message

    the message starts out "firefox.exe - application error" and continues, "the instruction at 0x5d1c2818 referenced memory at 0x00000008. The memory could not be read. Click Ok to terminate." I've been having problems opening certain websites from time

  • Printing from an Intel Mac via a network to Xerox Workcenter Pro 3545 error

    After 1 1/2 hours on the phone with Xerox person who's not familiar with Mac, removing all PPDs, running disk utility to repair permissions and downloading and reinstalling the latest PPDs from Xerox, I still get this error message "The process 'Xero

  • Can not see NewsItem

    When I click "New Item" using an in-place editor, the item type NewsItem is missing from the LOV list. Is it a known bug? And another question: if I create a page or subpage using native interface, the portlets from the root page are not copied as in

  • Can't create CD Image

    Hi, I'm having trouble creating a CD Image in Disk Utility. I insert the CD and then open Disk Utility. I then highlight the CD drive and click on New in the menu. The problem is that the "Disc Image from Device" option is greyed out. Does someone kn