Question:
Hi everybody,
For picking the Contract Number i am using the function module RV_BILLING_PRINT_VIEW. Here the problem is the Contract Number does not get picked if the Contract is not closed. Then i tried to get the Contract Number from the sales table (VBAP), Even there i faced the same problem. Unless the Contract is closed, i am unable to get the number. Do we have any other ways of getting the Contract Number.
Thanks in advance.
Answer:
Hi everybody,
For picking the Contract Number i am using the function module RV_BILLING_PRINT_VIEW. Here the problem is the Contract Number does not get picked if the Contract is not closed. Then i tried to get the Contract Number from the sales table (VBAP), Even there i faced the same problem. Unless the Contract is closed, i am unable to get the number. Do we have any other ways of getting the Contract Number.
Thanks in advance.
I don't understand why you can't get the contract number from VBAK / VBAP - however, if you want to find the link between a billing document and a contract use the document flow table (VBFA) or one of the *FLOW*READ FMs available to read the table for you.
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru