SAP Articles - Page 39 of 91

Generating result of SAP transaction automatically

SAP Expert
Updated on 17-Feb-2020 10:30:07

170 Views

There are different approaches that you can follow −First approach would be that you schedule a job and send the result to a mailbox instead of printing it. Then you can use any programming code to read that email and export in desired format.Other approach would be to check available BAPI’s. These BAPI’s can be called from an external program but for this you need to use SAP ABAP.Checkout this SAP blog that tells how to generate a report in background and send result to user email id −SAP blogYou can define distribution list in T-Code − SO23Read More

Moving to SAP BOXI 4.0 from BO XIR2

SAP Expert
Updated on 30-Jul-2019 22:30:20

177 Views

This could be cause of usage of different versions of cryptocme2.dllThis is location of CA's file: C:\Program Files\CA\SC\ETPKI\lib\cryptocme2.dll [Additional Info: File Version: Not Available, Timestamp: 2/29/2012 9:43 PM, size 3, 188 KB] Location of SAP's file : D:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cryptocme2.dll [ Additional Info: File Version 3.0.0.0 , TimeStamp: 2/25/2011 6:55 PM, size: 1704 KB]To fix this issue: you need to rename dll C:\Program Files\CA\SC\ETPKI\lib\cryptocme2.dll to cryptocme2_ca.dllNext is to copy D:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\cryptocme2.dll to C:\Program Files\CA\SC\ETPKI\lib\Next is to uninstall BO XI 4.0 SDK via Control Panel.You have to restart the Box and stop ... Read More

Adding a field to SAP RFC table using .NET Connector 3.0

SAP Expert
Updated on 17-Feb-2020 10:30:55

672 Views

Note that it is not possible to append table’s column as fields are already defined. You can only enter a row to the table and populate fields to that row. Below code should work −IRfcTable ITEMDATATable = BapiIncomingInvoiceGetDetail.GetTable("ITEMDATA"); ITEMDATATable.Append(); ITEMDATATable.SetValue("SKU_ATM",myItemData.SKU_AMT);

Connecting SAP SOAP WebService with Android application

SAP Expert
Updated on 30-Jul-2019 22:30:20

381 Views

You are passing parameter in URL like this: http://XXX.com/xyz/api/sap-client=100&sap-user=username&sap-password=xxxxx"Instead of this, you should pass parameter like this: request.addProperty("sap-client", "100"); request.addProperty("sap-user", "*"); request.addProperty("sap-password", "*");

How can I upload a Google doc from SAP

SAP Expert
Updated on 17-Feb-2020 10:32:34

477 Views

This can be done by exporting SAP table as csv file and it can be automatically converted to Google Spreadsheet. Also there are various Google drive API’s that can be used to achieve this programmatically.With use of Google Drive REST API, you can download and upload files in Google drive. To know more about this, check out the below link −Google Link

Modification not working for both internal table and control table in SAP ABAP

SAP ABAP Expert
Updated on 12-Dec-2019 08:22:29

707 Views

There seems to some mistake in your update modle. PFB the updated oneExampleMODULE update INPUT.       MODIFY snctab INDEX ctrl-current_line.     IF sy-subrc 0.        APPEND snctab.     ENDIF.  ENDMODULE.

Where to define an associated type in SAP function module?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

922 Views

The parameter that you are using seems to be a import type and it will require an associated type in order to be of any use.You can define the table parameters for this. You can find them within the tables tab. Once you have defined them then you can use them for either export or import.Hope it works for you!

Can I use Custom Error pages in SAP HANA?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

183 Views

You are correct as XSA supports the custom error pages but classic does not support custom error messages.In case you need to do in any way, then what you can try out is you need to parse all requests through a load balancer or a proxy and then show custom error message. And it is not a easy and maintainable approach.

Is Pivot available in SAP HANA

SAP ABAP Expert
Updated on 12-Dec-2019 08:20:20

1K+ Views

As per my understanding, for requirement #1 you can do something as below:SELECT    Prod.Product_ID, JOB.Job_ID, SUM(J.Time) FROM    TABLE_1 Prod  INNER JOIN TABLE_2 Job ON Prod.Job_Id = Job.Job_ID GROUP BY     Prod.Product_ID, Job.Job_IDSAP HANA does not support Pivot built-in as done by SQL but majorly it looks as a UI requirement. So what you can do is send the entire result to report and apply transformation in the report as per your requirement.

How to store details in SAP-MDG?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

1K+ Views

If you don’t want to create a custom table then you can for creating a data model with the help of reuse method. You can then save this newly created data model in staging MDG. Other option that you have is Z-table. You can create a Z-table to persist the data.Hope this helps!

Advertisements