Skip to Content
0

I have been trying to copy data from 1 month to multiple months using FOX code , How can i do that?

Feb 05 at 08:45 AM

41

avatar image
Former Member

DATA ZCURPER TYPE 0FISCPER.
DATA ZFCPER TYPE 0FISCPER.



ZCURPER = VARV( 'SOURCE_MONTH' ).
ZCURPER = VARV( 'SOURCE_POST' ).
ZFCPER= VARV('TARGET_MONTH').
ZFCPER= VARV('TARGET_POST').
DO.

{ ZK_AMNT, 2018009, 009, VSCP0005 } = { ZK_AMNT, 2018008, 008, VSCP0005 }.


EXIT.
ENDDO.

fox
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Gregor Dieckmann
Feb 08 at 09:03 AM
0

Hi,

you can do this with the copy function, FOX is not needed here. Cf.

https://help.sap.com/viewer/0ecf5244825c4742a7b062a89d11c2ac/7.5.10/en-US/4cad7e44d5943b9de10000000a42189b.html

Regards,

Gregor

Share
10 |10000 characters needed characters left characters exceeded