Integration of BOR functionality into a ABAP-OO Class

Hi together,
we are planning a WebDynpro application in which we are using about ten ABAP-OO classes. The functionality of that classes are using BOR-Objects. Since we are using the M-V-C pattern, we like to create Entities, e.g. "Business Partner" within our model. There is already a BOR "BP" existing. We like to use this BOS-Object for implementing the ABAP-OO Entity Class. By doing it that way, we are sure that the new object will satisfy any SAP compliance.
Is there a standard way to integrate the functionality of BOR-Objects into an ABAP-OO Class?
Best regards
    Thomas Wetzler

Hi,
have a look how SAP is handling this, for example in class CL_ATTACHMENT_LIST.
There is an include CNTN01_SWC with the definitions of the data-types and macros you need to handle the BOR-objects and containers.
Include this in the local class-implementations of your global class. Then you can handle the BOR-objects inside the methods as usual.
Regards
Dirk

Similar Messages

  • How to indicate a message by a planning function type in an ABAP-OO-Class

    Hello,
    I integrated a message with following statement " MESSAGE i003(upf1) WITH v1 v2." in an ABAP-OO-Class, which is used by a Planning Function Type. The function type works but it´s not indecated after executing the Planning Sequence, neither from web template nor in the planning modeller.
    Does anybody know this problem/behavior?
    Thank for response
    Andreas

    Hi Joerg,
    how about this:
    data: l_dummy type char100.
    MESSAGE i003(upf1) WITH v1 v2  into l_dummy.
    i_r_msg->add_msg( ).
    You do not need to take special care about the variables. Just raise the message as you want it to be raised. The only thing you need to do is to raise the message into a string (..into l_dummy). The interface IF_RSPLFA_MSG and the implemetation of add_msg is going to read the standard message variables (SY-MSGNO, SY-MSGID, SY-MSGTY, MSGV1 ...). You just need to throw the message
    and call  i_r_msg->add_msg( ) e.g. in the execute method of your customer planning function.
    Please give it a try and take a look at it in the debugger.
    Hope this helps.
    Matthias Nutt
    SAP Consulting Switzerland

  • Download File from DMS into WD ABAP gives junk data

    Hi Experts ,
    I want to achieve following functionality in WD ABAP.
    User should be able to upload and download any file ( in any fromat ) , to / form document management server.
    Since user can upload / download any file so I am using a file download UI , which would open any file in a new window.
    I have searched about this in SDN ([ link |https://wiki.sdn.sap.com/wiki/display/Snippets/WDA%20Retrieve%20Data%20from%20DMS%20server]) and I have created a FM which gives me Xstring corresponding to the file in the DMS system.
    then I pass this Xstring data to my context 'DATACONTENT' which is bound to file download UI (data property). But When I execute this application I am getting junk data in the new window. Please correct me where I am making a mistake.
    following is the code in FM which in turn passes v_xstring ( of type xstring ) to WD ABAP . Then I bind this value to context
    'DATACONTENT'.
    wd_context->set_attribute( name = 'DATACONTENT' value = V_XSTRING ).
    FUNCTION ZTESTING_EP.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(DOCUMENTTYPE) LIKE  BAPI_DOC_AUX-DOCTYPE DEFAULT 'IVF'
    *"     VALUE(DOCUMENTNUMBER) LIKE  BAPI_DOC_AUX-DOCNUMBER DEFAULT 1
    *"     VALUE(DOCUMENTPART) LIKE  BAPI_DOC_AUX-DOCPART DEFAULT 000
    *"     VALUE(DOCUMENTVERSION) LIKE  BAPI_DOC_AUX-DOCVERSION DEFAULT 00
    *"  EXPORTING
    *"     VALUE(C) LIKE  BAPIEMPLB-RETURN
    *"     VALUE(V_XSTRING) TYPE  XSTRING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    data: ls_docfiles type bapi_doc_files2,
           ls_dms type dms_doc_files,
           lt_docfiles type standard table of bapi_doc_files2.
    select single * from dms_doc_files
       into ls_dms
       where "Retrieve file
    MOVE '0000000000000000000000001' to DOCUMENTNUMBER .
    MOVE '000' to DOCUMENTPART .
    MOVE '00' to DOCUMENTVERSION .
    if sy-subrc = 0.
        ls_docfiles-documenttype = DOCUMENTTYPE.
        ls_docfiles-documentnumber = DOCUMENTNUMBER .
        ls_docfiles-documentpart = DOCUMENTPART .
        ls_docfiles-documentversion = DOCUMENTVERSION.
    endif.
      call function 'BAPI_DOCUMENT_CHECKOUTVIEW2'
        exporting
          documenttype              = ls_docfiles-documenttype
          documentnumber            = ls_docfiles-documentnumber
          documentpart              = ls_docfiles-documentpart
          documentversion           = ls_docfiles-documentversion
          documentfile              = ls_docfiles
         getstructure              = '1'
         getcomponents             = 'X'
         getheader                 = 'X'
         pf_ftp_dest               = 'SAPFTPA'
         IMPORTING
         return                    = return
       tables
         documentfiles             = lt_docfiles.
    MOVE return to return.
      data: i_bin type standard table of sdokcntbin,
            i_info type standard table of scms_acinf,
            v_info type scms_acinf,
            v_id type sdok_phid,
            v_cat type sdok_stcat.
      if sy-subrc = 0.
        loop at lt_docfiles into ls_docfiles.
          v_id = ls_docfiles-docfile.
          v_cat = ls_docfiles-storagecategory.
          call function 'SCMS_DOC_READ'
            exporting
              stor_cat                = v_cat
              doc_id                  = v_id
              phio_id                      =  ls_docfiles-file_id
           tables
             access_info                 = i_info
             content_bin                 = i_bin
           exceptions
             bad_storage_type            = 1
             bad_request                 = 2
             unauthorized                = 3
             comp_not_found              = 4
             not_found                   = 5
             forbidden                   = 6
             conflict                    = 7
             internal_server_error       = 8
             error_http                  = 9
             error_signature             = 10
             error_config                = 11
             error_format                = 12
             error_parameter             = 13
             error                       = 14
             others                      = 15
        endloop.
        if sy-subrc <> 0.
        else.
         data: v_xstring type xstring.
          read table i_info into v_info index 1.
          call function 'SCMS_BINARY_TO_XSTRING'
            exporting
              input_length       = v_info-comp_size
           importing
             buffer             = v_xstring
            tables
              binary_tab         = i_bin
           exceptions
             failed             = 1
             others             = 2
          if sy-subrc <> 0.
          endif.
        endif.
      endif.
    ENDFUNCTION.
    Thanks in advance
    Abhay

    Hi Abhay,
    I have used the belwo method to achive the same:
    1) Call funtion 'CVAPI_DOC_GETDETAIL' to get the document details.This function module returns PT_FILES tables parameter
    2) Loop at PT_FILES and call the 'CV120_GET_MIME_TYPE' funtion by passing DAPPL of PT_FILES to get the mime type.
    3)call function 'CVAPI_DOC_CHECKOUTVIEW' by passing PT_FILES values form above retrived to the function module in this step
    4)Loop at the content and convert to XSTRING using SCMS_XSTRING_TO_BINARY
    After getting the XSTRING,MIMETYPE use ATTACH_FILE_FOR_RESPONSE method of CL_WD_RUNTIME_SERVICES to download the file
    Sample Code:
    CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
          EXPORTING
            pf_dokar     = ls_draw-dokar
            pf_doknr     = iv_documentnumber
            pf_dokvr     = ls_draw-dokvr
            pf_doktl     = ls_draw-doktl
            pf_read_drat = abap_true
          IMPORTING
            psx_draw     = ls_draw
          TABLES
            pt_drat      = et_drat
            pt_files     = et_files
          EXCEPTIONS
            not_found    = 1
            no_auth      = 2
            error        = 3
            OTHERS       = 4.
      ENDIF.
      IF et_files IS NOT INITIAL.
        LOOP AT et_files INTO ls_files.
          CALL FUNCTION 'CV120_GET_MIME_TYPE'
           EXPORTING
             pf_dappl           = ls_files-dappl
    *       PF_FILE            =
           IMPORTING
             pfx_mimetype       = lv_mimetype.
          CLEAR lt_files_checkout.
          CLEAR lt_content.
          ls_files_checkout-description = ls_files-description.
          ls_files_checkout-lo_objid = ls_files-lo_objid.
          ls_files_checkout-ph_objid = ls_files-ph_objid.
          APPEND ls_files_checkout TO lt_files_checkout.
          CALL FUNCTION 'CVAPI_DOC_CHECKOUTVIEW'
            EXPORTING
              pf_dokar                 = ls_draw-dokar
              pf_doknr                 = iv_documentnumber
              pf_dokvr                 = ls_draw-dokvr
              pf_doktl                 = ls_draw-doktl
             pf_content_provide       = gc_content_provide
    *         PS_API_CONTROL           =
    *         PF_STD_URL               = 'X'
           IMPORTING
             psx_message              = ls_message
             psx_draw                 = ls_draw
           TABLES
             pt_files                 = lt_files_checkout
    *         PTX_COMPONENTS           =
             ptx_content              = lt_content.
          IF ls_message CA gc_error_a.
            ev_fail = abap_true.
          ELSE.
            CLEAR lt_xdata.
            CLEAR ls_bindata.
    *Data into String
            LOOP AT lt_content INTO ls_content.
              lv_size = ls_content-orln.
              ls_xdata-line = ls_content-orblk.
              APPEND ls_xdata TO lt_xdata.
            ENDLOOP.
    * --  Convert XData to Xstring
            CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
              EXPORTING
                input_length = lv_size
              IMPORTING
                buffer       = ls_bindata
              TABLES
                binary_tab   = lt_xdata
              EXCEPTIONS
                failed       = 1
                OTHERS       = 2.
            IF sy-subrc NE 0.
              ev_fail = abap_true.
            ELSE.
              ls_file_list-filename = ls_files-description.
              ls_file_list-mimetype = lv_mimetype.
              ls_file_list-content = ls_bindata.
              ls_file_list-application_id = ls_files-lo_objid.
              ls_file_list-file_id = ls_files-ph_objid.
              APPEND ls_file_list TO et_file_list.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Madhu

  • Re: functional spec for ABAP query

    Hi gurus
    I need one model functional specification for ABAP Queries
    amk

    Hi,
    Functional Specification  is written by the functional consultants to give to the ABAPers where there will write technical specifications to meet the requirement.
    Regarding your issue, u have to first know
    whats the requirement is
    when to start with either T.Code and
    at what field
    who are authorized to do that
    How we do that
    How this integrated with other modules
    what implications it is going to reflect in other modules
    the approval from the repective supervisors
    and finally viewing the output
    and rectifying the same after going through the technical requirements.
    Mohan
    Award pointsif it helps.

  • Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR

    HI Experts,
    What are the Advantages of 'HR_INFOTYPE_OPERATION' Function Module In ABAP-HR rather than BDC Both methods?
    Thanks in Advance.
    Naveen

    Hi
    The function module  'HR_INFOTYPE_OPERATION' can be used to update,insert,modify,delete and change in the same function module.
    Codings are also very simple there by calling this FM in case of conversion program.
    Performance is also good when compared to session method.
    Speedy performance in conversion programming.
    The sample codings is given.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'    
         EXPORTING                           
              INFTY          = '0009'        
              NUMBER         = EMPLOYEENUMBER
              SUBTYPE        = SUBTYPE       
              OBJECTID       = OBJECTID      
              LOCKINDICATOR  = LOCKINDICATOR 
              VALIDITYEND    = VALIDITYEND   
              VALIDITYBEGIN  = VALIDITYBEGIN 
              RECORDNUMBER   = RECORDNUMBER  
              RECORD         = P0009         
              <b>OPERATION      = CHANGE </b>       
              NOCOMMIT       = NOCOMMIT     
    There by changing the operation field into "INSS","MOD","DEL" alone we can do conversion program easily.
    Then if no commit ='X' then it does't get updated in database so that it will be easy for us to check whther the fields get updated properly in database.
    If no commit = ' ' then the possible fields get updated in database.
    Thanks,
    Sakthi.
    *Rewards if usefull*

  • At Craig's suggestion: Why Invoke PERL functionality from WD-ABAP?

    Craig -
    This is response to your suggestion that I post my own reasons for thinking that it would be useful to be able to invoke PERL functionality from WD-ABAP.
    Please note at the outset that these reasons are based on my own personal belief that the relatively new vertical sectors of bioinformatics/biomed could produce reasonably significant income for SAP in a reasonably short time if SAP decided to create application-level functionalities in these areas. 
    This belief is in turn based on a very significant new initiative which has been publicly announced by the university Medical Center recently voted "most-wired" (Vanderbilt) and equivalent initiatives at other university Medical Centers across the country.  (BTW, I've posted a meeting time (Tue 7pm) at Tech Ed for anyone who wants to learn more about these initiatives, the new vertical sectors they define, and how SAP could EASILY play in them.)
    So, with this background established, assume that SAP does decide to play in the bioinformatic/biomed sector. 
    SAP will rapidly find that a lot of biomed is based on the kind of bioinformatics that essentially does pattern-analysis on two kinds of strings: polynucleotide strings (DNA, mRNA, tRNA, etc.) and polypeptide strings (mainly the amino acid strings that form the "primary structures" of protiens.)  For example, biomed will soon include the ID of "at risk" markers for all patients in a university medical center, indicating what diseases patients may be genetically at risk for due to SNP's and other abnormalities in their inherited DNA.
    Now when such analysis is not done by running "canned" versions of well-developed programs such as the ubiqitious BLAST program for "aligning" polynucleotide or polypeptide sequences, it is done by programs written in languages that offer superb capabilities for pattern-searching and manipulation of strings, e.g. PERL.
    Additionally, I know from personal experience and the experience of my SigOther that even data obtained from well-known canned programs must be further massaged by non-canned techniques that again are readily implementable in PERL and other similar languages.
    Finally, a lot of bioinformatic/biomed applications require iterative batch execution of canned stat routines such as t-tests or normality tests, which can be conveniently done via calls from languages such as PERL to canned products such as STATA.
    So assume SAP wants to develop a biomed application that has:
    back-end data containing the usual kinds of info med centers need to know about patients, plus the new kinds of scientific info about patients that med centers are creating
    a presentation component that displays these two kinds of data for query, further elaboration/refinement, and subsquent update.
    For example, there will be times when a doctor will want to take scientific data on a patient from the back-end (e.g. portions of a patient's DNA), subject it to pattern-analysis of the type described above, and then store the results of the analysis as additional new scientific info in the back-end databases.
    And SAP can readily provide the doctor with this capability if it allows PERL functionality to be invoked from WD/WD-ABAP components.  In some cases, the PERL will simply invoke industry-standard canned programs such as BLAST and wrap the results in a way friendly to SAP.  In other cases, the PERL may do the analysis itself.  In other cases, the PERL may invoke stat programs.  Etc, etc. etc.
    The point is that there is a vast inventory of bioinformatic/biomed PERL code out there, and if SAP wants to get serious about playing in the bioinformatics/biomed sector, it will be much easier to talk to this inventory of programs rather than recreate it in JAVA or SAP inside SAP. 
    Anyway, please remember - this post was based on the  assumption that SAP may want to get serious about playing in the bioinformatic/biomed sector.
    If not, then as Rosanne Rosanadanna used to say, "Never mind".

    Hi David,
    Where it can be used :-
    Anywhere that you can insert ABAP code to run, you can integrate Perl in the manor that I laid out.  The only requirements are the ability to run registered RFC programs, and to execute ABAP code including RFC calls (which is anywhere inside of an R/3 system basically).
    Comparison with other techniques :-
    All communication from the ABAP stack with the J2EE stack is done via RFC - this is only faster than a registerd RFC Server if Fast RFC is used which means that the J2EE stack MUST reside on the same host as the R/3 instance.  Therefore there is no performance difference at that level and any performance differentiation is going to be in the programming language Perl vs Java, or payload encoding techniques (XML) at that level (not withstanding the consideration of development time).
    There is also the HTTP Client communication facilities - with or without document encodings (the ICF + eg. SOAP).  Again - I'd take a long hard look at whether it is necessary to be encumbered with the data packet encoding/ecapsulation overhead.
    What you gain :-
    Once you are in the "land of Perl" you have access to essentially any module you can find on CPAN, so any data access you require whether it be some kind of application server technology, or DB, can be fullfilled by whats available there (unless you need to roll your own?).  And lets not forget algorythm implemented in Perl or Perl XS extensions - probably very important in the medical/scientifc field.
    SOA (IMO) is a big ugly 4 letter word.  At the end of the day, you have to look where your time and money is best spent, and whether you can achieve the desired results using Scripting Language Connector technology, or whether you feel compelled to go down a WS-* style route.
    However - I would like to say this - IMO it is totally unecessary to wrap up system integration in multiple (expensive both in money, and performance considerations) layers if you are confident that you have good control over both ends of the communication streams.  I believe that when your main objective is to utilise large chunks of code written in another language (rather than reimplement it in something closer to SAPs core interests), or communicate with inhouse data sources/systems (I've done this for MySQL before), then this is definitely one such case that opens the door for using my outlined approach (in the article).
    Cheers,
    Piers Harding.
    Message was edited by: Piers Harding

  • Convert XML string into an abap format date and time

    Hi,
    Does anyone know of a method or a function module in ABAP which converts XML string into an abap format date and time.
    Here is a part of the xml that I want to convert.
    <ns2:EventDateTime>2009-07-02T10:13:45+10:00</ns2:EventDateTime>
    <ns2:EventMessageTransmissionDateTime>2009-07-02T10:13:45.987+10:00</ns2:EventMessageTransmissionDateTime>
    Currently EventDateTime and EventMessageTransmissionDateTime are type XSDDATETIME_Z and these are converted to proper dates and times. We will be changing these fields to a STRING instead of XSDDATETIME_Z. The reason for this is to make the field more versatile. The customer would be receiving dates with Zulu (2009-09-23T12:00:00Z), with offsets (2009-09-23T12:00:00+10:00/-10:00) and just local timestamp (2009-09-23T12:00:00). With this, we need to make the date fields as string
    to be able to accept the various date formats (esp. the local timestamp).
    I am looking for a standard function module or method that will convert the xml string to a proper date and time abap format.
    Would appreciate anyone's help!
    Thanks.
    Edited by: eunice ocson on Jul 13, 2009 1:49 AM
    Edited by: eunice ocson on Jul 13, 2009 1:50 AM
    Edited by: eunice ocson on Jul 13, 2009 1:51 AM
    Edited by: eunice ocson on Jul 13, 2009 1:51 AM

    Hi Eunice
    Use the FM 'SMUM_XML_PARSE'
    for more info
    [Convert XML string to ABAP|XML String to ABAP or GUI]
    hope it helps you.
    Thanks!!

  • Updating liveCache Data using Function Module or ABAP program.

    Is it possible to update APO Live Cache using Function Module or ABAP Program.
    Will the aggregation/disaggreagation remain the same if data is modified using Function Module or ABAP Program.
    Regards,
    Vikas

    ello Vikas,
    -> Please click at
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    & read about 'SAP liveCache'.
    As you know objects stored in liveCache in the class containers can be accessed
    and manipulated only via LCA routines which are methods of LCA objects.
    The registration of the LCA routines is done automatically when
    the liveCache is started by the LC10, check the lcinit.log file.
    The shared procedures in the LiveCache are written in C++ and shipped
    to the customers as binary shared libraries(LCA-Routines) < LCA build >
    together with the LiveCache. The original C++ source code of the
    libraries is not generally available to the customers.
    The LCA routines could be called via "/SAPAPO/OM*" ABAP functions.
    -> For SAP liveCache documentation in English:
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    < -> Database Administration in CCMS: SAP liveCache -> liveCache Assistant ->
    liveCache: Monitoring -> Problem Analysis-> DB Procedures >
    In transaction LC10 for the LCA connection choose liveCache:Monitoring
    then go to Problem Analysis -> DB Procedures=>
    The system displays an overview of all database procedures loaded into
    liveCache, their input and output parameters, and other details.
    -> Tr. /n/SAPAPO/OM16 ( in further releases /n/sapapo/om19 ) is provided by
    SAP to get information about data stored in the LiveCache. If you would
    like to get your own views, you should write a special report in ABAP using
    "/SAPAPO/OM"-development class functionality.
    -> There are standard function modules in ABAP available to extract/change data from/in liveCache.
    -> In addition to the given information => find more information at:
    SCM 4.0 -> http://help.sap.com/saphelp_scm40/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 4.1 ->
    http://help.sap.com/saphelp_scm41/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 5.0 ->
    http://help.sap.com/saphelp_scm50/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    You can go to the Advanced Planner and Optimizer documentation from the above links < Supply Network Planning Run -> Aggregated Planning -> SNP Disaggregation Or SNP aggregation . >.
    If you still have open questions on the posted topic =>
    Could you please give more information on your application scenario.
    Thank you and best regards, Natalia Khlopina

  • How to include new functionality into WAS

    Hi,
    how can I include new functionality from external C sources into WAS.
    I mean a my own functions callable from ABAP by statement "CALL cfunc" (call system function) ?
    Thanks.
    Marian

    Hi,
    You may want to use RFC for the same.
    Check this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm
    Regards,
    Siddhesh

  • How to upload Excel file in BI using function module in abap program

    How to upload Excel file in BI using function module in abap program?

    Hi Anuj,
    To upload the file , you can try a standard program "RSEPSFTP" .
    while you execute the program , a selection screen appears in which the inputs should be give as
    RFC destination - The target server name
    FTP command- PUT
    local file - your file name
    local directory - path of your local file
    remote file - your target file name
    remote directory - where it has to be stored
    Hope this is useful for you
    Thanks & regards
    Anju

  • Query on integrating windows file server into SAP KM using WEBDAV

    hi
    I have sucessfully integrated windows file server into SAP KM using WEBDAV. I have query in it regarding the possible validation against the portal Database user. Can we configure such that the user comparison happens for LDAP as well as database user. Have anyone configured such a scenario?
    Regards,
    Ganesh N

    Hi Ganesh,
    this should work in principle.
    However you would need a user in Active Directory for each user in the portal database that should connect to the file server if you are using the SSO22KerbMap Module as I assume.
    In my whitepaper I have mentioned this for the internal user index_service that does only exist in the portal database.
    Best regards,
    André

  • Couldn't complete tutorial 'Integrating EJB 3.0 into Web Dynpro ...'

    Hi All,
    I am trying to complete the “Integrating EJB 3.0 into Web Dynpro Using the EJB Model Importer” tutorial that goes with SAP NetWeaver Composition Environment 7.1 SP3 Developer Studio.
    Does anyone ever completed this tutorial because I have problems completing it. The result is very important for me because I need to use this technology for my essay.
    In this tutorial you create a button that calls the method StudsBean.getStudent(String). In this method the object student is created and it will be returned. In several labels the information of the returned student should be displayed. But that doesn’t happen, when I push the button no error occurs but the labels are still empty. When I try to debug the Enterprise Bean and Web Dynpro application I see that the method StudsBean.getStudent(String) is called and the property’s are set and the student object is returned, but still it isn’t displayed.
    After discussing this with a colleague I tried to search for a solution on the SDN and of course Google. First I thought I would be a bug but I only found 2 people with the same problem. I found it remarkable because it’s one of the key subjects of Java EE 5 and it’s a tutorial displayed in the welcome page of the Developer Studio.
    So do you people think it’s a bug in WebDynpro? Because I am sure that I followed all the steps mentioned (a colleague checked it even).
    Regards,
    Sander

    Hi Sander,
    I guess, it's not a bug in Web Dynpro, maybe it's a bug in the tutorial
    I tried something similar, but not following the tutorial and it works. I wasn't able to call the model from the view controller and I guess that's the problem. Take the code from the init-method of the view controller and put it to the component controller's init -method and the code inside the onActionGetStudent and put it into a method you create in the component controller, too. From onActionGetStudent just call this method in the component controller with some code like this:
    wdThis.wdGet<your component controller's name>.<your method's name>;
    Hope this helps
    Kind regards
    Stefanie

  • Read an XML file into an ABAP program and manipulate it.

    I would like to know if it is possible to do the following in an ABAP program:
    1) Read an XML file into an ABAP internal table
    2) Call an XSLT transformation on the source file and store the results in an ABAP table.
    Is this possible to do? I have used ABAP XSLT in PI, but never in an ABAP program. I see you can use the CALL TRANSFORMATION command, but I have never used it in an ABAP program.
    Kind Regards,
    Tony.

    Check out these blogs.
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    XML DOM Processing in ABAP part II - Convert an XML file into an ABAP table using SAP DOM Approach.

  • Can we call a php function into coldfusion coding?????????

    can we call a php function into coldfusion??
    if anybody knows that let me know....

    Nope, as IIS can only pass one page to one handler, so it gets passed to ColdFusion *or* PHP. The only way it would work is to have a page with an iFrame containing a PHP page, but that's not calling a PHP function from ColdFusion.
    Dare I ask what it is you're trying to achieve exactly? If it's an extremely complicated function that can't possibly be rewritten, you'd probably want to wrap it up in a webservice and call it from CF.

  • Using a function module in ABAP Query

    Hi All,
    I want to use a function module in ABAp query in the Record Processing Section.
    In the report program we click on Pattern button to inser the function module so that all the Importing and exporting parameter automatically appears.
    Similarly is there any particular method of inserting a function module in ABAp Query.
    Regards
    Manipal Parkala

    When you are doing the infoset for the query (SQ02) you can add coding by clicking the coding tab. You can chose in wich event you want your coding and there is Pattern Button for  you to easy use.
    If you don't want to put the code in the infoset just in the query then is not posible.
    Nevertheless, I higly descourage the use of coding in queryies. If you need to insert some coding make an ALV its easier, clearer and much easier to mantain.
    Hope it helps.

Maybe you are looking for

  • Force PDF form to open in browser?

    I'm just wondering if it is possible to force a pdf file to open in a web browser. So that, if the file is saved to someone's computer, when you open it, it automatically opens in the web browser Thanks, Nik

  • Use my ibook g3 as a "print server"

    Im interested in knowing if I can use my ibook g3 to be my networks print server. As in hooking up ibook g3 to my network, then hooking up my printer to the ibook, and then print through it from my macbook. Does this make any sense? I hope it does. I

  • Organizing photos into iphoto

    I have some photos that are in the iphoto folder and some photos that exist in a folder outside of iphoto. All of the photos can be seen by iphoto. I was wondering the best way to get the photos that reside outside iphoto into it. I want to make sure

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi! I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view? Best Regards Ramon Sanchez

  • Net problem (E72) , using data cable...

    Hi, friends recenty i purchase nokia e72... I have facing net broblem.. I connect to internet using bluetooth its work and download speed 80-85kbps but connect to internet using data cable the downloading speed nearly about 100-300kbps and after few