Skip to Content
May 08 at 11:22 AM

How to check for multiple records?


Hi everyone,

I need to build one logic . The logic is:

check if sales transaction id , amount(dmbtr) and cheque no(xref3) is availble for multiple docs for koart = 'D' in bseg table.

If multiple documents are availble then we need to consider the entries only with shkzg ='S' , If S is not availble then we can go for the entries with shkzg='H'.

Suggest some idea for this logic.