Application Development 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: 

Reg: CO_ORDER Archiving

Former Member
0 Kudos

Dear All,

For Archiving using CO_ORDER Object, the Write Program of it doesnot have the Date/Year Field.

But, we need to archive only those document from 1998 to 2006. the rest should not be archived.

How can this restriction be included while archiving ?

Any clues ???

Regards,

Deepu.k

1 ACCEPTED SOLUTION

Former Member
0 Kudos

What you can do is copy the standard code for archiving in your z program and there you can put the restrictions in the code.

Regards,

Lalit Mohan Gupta.

3 REPLIES 3

Former Member
0 Kudos

What you can do is copy the standard code for archiving in your z program and there you can put the restrictions in the code.

Regards,

Lalit Mohan Gupta.

0 Kudos

Hello Lalit,

I too thought of doing the same.

But, the Write Program of CO_ORDER is having a LDB attached to it.

So I need to copy tthe Write Program and LDB and then make the changes.

It will be a tedious job.

Any other way ????

Regards,

Deepu.K

Former Member
0 Kudos

Hi Deepu,

Have you tried to limit by customizing the residence time in application specific customizing?

If you set the appropriate residence time in application specific customizing, then you need not limit the time period in the write program variant.

refer this for CO_ORDER application specific customizing:

http://help.sap.com/saphelp_erp60_sp/helpdata/en/ae/bb963457889b37e10000009b38f83b/frameset.htm

Thanks,

Naveen