cancel
Showing results for 
Search instead for 
Did you mean: 

there is still a purchse order commitment for ORD X for CO_ORDER archiving obj

Former Member
0 Kudos

Dear Experts,

I am facing issue for CO_ORDER archiving object. I am getting error saying like

" there is still a purchase order commitment for ORD 200060" and

"order 200060 still has at least one purchase order that you need to do".

screen shot attached for reference

so Please help me to solve this issue.

Thanks in advance,

Ningappa S M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hello Manju Sir,

Now that issue setting of deletion indicator is got successful. I mean I set residence time 1 as 0 and I tried to archive and I got successful. but I am facing the issue saying " there is still a purchase order commitment" , "there is a still Purchase requisition assigned to order" and

"still has at least one purchase order that you need to delete" etc for all orders when i set residence time 1 as 39 months (even i tried by setting the residence time 1 as zero i am getting the same error messages) and residence time 2 as 0. for these orders deletion flag itself is not getting set. so please help me for this.

Thanks,

Ningappa

JL23
Active Contributor
0 Kudos

It is already said in the long text to message KO013 that you have to archive the purchase order before you can archive the CO_ORDER

the same can be seen if you click the network button in SARA (after you entered object CO_ORDER)

Former Member
0 Kudos

From the log it is clear that there is dependency exist on the record, means you have to close or archive the purchase order. residence time is nothing to do with this scenario.

Answers (16)

Answers (16)

Former Member
0 Kudos

Hi Gurus,

My Issue got resolved. I have debug the write Program & found the solution. Its authorization Issue.

Thanks to all.

best regards,

Ningappa S M

Former Member
0 Kudos

Hi,

I am not getting any proper solution for the above issue. first i have set the deletion flag and then deletion indicator. for the same orders write program is not considering. so please help me on this.

Regards,

Ningappa S M

Former Member
0 Kudos

I m nt getting where i need to select the small box for order list. but i have given some orders in d selection screen.  please find the screen what ever the inputs i have given in the selection screen for write program

Regards,

Ningappa S M

JL23
Active Contributor
0 Kudos

Please have a look into OSS note 1270936 - CO order: Deletion indicator without deletion flag

Maybe you created this kind of situation

Former Member
0 Kudos

I am nt getting any error but i am getting one message like no of written data objects are zero.

Thanks,

Ningappa

JL23
Active Contributor
0 Kudos

make sure you select the small box for order list in the selection screen to get an extended log.

Former Member
0 Kudos

Thanks a ton Jurgen

I changed Residence time 1 to 0 months and Residence time 2 to 0 months. and I continued the archiving process. now i m able to set the deletion flag deletion indicator successfully but if i do   the write process, again i am getting the message in pool saying number of written data objects are zero.  please

With Regards,

Ningappa

JL23
Active Contributor
0 Kudos

and what is the error log of the write job telling you?

Former Member
0 Kudos

Hi Jurgen,

Yes I checked in AUFK-LOEKZ, deletion flag is set for few orders. when I check in JEST-STAT for deletion indicator, the same orders are not existing or not available in the JEST table. when i run the preporcessing program for the same orders for setting the deletion indicator  i am getting the error message residence time 1 not yet expired. even though residence time 1 has expired (i.e I have given Residence time 1 as 40 months and Residence time 2 as 0 months. I need to archive till 31.03.2011). Please tell me what would be the reason?

Thanks & Regards,

Ningappa S M

JL23
Active Contributor
0 Kudos

Go into your customizing and press F1 for the residence time fields, it is well explained.

Residence 1 is the time between setting of the deletion flag and the deletion indicator

Residence 2 is the time between setting of deletion indicator and archiving.

If you have set the deletion flag just this week, then you have to wait 40 months until you can set the deletion indicator. And then you can directly continue with archiving as residence time 2 is set to zero

Former Member
0 Kudos

Hi gurus,

for the same issue, We have decided to exclude the PO/PR document types. but we have few orders apart from PO/PR document types. for these orders i am able to set the deletion flag, I dont knw where to check the deletion indicator is set or not. and I continued and I run the write process also but in spool i am getting the message saying number of written data objects are zero.why I m getting this message even though records are available to continue the archiving process.  Please please help me for this. its urgent.

With Regards,

Ningappa

JL23
Active Contributor
0 Kudos

Transaction DB15 can tell you all the tables that are used for archiving object CO_ORDER.

The archiving program selection include RKAARCUX checks on aufk-loekz and if jest-stat has VALUE 'I0013'  to know if an order can be archived or not.

Former Member
0 Kudos

thanks to all. I m working on what you have given the inputs.

Former Member
0 Kudos

Hi Manju sir,

I set residence time 1 as 39 months and residence time 2 as 0.

Regards,

Ningappa

Former Member
0 Kudos

Hi Jurgen,

Thanks for ur reply.

yes for few records deletion flag is set and I have passed the residence time 1 from order type customizing. but for the orders which deletion flag is set for the same orders deletion indicator is not getting set. instead of that i am getting the message number of orders processed is zero when i check it in pool. so please can you tel me what is the reason? and  also tel me in which table we can check the deletion indicator set or not apart form JEST table?

Thanks  Regards,

Ningappa

JL23
Active Contributor
0 Kudos

How would the knowledge about the table help you further in your issue?  I have somehow the feeling you want set this deletion indicator with a program update especially as I do not see any reply from you if you have done anything in the purchase order to correct the issue.

Former Member
0 Kudos

what is the residence value set for "Residence time 1 and residence time 2' for the order type that you are currently facing issue with (unable to set deletion indicator).

Former Member
0 Kudos

Hi,

Please Can you reply for the above issue.

Thanks & Regards,

Ningappa S M

JL23
Active Contributor
0 Kudos

the deletion indicator can only be set to those orders which have already a deletion flag and passed the residence time 1 from your order type customizing.

Former Member
0 Kudos

Yes  I gone through both. that wt ever u replied its for the orders which  I am not able to set for deletion flag itself. for that I am working on to delete the purchase orders and purchase requisition assigned to the orders. but there are some orders I am able to set the deletion flag but I am not able to set the deletion indicator. so when i am trying to set the deletion indicator i am getting the messages number of orders processed is zero. why I am getting this message  and what is the table and field to check the deletion indicator is set or not ?

Regards,

Ningappa

Former Member
0 Kudos

Hi Jurgen,

Thanks for your  reply.

I am able to set the deletion flag for some orders, but I am not able to set the deletion indicator for the same orders which deletion flag is already set. if i try to set the deletion indicator i am getting the message saying number of orders processed is zero as shown below. please help me for this.

Regards,

Ningappa S M

JL23
Active Contributor
0 Kudos

you are repeating yourself and your are not commenting on the given answer.

Have you read the information in the long text and in the OSS note?

Former Member
0 Kudos

Hi ,

If I try to set the deletion indicator for the orders which already deletion flag is set, i am getting messages saying Number of orders processed is zero. Please help me for this and what is the table and field to check the deletion indicator set or not for CO_ORDER object.

Regards,

Ningappa S M

JL23
Active Contributor
0 Kudos

Please go SE91

enter KO 013 message and display

then select the message and click long text.

Now read what you have to do

further read OSS note 93629 - Deletion flag for orders with purchase order: KO013, KO015

Former Member
0 Kudos

Hi Deepak,

Thanks for ur quick reply

I am getting the same error for all the orders.

Thanks,

Ningappa

former_member188883
Active Contributor
0 Kudos

Hi Ningappa,

Please check the solution specified in the thread for all the order numbers in issue.

It is mostly a functional issue rather than technical issue.

Regards,

Deepak Kori

former_member188883
Active Contributor
0 Kudos

Hi Ningappa,

It looks like there are open POs which needs to be processed.

Refer to the solution specified in thread http://scn.sap.com/thread/1387084

Hope this helps.

Regards,

Deepak Kori