Actually, exact requirement is, while creating the document, I need to check profit center and cost center values. If both the values are mentioned then i have to blank out cost center value and should create the document only with profit center value.
These documents are getting creating in the program RFBIBL00. Please suggest how can i implement the above check before calling the function module posting_interface_document in RFBIBL00.