Function module or ABAP-OO method to start DTP via Coding

Hello experts,
is there any function module or ABAP-OO-method, which I can use to start DTP's via ABAP-Coding (e.g. in my own programm)? I know there are FM's to start, change, delete, etc. InfoPackges. Are there any functions like them also available for DTP's?
Kind regards,
André

Hello Andre,
[Re: CL_RSBK_DTP - How to use...]
I've tested and it works fine!
Regards,
William

Similar Messages

  • 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

  • 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.

  • 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*

  • 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

  • How to use this function module on abap hr GET_PDSNR_RANGE

    how to use this function module on abap hr GET_PDSNR_RANGE
    thankx.

    PASS INETRNAL TABLE WITH SOME DATA TO TABELLE FOR GENERATING PDSNR SEQUENCE

  • How to create function module in abap for VirtualProvider in bi

    how to create function module in abap for VirtualProvider in bi ???????????????
    can any one help me with simple example ?????????????????
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jun 15, 2011 4:40 PM

    Hi ,
    Thanks for replies about my question??.
    If i am using the exit in my char relation ship how can i debugg that exit???
    if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
    Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
    Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
    Thanks.

  • Function Modules and ABAP programs Where-Used

    Hi,
    Can anyone teach me on how to check where a function module or ABAP programs have been used? When I click the where-used button, there's nothing found but I know the FM/ABAP programs have been used somewhere.
    Thanks.

    Hi,
    This is very basic question, you simply need to go to transaction SE37 for FM and click on the where used list, in the next popup you will have to make proper selections, e.g. ABAP reports, FM's etc. then it will give you the list of objects where the current object is getting used.
    I am not sure whether we will have any where used list for SE38 programs, just check it out.
    Regards,
    Durgesh.

  • Error catch of a function module exception in a method

    Hello,
    how do you catch the error of a function module that is called from within a method. Presently the process terminates in case of an exceptions. Sy-subrc seems also not to work.
    E.G.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
    EXPORTING
    client = sy-mandt
    date = SOURCE_FIELDS-xxx
    foreign_amount = SOURCE_FIELDS-xxx
    foreign_currency = SOURCE_FIELDS-xxx
    local_currency = SOURCE_FIELDS-xxx
    IMPORTING
    local_amount = RESULT
    EXCEPTIONS
    NO_RATE_FOUND = 1
    OVERFLOW = 2
    NO_FACTORS_FOUND = 3
    NO_SPREAD_FOUND = 4
    DERIVED_2_TIMES = 5
    OTHERS = 6.

    HI,
    use 'EXCEPTIONS' to catch the error happens in FM.
    uncomment all your exceptions when calling FM.
    and you will get the exception number in sy-subrc.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
    EXPORTING
    client = sy-mandt
    date = SOURCE_FIELDS-xxx
    foreign_amount = SOURCE_FIELDS-xxx
    foreign_currency = SOURCE_FIELDS-xxx
    local_currency = SOURCE_FIELDS-xxx
    IMPORTING
    local_amount = RESULT
    EXCEPTIONS
    NO_RATE_FOUND = 1
    OVERFLOW = 2
    NO_FACTORS_FOUND = 3
    NO_SPREAD_FOUND = 4
    DERIVED_2_TIMES = 5
    OTHERS = 6.
    if sy-subrc = 2.
    message e000(su) 'overflow.
    endif.
    Regards,

  • Suitable Functional module  for ABAP consultant

    Hi all,
    I am an ABAPer with one and half years of experience.
    Can some body suggest me a functional module which will be easier to learn for me as I have no domain experience.
    Also please tell me the marketwise  hottest module these days such that there are projects as well as demand in the market.
    Also please tell me  about higher end modules in SAP.
    Plaese clarify the role a technofunctional has to play I mean is techno-functional has basically functional but aid to technical person or he has to do both functional as well as technical work.
    Thanks.
    Edited by: sandeep deshpande on Apr 29, 2008 8:15 PM

    Hi Santanu
    I am a SAP ABAP Technical Consultant with 2.5 years of Experience. Now i want to shift to a functional module to become a Techno-Functional. I am B.Tech in IT and i love to do coding. But i also want to know Business Process.
    Please help us here: where in any of that paragraph do you provide any useful information about yourself that would allow any of us to:
    So can you suggest me what would module would be best for me.
    You have SAP experience. You know of SAP Modules. You work in the industry. You are your own person. How is anyone on here qualified to give you advise without any context?
    Step back - what do you enjoy doing? Which module have you learned about that you find interesting? Which one have you done more ABAP in? Which one might your current employer let you get experience in?
    I think you have the answer you just need to think it through a bit.
    Regards
    Colleen

  • Functional module in abap program

    hi guys,
    Do we have any OS specific Functional module  to be used in ABAP program.
    If so how to find this. please suggest me.
    Thanks.
    baasha

    hi,
    There is no such thing.
    Before you use any FM just confirm wheather it exists in that version or not
    in se37.
    If it is there you can always use that.
    regards,
    Guru
    mark if helpful

  • Function module or abap program

    Hello ABAP gurus,
           I need a function module or a program which can read and write into a transactional infocube. We have local currency as CAN and we wanted it to be overwritten as USD in the group currency. Here it is not a currency conversion as we are not changing the currency value but just the unit from CAN to USD. Note: No change with the transfer rules is allowed where USD can be given as a constant value. So the only option is either a function module or a ABAP program. So please any suggestion on this would be greatly appreciated.
    Thanks,
    anjali

    Hello ABAP gurus,
           I need a function module or a program which can read and write into a transactional infocube. We have local currency as CAN and we wanted it to be overwritten as USD in the group currency. Here it is not a currency conversion as we are not changing the currency value but just the unit from CAN to USD. Note: No change with the transfer rules is allowed where USD can be given as a constant value. So the only option is either a function module or a ABAP program. So please any suggestion on this would be greatly appreciated.
    Thanks,
    anjali

  • Ways to call a ABAP Function module or ABAP Program from WAD

    Hi,
      Is there any way to execute an ABAP function module or program from the WAD?
    Thanks

    what you could do is create a bsp application which receives workbook id as url parameter.
    from WAD create a link to this BSP page and pass the wbook id in the url.
    within the BSP you can then read the excel as binary string like below
    select * from rsrwbstore into table wb_tab
          where workbookid = wbid.
    you can then set wb_tab-clustd as the response of the page with mime type to 'application/vnd.ms-excel'. which will open as excel
    Regards
    Raja

  • Function Module for calculating NEXT MONTH's start date and End date

    Hi Friends,
    I want a function module which could calculate the next months start date and end date...
    Say my input will be like 01.01.2006(start date) it should return
    01.02.2006 and 28.02.2006...
    IS there any FM for this ... or how to go about this scenario ???
    thanks in advance
    Cheers,
    R.Kripa

    Hi kripa,
    1. There is no DIRECT Way.
    2. We have to do in 2 steps.
    3. See this code (just copy paste in new program)
       U can use its FORM anywhere in your program,
       for getting the desired dates.
    4.
    REPORT abc.
    DATA : sdate TYPE sy-datum,
           edate TYPE sy-datum.
    PARAMETERS : dt TYPE sy-datum DEFAULT sy-datum.
    PERFORM getdt USING dt sdate edate.
    WRITE :/ sdate , edate.
    INDEPENDENT FORM
    FORM getdt USING orgdate stdate enddate.
      DATA : mydate TYPE sy-datum.
      CALL FUNCTION 'HR_PSD_DATES_ADD_MONTHS'
        EXPORTING
          v_date             = orgdate
          V_MONTHS           = 1
       IMPORTING
         E_DATE             = mydate
       EXCEPTIONS
         NOT_POSITIVE       = 1
         OTHERS             = 2
      CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
        EXPORTING
          iv_date             = mydate
        IMPORTING
          ev_month_begin_date = stdate
          ev_month_end_date   = enddate.
    ENDFORM.                    "getdt
    regards,
    amit m.

  • Function module in ABAP

    I want to create a funcion module which inserts data in a table i created sooner.
    This is how my table looks in se11:
    [pic01|http://kepfeltolto.hu/i/?90028&t=img]
    This is how my import tab looks within the function module:[pic02|http://kepfeltolto.hu/i/?90031&t=img]
    This is my source code in the modul:
    FUNCTION ZPB01FM.
      IMPORTING
         REFERENCE(OUAID) TYPE  INT1
         REFERENCE(COMP) TYPE  SSTRING
         REFERENCE(BUSINESS) TYPE  SSTRING
         REFERENCE(GROUP) TYPE  SSTRING
         REFERENCE(NAMEOF) TYPE  SSTRING
         REFERENCE(MANNAME) TYPE  SSTRING
    DATA: itab TYPE TABLE OF ZPB_FORM_ORG
          wa LIKE LINE OF itab.
    wa-ORG_UAID = OUAID.
    wa-company = comp.
    wa-business_area = business.
    wa-group_zpb = group.
    wa-name_of_nou = nameof.
    wa-manager_name = manname.
    INSERT wa INTO TABLE ZPB_FORM_ORG.
    ENDFUNCTION.
    I did not change anything else in function modul. Will this work? If not how should i do it?
    If it works is it not a problem, that i don't insert all fields in table, only 5 of them?
    I really need the answer, thanks, Peter

    Yes, the other fields will simply be blank,  but your INSERT statement isn't right. I don't think that will pass a syntax check.  You might want to do this instead.
    INSERT ZPB_FORM_ORG from wa.
    Regards,
    Rich Heilman

Maybe you are looking for

  • PC-UI: Document Preview not working in Portal

    Hello CRM Gurus, I'm trying to use "Document Preview" as described in the PC-UI Book at Page 157. I've created my own structure ZCRMT_BSP_OPP_CREATE_QUOTATION which includes the structure CRMT_BSP_PREVIEW. I've created my own Modell access class and

  • Roll back to itunes 10.7 from itunes 11

    Recently my iMac updated to iTunes 11 automatically as part of its update process. I find that I hate this new version of iTunes and so I tried to roll back to the previous version (10.7 in my case). I figured out how to uninstall / delete iTunes 11,

  • Image gallery in webcenter using content presenter template

    Hi, I created a content presenter template for image gallery in webcenter. The images from UCM are not displayed without log in to the webcenter application. I am getting a error like " Error calling UCM server associated with repository UCM.  The se

  • Removes duplicates from a sorted array without having to create a new array

    Funcation removes duplicates from a sorted array without having to create a new array

  • Financial Statement SQL Queries

    I'm trying to build our financial statements in Crystal Reports, and I'd rather not have to build the logic from scratch.  Where is the code stored in B1 that runs the balance sheet and income statements?  I'd like to use that as my base SQL for Crys