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

Auto Post Invoice

Hi Friends,

I was wondering if any one has any custom program using the FM

MRM_PARKED_INVOICE_POST.

It coudl be great help to me. I have developed this program but for some reason I am unable to get it working.

Thanks,

Ster.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 04:57 PM

    hi

    good

    through you have not post the exact code here so its bit difficult to give you the exact solution, pls check the below code and check with your code.

    CALL FUNCTION 'MRM_INVOICE_READ'

    EXPORTING

    i_belnr = i_rbkp-belnr

    i_gjahr = i_rbkp-gjahr

    i_xselk = 'X'

    i_buffer_on = 'X'

    IMPORTING

    e_rbkpv = mrm_rbkpv

    TABLES

    t_drseg = ydrseg.

    PERFORM parked_document_post USING mrm_rbkpv

    ydrseg[]

    i_editor.

    FORM parked_document_post USING

    i_rbkpv TYPE mrm_rbkpv

    ti_drseg TYPE mmcr_tdrseg

    i_editor TYPE REF TO c_textedit_control.

    DATA: s_drseg TYPE mmcr_drseg.

    CALL FUNCTION 'MRM_PARKED_INVOICE_POST'

    EXPORTING

    i_rbkpv = mrm_rbkpv

    ti_drseg = ydrseg[]

    i_editor = i_editor

    EXCEPTIONS

    error_message = 01

    OTHERS = 02.

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks..

      I have my code similar to what you have posted.

      I am wondering when we are passing the data to the function module

      CALL FUNCTION 'MRM_PARKED_INVOICE_POST'

      what data we are passing in ydrseg[].

      ydrseg[] is huge and what fields need data.

      Any suggestions.

      Ster.

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.