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

ABAP logic code

0 Likes
598

Read the value of the field BSEG-VALUT for every line item. The reversal date will be stored as YYYYMMDD.

Populate BKPF-STODT with the above value of value date (BKPF-VAULT) in YYYYMMDD format.

Populate BOOL_DATA-BKPF-STODT with the above value of “value date” as “reversal date” in YYYYMMDD format.

Populate BKPF-STGRD = “05”.

Populate BOOL_DATA-BKPF-STGRD = “05’.

Please help me in writing the code.Thanks in advance.

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
538

This?

BKPF-STODT = BKPF-VAULT.
BOOL_DATA-BKPF-STODT = BKPF-VAULT.
BKPF-STGRD = '05'.
BOOL_DATA-BKPF-STGRD = '05'.