Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 08 at 09:03 AM

    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

    Add comment
    10|10000 characters needed characters exceeded