Skip to Content
author's profile photo Former Member
Former Member

Problem with HRTRV_IF_MODIFY_TRIP

Hello all,

I am using HRTRV_IF_MODIFY_TRIP to modify trip requests but it does not work properly. The changes should only affect to the header but, when the trip already has receipts or Additional destinations, it clears it all.

Is there any parameter that I am missing to avoid the modification of all the rest of data? I am only passing the header data in framedata.

Any other FM to do the change only to the header would be greatly appreciated.

Thanks a lot for your help,

Elena.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 29, 2011 at 06:35 PM

    Hi Elena,

    If the trip already exists in table PTRV_PERIO, you must use the function HRTRV_IF_GET_TRIP before, to capture the full details of the document (trip). After this step, should be informed this parameters of this function in the function HRTRV_IF_MODIFY_TRIP.

    Recalling that the ACTION parameter should be used differently to create a new trip and to modify an existing trip.

    INS --> Insert new trip

    MOD --> Modify a trip

    Best regards,

    Rafael Sá

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 30, 2011 at 07:11 PM

    Hi Elena,

    You solved the problem of the function?

    Best regards,

    Rafael Sá

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rafael,

      Actually, I was using a RFC copy of the function, so I could call it from our portal and, I had the problem there, so I was looking more for a single function module to do it without exchanging all the data.

      I modified my FM so the data would not be cleared by just using it.

      Thanks for your help, anyway.

      Elena.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.