Object ID from GUID
I have a BADI implemented for Ammendment form (Definition CRM_SERVICE_WEBREQ). The Ammendment form is a page in BSP which has 2 buttons GET_INFO and SUBMIT. The page has different fields relative to a Contract document. When a use enters the Document number he click on the button GET_INFO and all the relevant details are populated in the rest of the fields.
the user make some changes, if any, in changeble fields and should press SUBMIT in order to retain the changed values.
According to the current functionality upon pressing the SUBMIT button and ammendment form number is generated which is displayed onto a new page. User wants this number to be printed on the same page where the buttons are located.
When I debug the implementation of this BADI the method in which this genearation of new ID take place in the form FORM_ON_EVENT. But only a GUID is created in this using the function module CRM_WR_INIT_ORDER. I do not get the Object Id associated with this GUID.
Please suggest what can be done in orde rto capture the ammendment form document number..!!
Thanks in Advance..