PR04 - Weekly report BAPI for change

Hi all,
We have WDJ applications for Weekly Reports managing (creation, modification, delete and approval). They are working well but I need to implement some improvements to modification one.
Actually when the user modifies the weekly report mi RFC FM deletes the report and creates new one, this causes that trip numbers increase exponentially. Our customer asks to us to implement a different way to do this. I’m searching for a BAPI/FM that allows me to change the weekly report without deleting It before.
I’ve tried with FM HRTRV_IF_MODIFY_TRIP but as it execute a PR01 call transaction, the process fails.
Does anyone know how to change weekly reports without deleting it first?
BI over PR04 is not an option.
Regards,
Gregory.

Hi Gregory,
are you aware that the java version is not recommended by SAP?
Means the development has ended since years and only maintenance are provided until year "X".
I would not invest to much to enhance this version. I would spend the effort in changing to WebDynpro for ABAP where you get weekly, monthly reports etc. out of the box.
Or even better: SAP announced that Fiori UI is available without any extra license cost.
OK the newest technology/product has always a little bit of gaps and errors but with this you are secure to spend your effort on the actual technology ....
Best regards,
Sigi

Similar Messages

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

  • Suggest BAPI for change notification IW52

    Hi,
    Kindly suggest BAPI for change notification IW52.
    Regards,
    Tanaya

    How to find function module or Bapi for particular transaction in sap?
    If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2 
    Answer: This is  the BAPI for your mentioned   transaction code BAPI_GOODSMVT_CREATE.
    thanks,
    Sankar M

  • BAPI for Change Customer

    Hi Experts,
    We have a requirement to change the details of a customer. We are using BAPI, "BAPI_CUSTOMER_CHANGEFROMDATA". Change is happening when we try to change details like name, But when we try to change 'country' field, we are getting error saying  "Personal address diffrent from comapany address; change not allowed"..... Can anybody help me with this,,, or can somebody suggest any other BAPI for change customer....
    Thanks and regards,
    Mahendra R

    Hi Mahendra,
    CHek the link below[using BAPI_CUSTOMER_CHANGEFROMDATA1;

  • BAPI for change documents like FB09

    Hi
    I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
    Does somebody knows a BAPI for change document positions (BSEG) ?
    Regards
    Frank

    Hi,
    Please see this link, It may help you.
    Add documents to materials via BAPI
    Regards,
    Shamma

  • BAPI for "Change Base Planning Object"

    Hi
    Is there any BAPI for "Change Base Planning Object" ( TC KKE2).
    I need to change the Price of a Resource in the Cost Items for a Base Planning Object.
    So if any one know the BAPI for this topic please let me know, and if possible send me your code also it will be really help full.
    Regards

    I didn't find a BAPI to do this. I had to do it by a Batch Input.

  • BAPI for  ""Change Cost Element / Activity Input Planning ""

    Hi
    Is there any BAPI for  ""Change Cost Element / Activity Input Planning "" ( TC KP06) as there is BDC for that but is goes through lot of steps . ( TC OKKS, KP04, KP06 )
    So if any one know the BAPI for the same please let me know,  and if possible send me your code also it will be really help full.
    Regards

    o   OBJECT_INDEX - Index uniquely identifying the row and thus the           
        object. The index must be greater than zero and may only appear once     
        in the table. If the index does not exist in INDEXSTRUCTURE, the row     
        is ignored.                                                                               
    o   COSTCENTER    - Cost center that includes the activity.                                                                               
    o   ACTTYPE       - Activity type that includes the activity. You must       
        fill this together with COSTCENTER. You only need it for an activity     
        input that is activity-dependent.                                                                               
    o   CO_BUSPROC - Business process that includes the activity.                                                                               
    o   ORDERID       - Order that includes the activity.                                                                               
    o   WBS_ELEMENT  - WBS element that includes the activity                                                                               
    You may fill one object only,for example COSTCENTER, CO_BUSPROC,             
    ORDERID, or WBS_ELEMENT.                                                     

  • BAPI for changing Appropriation request - IMA12

    Hi,
    What is the BAPI for changing the Appropriation request(IMA12).i found the BAPI    BAPI_APPREQUEST_CHANGE.But i want to change the plan values . In this BAPI there is no parameters for these fields.Is there any BAPI 's for this?
    Regards,
    Charumathi.B

    Hi,
    Try this BAPI BAPI_APPREQUEST_CHANGE_MPO.

  • QM Orders - Funktions/BAPI for Changing

    Dear all,
    I have to mass change the Profit Center and the Cost Center in the QM Orders.
    I can not find a function or BAPI to change the data. Can anybody give me a tip - please.
    Thanks for help.
    Best regards
    Roman

    Dear Roman
    Please check this link. I couldnt find anything to change
    Link: [Bapi for changing internal order master data]
    My recommendation will
    1) Write a program to change the costcenter and profit center  in the table
    2) You can replace the existing order by creating new QM order using the BAPI BAPI_INTERNALORDER_CREATE
    Regards
    Gajesh

  • BAPI for changing CONTRACTS.

    Hi All,
    I want to update the short text for CONTRACTS in table EKPO from filed CDPOS-VALUE_NEW
    for this i was using function module BAPI_PO_CHANGE
    This Bapi is is succesfully updating the PO it is not updating the contracts....
    Please help me with the BAPI to update text in contracts....
    Please its very urgent
    Thanx in advance,
    Amruta.

    Hi Ajay,
    I have done the same .....
    REPORT  ZTEST1234                            .
    data : wa_ekpo-ebelp type ekpo-ebelp value '00010'.
    parameters :ebeln type ekpo-ebeln.
    data : it_poitem type STANDARD TABLE OF BAPIMEPOITEM with HEADER LINE .
    data : it_poitem1 type STANDARD TABLE OF BAPIMEPOITEMX WITH HEADER LINE.
    data : it_return type STANDARD TABLE OF bapiret2.
    it_poitem-PO_ITEM = wa_ekpo-ebelp.
    it_poitem-SHORT_TEXT = 'mod'.
    APPEND it_poitem.
    it_poitem1-PO_ITEM = wa_ekpo-ebelp.
    it_poitem1-SHORT_TEXT = 'X'.
    APPEND it_poitem1.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder                = ebeln
      POHEADER                     =
      POHEADERX                    =
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
      POEXPIMPHEADER               =
      POEXPIMPHEADERX              =
      VERSIONS                     =
      NO_MESSAGING                 =
      NO_MESSAGE_REQ               =
      NO_AUTHORITY                 =
      NO_PRICE_FROM_PO             =
    IMPORTING
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                       = it_return
       POITEM                       = it_poitem
       POITEMX                      = it_poitem1
      POADDRDELIVERY               =
      POSCHEDULE                   =
      POSCHEDULEX                  =
      POACCOUNT                    =
      POACCOUNTPROFITSEGMENT       =
      POACCOUNTX                   =
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
      POLIMITS                     =
      POCONTRACTLIMITS             =
      POSERVICES                   =
      POSRVACCESSVALUES            =
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POEXPIMPITEM                 =
      POEXPIMPITEMX                =
      POTEXTHEADER                 =
      POTEXTITEM                   =
      ALLVERSIONS                  =
      POPARTNER                    =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT          = ' '
              IMPORTING
                RETURN        =..
    This is my code just for updating the text but now the problemis this works with
    When ebeln = 45000000017
    whose bstyp = F  ie PO
    but when i do the same for Ebeln = 45000000000
    whose bstyp = K ie contracts 
    it gives me error message that this BAPI  cannot be executed for Contracts...
    So please help me with the Bapi to change Contracts.
    Thanx,
    Amruta

  • BAPI for changing existing trip???

    Hi all,
    for creating a trip there is the BAPI_TRIP_REPORT_CREATE.
    But I can't find a BAPI or FM for changing an existing trip, e.g. changing values already made or entering new costs.
    Is the only way to do this using the standard transaction PR04?
    Thanks for your help,
    Mathias

    Hi,
    the FM is only for changing the state, not for entering / changing new costs. Its not the thing i am looking for.

  • FM or BAPI for changing parked documents information of transaction FB02

    Hi Guys!
    Currently I'm working an upload report that will change the field XREF3 of FB02 (parked). I'm using BDC for the change but unfortunately, some invoice no. did not work out to my expectation because of a POP window (information). I'm just wondering if you guys have an idea how to deal with this kind of scenario. Using FM or BAPI can do it. Do you guys know any BAPI or FM for FB02 (parked doc) that will change the details XREF3. Thanks a lot. Hoping for your help!
    Regards,
    Mark

    Hi,
    Hi this might change from one client to another.. so better check if it suit to ur screens.
    [call transaction fb02;
    Regards,
    Surinder

  • Need BAPI for change of quality info record (Tcode: QI02)

    Hi,
       Currenrly iam using BDC for creation of Quality info record (QI01) and now i need to do this creation as a back ground task. for which BDC is not supporting. So, i need to know the relavent BAPI for creation/change of QI02.
    Regards,
    Krishna.

    Hi,
    Have you tried doing this in ECATT??
    See this Link:
    http://help.sap.com/bestpractices/BBLibrary/Documentation/G09_BB_InstallGuide_EN_DE.doc

  • Function Module or BAPI for Change Customer Master in Background

    Hi,
    I would like to ask is there any Function Module or BAPI to change the Customer Master in the Background
    Thanks.

    Hi
    Please check the following link
    [FM|http://help.sap.com/saphelp_nw04/helpdata/EN/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm]
    [FM for BAPI|Is there a BAPI or Function module can create a Customer Master record?]
    Hope this link helps you
    Regards,
    Rajani

Maybe you are looking for

  • Jobs with a startevent and starttime

    hello, I'd like to plan a job in an abap program which is started when an event is raised or a certain timespan has passed. When planing the job by using the functionmodules job_open, job_submit and and job_close I can supply an event and a startdate

  • Site will not display in safari

    Hi There, This URL quite often doesn't load in Safari: www.svelte.net.nz - if it does load, click a link from the navigation and the next page will be blank. However, if you click and drag, you see a grey frame that can be dragged, and once you let g

  • Photoshop CS6 Problems- Shortcuts are Stuck! Lasso Does Not Work!

    Hi there! I'm a Mac user with a Cintiq 12WX tablet, and I just upgraded to Photoshop CS6. I use it primarily for art, but I've come across some problems that have really interrupted my workflow. A lot of the time, certain functions seem to not work o

  • Macbook Pro crashes at startup

    Last night I was using safari when the screen froze and the spinning wheel showed up. I tried to force quit safari but it didn't work so I held the power button for a couple of seconds until it shut off. I pressed the power button again and heard the

  • What is (roughly) the implementation duration for Oracle weblogic portal an

    Dear All i need to knwo r(oughly) how long does it take to implement oracle weblogic portal (for exmpale 5-7 months or 1 year,etc) for an company that contains around 2700 employees, and how much will it cost (roughly). thanks in advance for any help