Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: How to avoid duplicate entry while printing the smartform

$
0
0

Hi Prabu,

 

In your output internal table define two more fields of type C.

Before line item display node, create a code node and write logic to indentify the duplicate entries and set the flag on every new pattern.

 

Ex:

 

LOOP AT itab ASSIGNING <fs_line>.

 

AT NEW item_no.

     <fs_line>-flag1.

ENDAT.

 

AT NEW bin.    

     <fs_line>-flag2.

ENDAT.

 

ENDLOOP.

 

While printing the output internal table rows just check these flags to control the duplicate values.

 

Regards

Praveen


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>