SAP HANA Articles - Page 52 of 58

Turning Help mode ON to add SAP ABAP Explanation Text

SAP ABAP Expert
Updated on 12-Jun-2020 09:44:49

190 Views

Yes it is possible to ON help mode by going to personal settings in portal or you can also set it in associated parameter. To enable it globally, you need to find the application in the Portal Content, there you can find URL Parameter and then try adding HELPMODE=ON.Check out this below link for more details:Explanation Property

Connecting SAP system from C# application via .NET Connector 3.0

SAP ABAP Expert
Updated on 04-Dec-2019 09:30:37

1K+ Views

You can try using below code:                                                                

Error while posting a sales order in SAP from .net application

SAP ABAP Expert
Updated on 04-Dec-2019 09:29:37

200 Views

Note that sold to party and ship to party are mandate fields. You need to add the created structures and tables to the function as shown in below code:RfcRepository repo = destination.Repository; IRfcFunction salesDoc = repo.CreateFunction("BAPI_SALESORDER_CREATEFROMDAT1"); IRfcStructure salesHeader = salesDoc.GetStructure("ORDER_HEADER_IN"); salesHeader.SetValue("DOC_TYPE", "ZDLR"); salesDoc.SetStructure(salesHeader); salesDoc.Invoke(destination);For more details you can check BAPI_SALESORDER_CREATEFROMDAT1 or below link:BAPI_SALESORDER_CREATEFROMDAT1

Handling String localization hardcoding issue in ERP like SAP, Dynamic, etc.

SAP ABAP Expert
Updated on 25-Jun-2020 20:54:53

294 Views

This can be handled by keeping value same and just change meaning as below:'Y'(Yes) or 'N'(No)Should be like this for German-'Y'(Ja) or 'N'(Nein)

Mobile

Error while connecting to SAP server from Java application: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

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

552 Views

Note that SAP Java Connector should be configured as server library and not as application library.There are many issues in the way you are trying to use:You shouldn’t change java.library.path programmatically as it is not recommended and this is cached at JVM start.You are overwriting java.library.path instead of adding your directory so your application server requires native libraries.Also note that our JVM root directory is different from your application root directory so /WEB-INF/lib path won’t be found by our JVM. 

In SAP Workflow, Binding the receiver dynamically

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

437 Views

To bind receiver dynamically in Workflow, you have to write a Function Module that will provide you manager name of initiator. This FM should be put in public class to be used in Workflow. The provided value will be saved in any table of HR module.Then you need to call this method from Workflow template. To set binding, you need to pass a value in _WF_INITIATOR._WF_Initiator                    WFSYST-INITIATORUsing _WF_Initiator        Initiator of the workflow (user name).Here “user name” is a fourteen-character field in the structure US.When a workflow is started ... Read More

Accessing SAP Web Dynpro page within an application using NSURL

Anil SAP Gupta
Updated on 12-Feb-2020 12:42:55

189 Views

You need to pass browser identification string otherwise Web Dynpro application won’t take browser and will show an error message as mentioned by you.You can refer below link for more details −Apple NSURL Link

Creating Attribute and Analytic view as persistent model in SAP HANA

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

216 Views

This is possible as all views can be created as persistent in SAP HANA. You need to get XMS representation creating attributeview, .analyticview, .calculationview file and activate it.In your case I think you need to check details of your Analytic view and if there is some path that you need to modify.

Adding custom fields to items in SAP Transaction ME5xN x=1,2,3..

Anil SAP Gupta
Updated on 12-Jun-2020 08:31:45

1K+ Views

This can be done by following below path −T-code − SPRO → Materials Management → Purchasing → Purchase Requisition → Define Screen Layout at Document Level and there view the details on the transaction you want to customize.When you execute, there view the details on the transaction you want to customize. You need to uncheck the "Display" checkbox for your field.

Converting the data back to table using SAP FM RFC_READ_TABLE

Anil SAP Gupta
Updated on 04-Dec-2019 08:09:48

648 Views

This is very simple and you can write a code as below. This code works when you only have characters fields in table:DATA: lt_options TYPE TABLE OF rfc_db_opt,         lt_fields  TYPE TABLE OF rfc_db_fld,         lt_entries TYPE TABLE OF dpr_pha_type. CALL FUNCTION 'RFC_READ_TABLE'   DESTINATION 'Y58CLNT800'   EXPORTING     query_table = 'DPR_PHA_TYPE'   TABLES     options     = lt_options     fields      = lt_fields     data        = lt_entries.

Advertisements