cancel
Showing results for 
Search instead for 
Did you mean: 

verify data in app create billing document

Nancy
Product and Topic Expert
Product and Topic Expert
0 Kudos

This query was raised with me earlier today - I have added the answer here in the community in case our community users have similar queries.

I want to verify data in app create billing document,but I can't find any BADI that can make it.Could you tell me if there is any BADI can make it.What I want is ,by my custom check logic ,that if the data isn't correct,there will display a error message in the screen,and can't make a billing document.

View Entire Topic
Nancy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please check the data transfer BADI SD_BIL_DATA_TRANSFER can be used to fulfill your requirement. You can read the BADI documentation to understand its usage.

I suggest to look at the following 2 fields:

•BILLINGDOCUMENTITEMISREJECTED: You can set this indicator to 'X' to indicate that the corresponding item is rejected (that is, temporarily blocked for billing) for a specific reason. Note that rejection is intended only as a temporary state, meaning that rejected items still appear in the billing due list until they are billed. You can use custom logic to establish whether conditions for rejection are met.

•BILLGDOCITMREJECTIONREASONTEXT: You can use this string to specify a corresponding textual reason for why the custom logic rejected the item.