01-07-2014 7:25 AM
Hi Experts,
i need to activate one flag in contract, after idoc status is 3, we are filling idoc using function module "IDOC_OUTPUT_ORDRSP ", please suggest, any exit or enhancement point.
Thanks in advance.
Regards,
Ravi pothuguntla.
01-07-2014 8:01 AM
hi Ravi
you can create a implicit enhancement in this function you mentioned.
tool bar->enhance source code
then, menu->edit->enhancement operations->show implicit enhancement point.
at the end of the function, create your implicit enhancement to activate your flag in contract.
let me know this is your requirement? thanks.
regards,
Archer
01-07-2014 10:15 AM
thanks for u explanation, i know this process, i am asking u to where i need to write
01-07-2014 8:21 AM
Hi Ravi
What exactly are you trying to do..? when and how you are sending the idoc
Thanks
Nabheet
01-07-2014 10:14 AM
when ever contract is creating or changing then i am triggering idoc, so when ever idoc getting status 03 then i need to activate flag in contact level.
01-07-2014 10:24 AM
Hi Ravi
Please put a break-point at end of function module IDOC_OUTPUT_ORDRSP. Check what is status of idoc in control_record_out. If suits then create an implicit enhancement at end of function module as suggested by Dengyong and update the flag
Nabheet
01-07-2014 10:41 AM
hi,
Better write a custom program which will verify the status(03) of the particular idoc (ORDERS) ... and get the data record of that idoc and update the flag using vbeln... run it background for certain frequency of time....
Regards,
SIva....
01-07-2014 11:21 AM
Hi Ravi,
I guess no user-exit is available for your requirement! I have checked more exits are available for check and final customer check enhancements.
In my opinion as a special case go to implicit enhancement at the end of your FM!
You have the control record and do the updates by using edidd with the separate task
try it
01-07-2014 11:38 AM
hi kiran,
it wont work out in FM ..because it is only for filling the data , distribution of idoc will happen in rsnasted program i am sure he is using outbound process code and output type for idoc...
regards
Siva
01-07-2014 11:57 AM
Hi Siva
If it happening via output type then in driver program he can implement the same via enahcnement
Nabheet
01-07-2014 12:03 PM
hi madan,
ya i guess so.... in rsnasted program after idoc generation he can do that via implicit enehancement ...