cancel
Showing results for 
Search instead for 
Did you mean: 

INFOSATZ rec is not getting created in CDHDR table for InfoRec Condition

Former Member
0 Kudos

Hi,

Please help me if any one knew about issue of change pointer with ME13 inforecord condition.

1). First time , When I create a Info-Rec CONDITION (ME13) , It creates change pointer records in CDHDR table with COND_A and INFOSTZ with status "I" indicate insert .

2). When I update existing Info-Rec Condition , It still creates COND_A , INFOSATZ records in CDHDR table with status u201CUu201D indicate update to existing condition record of same info-rec.

3). Now I am trying Create New Condition record ( by selecting NEW VALIDIY PERIOD button on the condition screen popup for 2nd time to the same info-record ) with new future date (e.g 02/15/2011 u2013 02/27/2011 ) , Its creating a change pointer in CDHDR table with only one entry with object class COND_A with status u201CUu201D But no record getting created with INFOSATZu2019 .

This is the issue I have it. My WorkFlow process start based on the INFOSATZ record created with status u201CIu201D in the CDHDR table. But INFOSTZ record is not getting created in the change pointer table for any 2nd time creation of Condition records to the same Info-record (with future dates ). ( we already knew that CDPOS is getting updated).

Why it is not creating INFOSTZ object record in CDHDR table for any 2nd time creation of condition records to the same info-rec ? Do I need to install any sap note? is there any solution ? Please help me.

Thanks,

vasu.

Edited by: vasu1973 on Jan 11, 2011 3:27 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vasu,

Check the entry in CDPOS table related to the same CHANGENR from CDHDR table. There must be an entry with CHNGIND as 'I'. Trigger a workflow depending on it.

I guess if you read Change documents with Function modules, there you get all data related to change docs in one internal table. From there, you can trigger the event/WF.

Regards,

-Sam

Former Member
0 Kudos

Hi Sam :

thanks for you reply.

But why the INFOSATZ Record is not getting created in CDHDR table when I try to create 2nd time info-condtion record created with future dates ?.

when user inserts first time, the INFOSATZ record get created with status "I" and our workflow trigger insert process.

when user updates , the INFOSATZ records get created with status "U" , and our workflow trigger update process.

But when user inserts condition record for 2nd time to the same inforec , its not created INFOSATZ where our WF linked.

Since there is no INFOSATZ Record in the CDHDR ltable, our workflow is not getting triggered. Our workflow should trigger for any new condition records inserts with INFOSATZ with status "I" .

is this unusual ? is this required any sapnote ? why it is not creating INFOSATZ in header table ?

thanks,

vasu.

Former Member
0 Kudos

Hi Vasu,

I am not sure why an Insert entry is not created.

But, I dont think it is unusual. Because, recently I created a WF wherein I have 5 trigger points (from 2 different BOs) for a WF. In 3 cases, I linked Change document object with the WF event (SWEC) . But, in the 2 other cases, i faced the similar problem like you.

What I did was, I created a task where triggering point is the standard event triggered when changes are done. In this task I assigned a method. In the method I read change docs using Function modules. Depending on the change document data from FMs I put a condition to trigger my Event. I hope this will solve your problem.