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

FM for posting amount to the Contract account

Hi Experts,

My Functional requirement states that post amount to the Contract Account as a Misc. Credit (which will debit the P&L).

Can any one suggest which function module can I use for this? If there is any other approach than please suggest.

Regards,

Pravesh Gupta

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 01:30 PM

    Hi,

    There is no standard FM to post a contract account, we need to create a payment lot through the transaction FPB3. The payments will be posted in SAP using FPB3 transaction. FPB3 transaction expects a file in a specified format in order to post the payments.

    We can execute this by doing the following steps:

    1. Fill the structures BFKKZGR00 (header record structure (payment lot transfer)), BFKKZK (Header data (payment lot transfer)) and BFKKZP (Item (payment lot transfer)) with the required data.

    2. Create a file for FPB3 transaction on the application server and transfer the data of above structures to this file.

    3. Schedule the background job for posting of payments i.e. FPB3

    4. CALL FUNCTION 'JOB_OPEN'.

    5. Submit the program RFKKZE00 with the input parameters run ID, file path,background job name and job count.

    6. CALL FUNCTION 'JOB_CLOSE'

    7. Send error messages to spool if any.

    Hope this helps your problem.

    Regards,

    Lavanya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2008 at 09:14 AM

    Hi,

    If what you need is a function module, you can use a BAPI, BAPI_CTRACDOCUMENT_CREATE, to create necessary documents. Please see documentation or ask if you need clarifications regarding this. Of course, you will have to integrate this into a program.

    Hope this helps,

    Bogdan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 12:16 AM

    You can try with this function modules :

    FKK_DOC_CREATE.

    Regards,

    Shiva Kumar

    Add a comment
    10|10000 characters needed characters exceeded

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.