on 06-23-2011 8:29 PM
Hello, is there a quick way to create data types in PI 7.11 which are identical to a structure in the ABAP data dicationary (ex. MARA)? There are no standard contents in this system. So, I'm looking for alternate efficient ways of doing this.
P.S. Is there a way in ECC system to export the dictionary structure as XSD? That would be nice!
Any input is appreciated!
Hi,
Create a Z program and call the method
Data: EV_XSD type STRING.
CALL METHOD cl_chtmlb_xml_provider=>create_xsd
EXPORTING
iv_strucname = 'MARA'
iv_no_xml_declaration = ' '
iv_deep_structure = 'X'
receiving
ev_xsd = EV_XSD.
download the output of ev_xsd.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everybody! I'm able to generate the XSD and import into PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could create a dummy Z function module in ECC using the structure and import it in PI, later export as XSD and re-import it as external definition.
A bit ugly but might work.
Regards,
Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
This blog talks about importing table meta data (for general dbms systems).
You can probably use the same method if you know the db details of your sap system:
/people/william.li/blog/2008/01/02/sap-pi-71-mapping-enhancements-series-import-sql-tables-metadata
Best Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.