Posts

Showing posts from July, 2023

IDOC 2 EDI generation using xslt logic

Image
EDI to IDOC using xslt logic <?xml version="1.0" encoding="UTF-8"?> <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"> <ns0:Message1> <M_830> <S_ST> <D_143>830</D_143> <D_329>018135846</D_329> </S_ST> <S_BFR> <D_353>05</D_353> <D_328>216</D_328> <D_675>SH</D_675> <D_676>A</D_676> <D_373>230424</D_373> <D_373_2>240101</D_373_2> <D_373_3>230424</D_373_3> </S_BFR> <G_N1> <S_N1> <D_98>MI</D_98> <D_93>ADCOM</D_93> <D_66>92</D_66> <D_67>C100</D_67> </S_N1> </G_N1> <G_N1> <S_N1> <D_98>SU</D_98> <D_93>W. L. GORE &amp; ASSOCIATES, INC.</D_93> <D_66>92...

dog bite to humans and actions to be taken

Image
 

EDI TO IDOC 856 multiple idocs

  SAP EDI/IDoc Communication in CPI Using Bundling and Fewer Mapping Artifacts Part II | SAP Blogs SAP EDI/IDoc Communication in CPI Using Bundling and Fewer Mapping Artifacts | SAP Blogs <?xml version="1.0" encoding="UTF-8"?> < xsl: stylesheet version = " 1.0 " xmlns: xsl = " http://www.w3.org/1999/XSL/Transform " xmlns: multimap = " http://sap.com/xi/XI/SplitAndMerge " xmlns: hci = " http://sap.com/it/ " exclude-result-prefixes = " hci " > < xsl: param name = " Client " /> < xsl: param name = " SAP_ISA_Usage_Indicator " /> < xsl: param name = " SenderPort " /> < xsl: param name = " SenderPartnerType " /> < xsl: param name = " SenderPartner " /> < xsl: param name = " LogicalSystem " /> < xsl: template match = " / " > < SYSTAT01 > < IDOC BEGIN = " 1 ...

Creating odata services and sample get odata services call

Image
  Step 1 : Start the Gateway Client (Transaction   /IWFND/GW_CLIENT ) in a separate window to run the service. Provide the following URI to get the metadata for the service: /sap/opu/odata/sap/ZCREATE_project_SRV/$metadata Step  2 : Go to client transaction and select entity set as company code.Click on execute. The output is as follows.  and select entity set as company code  Click on execute. Then company code data will be displayed. Step  3 : Go to client transaction Select entity set has plant set Change the URI as shown below to display plant details for company code equals to ‘0005’ using filter functionality. Step  4:  Change the URI as shown below to display material details for plant equals to ‘0001’ using filter functionality. refrence: https://blogs.sap.com/2017/03/09/step-by-step-guide-to-build-an-odata-service-based-on-company-code-to-get-plant-details-and-to-get-based-on-plant-details-to-get-material-details/