‎2009 Dec 04 6:48 AM
Hi All,
We have developed a Dialog program which is used to create/change condition records through XK15 BDC. when we update the condition records with Z-tcode change documents are updated with Transaction code(CDHDR-TCODE) as XK15. But we want this to be our new Z-tcode. We are using BDC session method. Is there any way we can achieve this.?
We tried playing around with CTU_PARAMS but did't get the expected results.
We are in ECC6 system.
Thanks,
Vinod.
Edited by: Vinod Kumar Vemuru on Dec 4, 2009 12:20 PM
‎2009 Dec 04 7:26 AM
From you Z tcode you are using transaction XK15 as BDC.So your transaction will be XK15 once call transaction being made.
so it is not possible thru direct approach.
possible option are
1. clone XK15 and use a Z transaction to that and call that in your Z transaction
2. Find out the CDHDR & CDPOS updation modules ( Something like CHANGEDOCUMENT_OPEN, CHANGEDOCUMENT_MULTIPLE* ) and use enhancement options in this and change the T code
a®
‎2009 Dec 04 7:05 AM
Hello,
Can you please explain how you are updating CDHDR and CDPOS tables...
Regards,
Nagaraj
‎2009 Dec 04 7:11 AM
Hi Nagaraj,
We don't have to do any explicit update. Once we process the session/CALL transaction, change documents are automatically updated.
Thanks,
Vinod.
‎2009 Dec 04 7:30 AM
Hi Vinod,
I can suggest that you can use xk15 as ZXK15 and then use BDC to update as you are doing.... apart from this SAP updates these change docments with FM ->for example MATERIAL_WRITE_DOCUMENT, in this you can find something
'CHANGEDOCUMENT_MULTIPLE_CASE ' and 'CHANGEDOCUMENT_single_CASE' and 'CHANGEDOCUMENT_open'
and 'CHANGEDOCUMENT_close'.
Try to use these things...
Regards,
Nagaraj
‎2009 Dec 04 7:26 AM
From you Z tcode you are using transaction XK15 as BDC.So your transaction will be XK15 once call transaction being made.
so it is not possible thru direct approach.
possible option are
1. clone XK15 and use a Z transaction to that and call that in your Z transaction
2. Find out the CDHDR & CDPOS updation modules ( Something like CHANGEDOCUMENT_OPEN, CHANGEDOCUMENT_MULTIPLE* ) and use enhancement options in this and change the T code
a®