Quantcast
Channel: SCN : Unanswered Discussions - ABAP Connectivity
Viewing all 1115 articles
Browse latest View live

Issue when Retriving Document(HTTPS) From Arichive Link Content Repository

$
0
0

Hi Friends,

 

we have established the Link between the SAP Server and Arichive Link Content Repository via HTTPS Protocol.

We can now successfully post the document to Content Repository using the FM  ARCHIV_CONNECTION_INSERT.

Now when  trying to retrive the same document using FM ARCHIVEOBJECT_DISPLAY,we are getting the error "Can not access the repository X1 by http.". any suggestions how to rectify this ?(needs to work via HTTPS)

 

 

 

Thanks

Ramesh.


sap abap currency conversion in words issue

$
0
0

HI Friends

 

I hope you all doing good.

 

I have an issue while converting currency into words i have used bellow code

 

DATA l_spell LIKE spell.
* If the currency is INR
   IF P_CURR = 'INR'.
     CALL FUNCTION 'Z_FI_AMT_WRDS_CONVERT'
       EXPORTING
         AMT  = P_P_WAGE
       IMPORTING
         WORD = P_L_WRDS.

     CONCATENATE '(' P_L_WRDS INTO P_L_WRDS.
     CONCATENATE P_L_WRDS ')' INTO P_L_WRDS.



* If the currency is USD
   ELSEIF P_CURR = 'USD'.
     CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
         AMOUNT   = P_P_WAGE
         LANGUAGE = SY-LANGU
       IMPORTING
         IN_WORDS = l_spell.

     CONCATENATE '$' l_spell-word INTO P_L_WRDS.


when INR it is converting fine into words suppose for ex 311.06  it is showing RUPEES THREE HUNDRES ELEVEN SIX PAISA

IF USD it is not displaying properly it is showing $THIRTY ONE THOUSAND ONE HUNDERD SIX is displaying.


Please help me
*

Function builder generates incopmlete WSDL's?

$
0
0

Hello everyone,

 

I recently tried to create a basic Hello World web service (through the Function Builder), and turn it into a WSDL. Then using (Java) wsimport function turning it into java files.

 

The finction looks like this:

 

FUNCTION ZWEBSERVICE1.

write: / 'hello world'.
ENDFUNCTION.

 

 

The first problem I encountered is while executing wsimport. I got a error that states that wsdl:service is not in the file. After googling a while, I found no discussions/solutions to that problem. So I just wrote:


  <wsdl:service name="ZWEBSERVICE1">

  </wsdl:service>

 

into the file, and executed wsimport  again, and got my java and class files.

 

 

 

The next problem I encountered is that the ZWEBSERVICE1.java class is somewhat empty... It looks like this:

 

...

public class ZWEBSERVICE1 {

 

 

}


...  so now I am at my wits end, and hope that someone can give me some insight in what I did wrong.

Function Module to Fetch Average Database time per Dialog Step

$
0
0

Hello,

 

I need the Functional Module to get the ST03n data for average Reposetimes for Dialog.

I used the FM - 'SAPWL_WORKLOAD_GET_SUMMARY' by which I am able to calculte the Average Response Time, Average GUI Time, Average CPU Time, but I am unable to get the Average Database time per Dialog Step.

 

Can anyone has the idea which FM is able to fetch this data?

Webdynpro selected fields

$
0
0


Hi Experts,

 

I have a requirement in a view I have 4 input fields

 

field label1 : ip1

field label2 : ip2

field label3 : ip3

field label4 : ip4

 

For example when I kept the cursor in ip2 field and press enter I should get the field name or field id on the field which I kept the cursor.

 

Kindly let me know how it can be done.

 

Thanks in Advance

Srivedha Sankaran

The error 12638 occurred in the current database connection "R/3*TXH". On calling Webservice from outside

$
0
0

The error 12638 occurred in the current database connection "R/3*TXH".

 

    

    

"DBIF_DSQL2_SQL_ERROR" " "

"CL_SOAP_TX_HANDLER============CP" or "CL_SOAP_TX_HANDLER============CM00G"

"IF_SOAP_TX_HANDLER~FINALIZE"

Problem with Modules created in Sub screen while transporting

$
0
0

Hi Experts,

     I have some issue when accessing module in custom sub screen. In my program  a sub screen is created using below commands.

    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN

     ...

     ...

    SELECTION-SCREEN END OF SCREEN 100.

    In that screen i created some parameters directly in layout by drag and drop. To populate those fields i created a module in PBO. when i test this         fields are populating with relevant data. But when i  transport this change to quality the newly created module is missing along with the layout. I checked the transport request, these objects are collected and are in active state but when i go to quality server both module and parameters which i created are missing. i was bit surprise. i am trying to figure out the issue can any one help me to understand what things that i missed.

DEVvsQUA.png

Abap web service for external software

$
0
0

Hi to all

 

I will develop ABAP web services(using RFC FM) and will publish  the same. for the 3rd party developers working outside company.

Please let me know how we can make the web services available over internet for   use of external software.

Please provide steps.

 

 

Best regard


Authority check for Batch Job sending customer changes

$
0
0

Hi

 

I have a background job sending customer changes detail to 3rd party.

What kind of auth check need to be performed in the program ?

 

Thanks in advance

validate ASN line item data before creating inbound delivery ?

$
0
0

Hello Geeks,

 

I am looking for a Bapi or a FM to validate/simulate inbound delivery for Advance shipment notification (ASN) which comes as inbound IDOC.

 

Currently ASN comes as inbound idoc and inbound delivery is created if any error in ASN line item whole IDOC will put in hold status.

 

Actually before creating IBD(inbound delivery) i want to validate all ASN line item and create new idoc for all bad line items and another for all correct line item which should create IBD for those line item at list rest are stay in hold status.

 

Could you please suggest me how to validate/simulate ASN data before creating IBD.

 

 

Thanks & Regards,

Nikhil Shisode.

Error Message while creating web service from a custom BAPI: BAPI ZBAPI_XXX has not yet been created

$
0
0

Hi All,

 

I made a custom BAPI and tried to create a web service using the Web Service Wizard from transaction BAPI. I am getting an error: "BAPI ZBAPI_XXX has not yet been created " and I couldn't open the wizard. However, I am able to create web service from the function module and it is working perfectly.

I created the function module and released it in the BOR. Status of the FM is showing as released and I am confused because I can't open the web service wizard. Wizards, please help!!

 

Arun

Where can I get the IDoc java classes?

$
0
0

We have been contacted by a potential customer who wish to know if we can link their SAP system to our internet-based application (xml-based data exchange), primarily goods out/delivery note instructions to their external contractors and the pod/statuses being sent back to SAP.

 

I know that SAP uses IDocs as a means of transmitting/receiving data from external systems.

 

Our application is written in Java so we would prefer to use an existing set of classes rather than create our own by trial and error. is it possible to get a copy of the java library without paying to become a customer or partner?

 

Many thanks in advance.

 

Adrian Heath

URL in iFrame is not getting displayed in firefox

$
0
0


Hi Experts,

 

I created an webdyn pro application in which I am calling an URL using iframe.

 

In browsers like chrome, IE, safari the URL in the Iframe is getting opened. but in fire fox the URL is not opening.

 

Can you kindly tell how to approach this issue.

 

Thanks in Advance

Srivedha Sankaran A

How to store IDOC-XML file on external FTP or internet accessible directory.

$
0
0

Hi Expert,

 

I want Create RFC to store xml file of IDOC to ftp server or internet accessible directory(like \\ 165.0.0.111\abc ).

 

Please let me know how to create RFC and which type of RFC i have to create.

 

and how to use this RFC to store XML in transaction WE21

 

Regards,

Dipesh Gupta

Average "RFC" Response Time is High

$
0
0

Hi Friend,

 

Investigating one issue since yesterday and thought better to the issue in the forum if I can get answer soon.

 

We have observed high avg RFC response time in BW system. This is specially for the time period 0-6 AM.

 

All other response times are normal (Dialog,Background etc).

 

Average Response Time for RFC - 10582 MS

 

Capture.PNG

 

Capture.PNG

Also observed that IO is bit high during this time period. Log Utilizations are bit high.

 

Any suggestion will help me to dig the issue further.

 

Thanks

Mukesh


Delay in IDOCs to BIZTALK - ARFC jobs being created

$
0
0

Hi Experts,

 

We have an ALE Interface from SAP to BIZTALK.

 

Partner profile is set up to Transfer Idoc Immediately.

 

IDOCs are getting successfully triggered from ECC side with Status 03, but there is delay in reaching the target system (BIZTALK).

 

I understand status 03 means "IDoc sent to SAP system or external program" and not that it has been dispatched successfully.

 

We see there are lot of ARFC jobs being created per Transaction ID of IDOC and after some retries the IDOC finally reaches the BIZTALK system.

 

Can you please help investigating the issue?

 

Thanks

how to hold the data provided in the select-options in subscreen in module pool?

$
0
0

I created screen1 with create, change and display buttons.

screen 2 with some fields and a table control, when i click on save in screen2 the data provided in the fields saves in header table and the data in table control will save in item table.

for change and display i created a sub-screen. if i click on change/display the sub screen displays with four select options and 2 buttons as change and display.

 

if i provide the data in select options and click on the change the screen 2 should be displayed with the data in the fields and in table control based on the input provided. if i click on display screen 2 should display with the data in display mode.

 

Here my problem is the select-options in the sub screen are not holding the data. What might be the mistake done by me. How to rectify that?

 

 

Thanks & regards

reddy

SSL Certificate (Self Signed) Trust Enablement with SAP and External Server

$
0
0

Hi,

 

We have a External Server and created a SSL Certificate (Self Signed) to it.  Now then we added this certificate to SAP by going to TCODE: STRUST and adding the same under the section "SSL System Client SSL Client (Standard)".

 

But now when trying to do a HTTP post from SAP system to the External System we are getting a error and the same when checked through HTTP trace we are getting some "Native SSL Error" as shown in below screenshot.

 

Inline image 1

 

Can someone help me on this issue, i just basically need to establish connection between both the systems via this SSL.

 

Regards,

Shravan

Erec external Candidate registration

$
0
0

Hi,

 

I have a PI service which will call an ABAP RFC FM to create an external unregistered candidate in HR e recruitment  system. I have been provided with the service url, when I tried to execute this service using Postman REST client, there is an error / Exception happening at the FM - SUSR_INTERNET_USERSWITCH

 

The candidate is getting created at the back end, but the service fails to give back response due to this error in the FM . Can any one help to understand what exactly the FM SUSR_INTERNET_USERSWITCH will do and how to rectify this error.

 

Also I noticed that when I create the candidate from WD, the user used in RCF_UNREG. But I am not using this user from PI

Link between bd12 and custom program.

$
0
0

Dear Techies .

 

Hello !

 

 

I am new to ALE IDOC , and was searching a thread where i can get answer related link between bd12 and custom program.

 

i am trying to send data through BD12, BD14 transaction . but once i execute one of this transaction it should go to my custom program where i mask the data and send it. also i have to extend the idoc CREMAS and DEBMAS.

 

searching for a correct sequence of linking this all . most important is how can i link my custom program to BD 12 .

 

Regards

Viewing all 1115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>