Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

query ex

Former Member
0 Likes
264

Hi experts,

Please see the following statements ,with that i need select query,Please help me on this.

Q1: Here the payment due date needs to be calculated.

*Take VBRK-FKDAT and VBRK-ZTERM.

*For the payment term found,look up V_T052_ZTERM,and check the number of days V_T052_ZTAG1.

*Add V_T052_ZTERM to VBRK-FKDAT ,Display DDMMYY.

Thanks & Regards

1 REPLY 1
Read only

Former Member
0 Likes
225

<b>HI

Select single FKDAT ZTERM from vbrk into corresponding fields of <itabname> where<condition>

if sy-subrc = o.

select V_T052_ZTERM V_T052_ZTAG1 from <tabname> where V_T052_ZTERM = <itab-ZTERM> into corresponding fields of <itab2>.

if sy-subrc = 0.

ADD V_T052_ZTERM TO <itab-FKDAT>.

endif.

endif.

Then for display Use EDIT MAsk.

Mark points if helpful.

Regs

Manas Ranjan Panda</b>