‎2008 May 16 3:36 PM
Hi All,
I am using following function module HCM_GET_ORGSTRUCTURE_AS_XML, for which input is view id and output is XML string in binary format. Is there any way like function module or Satandard program that i would get the output as XML file rather than XML string.
Any posts reply to this one are appreciable.
Regards,
Sagar
‎2008 Jun 10 9:00 AM
Hi Sagar,
you will get data into xstring when we use HCM_GET_ORGSTRUCTURE_AS_XML functional module.after getting data pass it to the functional module SCMS_XSTRING_TO_BINARY.now you will have the binary data in a table.pass this internaltable to gui_download with FILETYPE = 'BIN'.
rewards points if helpful.
‎2009 Mar 18 2:38 PM
Hi Krishna,
Here, I've to display the Organisation Stucture in the Webdynpro (ABAP) Page. I've tried using the FM RP_PNP_ORGSTRUCTURE. But it's giving the error saying "Exception condition "CNTL_ERROR" raised". I came to know that it's due to the fact that this FM is flashing the ABAP Screen to display the Organisation Structure which is not possibel through Webdynpro.
I found the FM HCM_GET_ORGSTRUCTURE_AS_XML which will return the XML string that can be converted and displayed in the Webdynpro Page. But I don't know how to find the input parameters for this (i_ViewID, I_ORGSCENARIO etc...). Could you pls tell me where to find these parameters OR tell me if any other way to display this Org. Structure in the Webdynpro for ABAP.
Thanks alot in advance...
Ram.
‎2010 Mar 30 5:41 AM
Hi,
did you manage to call the FM, what is the view_id parameter.
Please give any relevant information you have on this.
thanks,