Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Capture messages in PRELIMINARY_POSTING_FB01

Former Member
0 Kudos

Hi everyone,

I got an requirement, where i have to create an interface function module to park a finance document.

So iam planning to build an custon RFC using 'PRELIMINARY_POSTING_FB01' FM.

I am succesfull in posting the document by using above function module.

But the problem is araised in capturing Mesages from the function module.

It is giving document number in information message.

I want to supress that message and capture the document number.

Any idea on above problem.

Thanks in Advance.


Former Member
0 Kudos

You can check the system parameters. The document number might be one of sy-msgv1, sy-msgv2, sy-msgv3 or sy-msgv4.

Former Member
0 Kudos


I'm also interrested in this subject. could you explain deeply? how can I check the system parameters?


0 Kudos


Once the document has been parked, the document number will be stored in the system parameter 'BLN' which you can read into a variable using 'GET PARAMETER' ( i.e GET PARAMETER ID 'BLN' FIELD w_belnr ).

Hope this helps.



Former Member
0 Kudos

This message was moderated.