Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all 3125 articles
Browse latest View live

RABAX occurred on server side

$
0
0

Hello,

 

We have a third party team who uses ONBASE tool to call Webservices API for create/update service orders and followups in CRM system.  The issue they are facing is out of 10-15 calls, 3-5 calls are getting failed and response contains blank.  When they get failure and try next time in 30sec gap, with the same data the transaction is success.  So, we can rule out the data issue here.

 

We have taken fiddler trace and noticed HTTP 500 error when the failure occurred.  Below are the details of the error.

 

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode> soap:Server </faultcode><faultstring xml:lang="en"> RABAX occurred on server side </faultstring><detail><sap:Rabax xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/generic"><SYDATUM>20140422</SYDATUM><SYUZEIT>094349</SYUZEIT><ERRORCODE>MESSAGE_TYPE_X</ERRORCODE></sap:Rabax></detail></soap:Fault></soap:Body></soap:Envelope>

 

Did any one face the same issue (or) can provide any pointers please?  Appreciate your help, thanks in advance!

 

Regards,

Satish


ALE Inbound GR - How to ensure SER03 updated from Inbound Delivery

$
0
0

We currently have an inbound ALE process (message type WMMBXY and basic type WMMBID02) to post GR's against inbound delivery. If the inbound delivery item is maintained with serial numbers, we want those serial numbers to be pulled into the goods movement document (and stored in SER03). How can we accomplish this?

Currently segment E1MBXYJ is maintained with the inbound delivery and item, and the material document does contain the expected link between material document and inbound delivery. Unfortunately, the serial number(s) matained on the delivery item do not get saved to the material document.

 

If we manually create the GR via MIGO, the serial numbers are automatically applied to the GR material document. THIS is what we want to accomplish via the above IDoc process.

 

Any help you can provide is greatly appreciated.

 

CHEERS!

EDI problem in SAP connector

$
0
0

Hi there,

 

I'm not sure that I am in the right place, if not my apologies.

 

recently we are troubled by the following problem on our SAP RFC connection to our subsystem. It seems that the SAP connector randomly refuses WMTORD iDoc messages. Maybe someone recognizes this problem and can give me a direction on the cause and preferably towards the solution. I'm sorry but the error logging is in Dutch.

 

2014-05-08 09:01:50,762 [63] INFO  Vertices.Logging.SingletonTagLogger Sender:9 Checking Transaction ID: Tid 0A69C0543C2E536B2BDE119E, new transaction

2014-05-08 09:01:50,762 [63] INFO  Vertices.Logging.SingletonTagLogger Sender:9 Rollback transaction ID: Tid 0A69C0543C2E536B2BDE119E

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RfcServerError opgetreden in RFC server NCO_SERVER:

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RFC Caller System ID: PRE

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RFC functienaam: IDOC_INBOUND_ASYNCHRONOUS

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Fout type: RfcInvalidParameterException

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Fout bericht: Index 1 of table ARFCSDATA out of range: CurrentIndex must be in range 0..0

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RfcServerApplicationError opgetreden in RFC server NCO_SERVER:

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RFC Caller System ID: PRE

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer RFC functienaam: ARFC_DEST_SHIP

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Fout type: RfcServerApplicationException

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Fout bericht: Uncaught exception SAP.Middleware.Connector.RfcInvalidParameterException thrown in SAP.Middleware.Connector.RfcServer.ARfcDestShipImp when executing RFC server function ARFC_DEST_SHIP

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Inner exception type: RfcInvalidParameterException

2014-05-08 09:01:50,762 [63] ERROR BoschRexroth.SAPCommunication.NcoServer Inner exception message: Index 1 of table ARFCSDATA out of range: CurrentIndex must be in range 0..0

Consume .NET WCF service in ABAP

$
0
0

Hi Gurus,

 

I am trying to consume .NET wcf service via proxy creation (SE80) as I have done same for WSDL service.

May be there will be different process to deal with .Net WCF service so can you please send me a link or process, how to consume or use wcf service.

 

Thanks,

Tahir

Re: URL rewriting for a WebService Consumer Proxy

$
0
0

Hi Alex,

the proxy based programming model of the web services infrastructure (ABAP) does not support to set URL parameters or HTTP parameters outside the logical port via coding in a dynamic way.

Kind regards,

Stefan

ABAP OR PI

$
0
0

Hi all,

 

I am fresher to SAP. I wanted to learn  SAP ABAP or SAP PI (SAP Netweaver Process Integration).

 

So which one should I choose and Why??

 

Please help me.......

Re: MM upload error - The group data is locked by user - Even after DEQUEUE

$
0
0

Yes, same problem happened, and solved by adding

WAIT UP TO 3 SECONDS.

 

Lot of thanks.

Logon Property: RFCWithDialog Problem

$
0
0

Hi all,

 

I'm trying tomake a connectionwithSAPthroughtheSAP.Functionsobject, the connection's propertyRfcWithDialogis setto True,so it ispossible to usetheSAPscreensduring anRFC call,howeverwhen running themethodcallSAP's screen isnot shown as it should,noting that thecodeusedworked perfectlyuntila fewdays ago. Can anyone helpme solvethis problem?

 

Sub RecordBDC()

Dim SAPConn As Object
Dim rfcFunc As Object
Dim authCheck As Object
Dim tCode As Object
Dim dynTab As Object
Dim mesTab As Object
Dim idx1 As Long
Dim idx2 As Long

'Create the SAP Functions object
Set SAPConn = CreateObject("SAP.Functions")

 

'Set up Connections parameters

SAPConn.Connection.System = "d4. PD4 - Produção TIM ONE CLIENT"
SAPConn.Connection.client = "203"
SAPConn.Connection.user = "MyUser"
SAPConn.Connection.Password = "MyPassWord"
SAPConn.Connection.Language = "PT"

 

SAPConn.Connection.RfcWithDialog = True

 

'Performing the connection
If SAPConn.Connection.IsConnected = 1 Then
   
    SAPConn.Connection.logoff
    If SAPConn.Connection.Logon(0, True) <> True Then
        MgSapLogOn = vbCancel
        Exit Sub
    End If
   
    Else
       
        If SAPConn.Connection.Logon(0, True) <> True Then
            MgSapLogOn = vbCancel
            Exit Sub
        End If
End If
   
End With

 

'Set up RFC parameters
Set rfcFunc = SAPConn.Add("BDC_RECORD_TRANSACTION")
Set tCode = rfcFunc.exports("TCODE")
Set authCheck = rfcFunc.exports("AUTHORITY_CHECK")
Set dynTab = rfcFunc.tables("DYNPROTAB")
Set mesTab = rfcFunc.tables("MESSTAB")
tCode.Value = "Z_SD_FAT_DET"

 

'Call the RFC
DoEvents
If rfcFunc.Call = True Then 'SAPshould showthe screenof thetransactiondefinedinparameter tCode

   idx2 = 0
   conRepl = MsgBox("Do you need BDC_CURSOR/BDC_SUBSCR?", vbYesNo + vbDefaultButton2)
   For idx1 = 1 To dynTab.RowCount
       If conRepl = vbNo And dynTab.Value(idx1, "FNAM") = "BDC_SUBSCR" Or dynTab.Value(idx1, "FNAM") = "BDC_CURSOR" Then
       Else
          idx2 = idx2 + 1
          ActiveSheet.Cells(idx2 + 1, 1) = idx2
          ActiveSheet.Cells(idx2 + 1, 2) = dynTab.Value(idx1, "PROGRAM")
          ActiveSheet.Cells(idx2 + 1, 3) = dynTab.Value(idx1, "DYNPRO")
          ActiveSheet.Cells(idx2 + 1, 4) = dynTab.Value(idx1, "DYNBEGIN")
          ActiveSheet.Cells(idx2 + 1, 5) = dynTab.Value(idx1, "FNAM")
          ActiveSheet.Cells(idx2 + 1, 6) = "'" & dynTab.Value(idx1, "FVAL")
       End If
   Next
   MsgBox "Completed"
Else
   MsgBox "Transaction cannot be called. " & Chr(13) & "Please check auth. or etc.."
End If


End Sub


Re: ABAP OR PI

$
0
0

Hi,

 

That question is a bit hard to answer - it depends on your own taste, preferences & predilections.

 

Also, why are you restricting your choice to those two?

 

I suggest you read up on them both (SCN is a good place to start). See what fits.

 

ABAP covers a much broader area than PI. Once you know ABAP you can easily branch out into other areas like workflow, WebDynpro, etc.

 

Why not just do both? :-)

 

cheers

Paul

Re: ABAP OR PI

$
0
0

Thanq so much for your valuable answer paul.

 

Acually for the past 3 months I working on SAP PI but now i got a chance to work on SAP ABAP. I am new to both modules.But i have 3 moths of experience in SAP PI. So I just want to know weather to go for ABAP and start my carrier with ABAP (by forget past 3 months exp) or continue with the SAP PI.

 

Which one is good for me in terms of learning and future opportunities.

How to determine if outbound proxy is connected?

$
0
0

Hello,

 

I am currently calling an outbound proxy in my program in a try.. catch block. The only exception in my proxy is CX_AI_SYSTEM_FAULT which I defined in the catch block.

 

My issue is, when the proxy is disconnected, the exception cx_ai_system_fault is not being caught, subrc is also 0 but when I verify in SXMB_MONI, there is an error.

 

Does anyone know how can I determine when a proxy is disconnected ?

Is there any FM or method ? Or changes need to be made in the proxy configuration?

 

Thank You.

Re: ABAP OR PI

$
0
0

I would do both. As SAP progresses you'll need to keep jumping from one technology to another anyway.

 

I myself started with ABAP, then specialised in SAPscript, IDocs, HR, Workflow, TRM, CRM, PI, WebDynpro, and who-knows-what's-next. I try to stay au-courant in all of them.

 

If you restrict yourself to PI, you may be out of a job very soon.

 

So go ahead and buy those new shoes, but don't chuck out the old ones :-)

 

cheers

Paul B

/WSCGMBH/A_TMPL XML changes

$
0
0

Hello Team,

 

We work on SAP - CLICK integration system.

The data flows to Click Scheduling from SAP.

We have added a new field in the XML using this transaction /WSCGMBH/A_TMPL.

Now, when we are reverting the addition of this field, it still shows in the XML code that is created.

Please can you help us in understanding why our code revert is not working?

Thanks in advance!!

Please also let me know if you need more data on this.


Regards,

Dheemahi

Function module is returning SY-SUBRC = 1 (SYSTEM_FAILURE).

$
0
0

RFC Function module RFC_SET_REG_SERVER_PROPERTY is called with EXCLUSIVE = ‘Y’. This FM is returning SY-SUBRC = 1 (SYSTEM_FAILURE). Due to this reason we are getting error message: “Only available with the RFC library from 4.0C onwards”.

 

Following is the sequence of FMs called:

 

1. ZMM_I0419_BRAINWARE_ARCHIVING

2. SCMS_UPLOAD

3. SCMS_FE_START_REG_SERVER

4. SYSTEM_START_REG_SERVER – This function module is called with EXCLUSIVE = “Y”

5. SYSTEM_SET_REG_SERVER_PROPERTY

6.RFC_SET_REG_SERVER_PROPERTY

 

 

Environment Details:

 

Application Server is 64 Bit and the application is 32 Bit compatible, It is successfully sunning with other client.

We are using 32 bit SAP GUI on the server.

we have librfc32.dll and librfc32u.dll in Syswow64 folder(32 bit dll install folder).

We are using sapftp.exe to post a document in SAP.

 

This is impacting our GO LIVE badly, Please help if you have seen such issue.

 

Praveen.

How to pass XML(Binary) to Server Proxy in ABAP report

$
0
0

Hi,

 

I would like to schedule server proxy in back ground mode using ABAP report. I already have the payload available in XSTRING(binary) saved in Z table. I know how to convert binary string to XML (using FMs -  SCMS_BINARY_TO_STRING).

 

However, is there any way to pass binaryXML(XSTRING) to server proxy (without converting the paylolad to XML and use SAX/DOM parser to populate proxy input structure ) ?

 

Not sure, if SET_XML(IF_WS_PAYLOAD) method can be used.

 

Thank you,

Mallik


Internal Table from Web Service's Output is empty

$
0
0

Hi expert,

 

  • I consume a service from integration server,
  • I hope receive feedback in the form of internal table,
  • But I got empty internal table.

 

Below are the screen capture of proxy testing:

 

In "Original Response" I can see the result of "ATTRIBUTLIST",

original response.jpg

But in "Response", the result disappear.

response.jpg

Why this happend and how to solve it?

 

Thank in advance

Re: problem with RSDRI_INFOPROV_READ, E_T_DATA IS NOT POPULATED,SY-SUBRC = 11

$
0
0

Hi Pavan,

 

Please try adding below selection in exporting while calling FM

 

i_save_in_table        = rs_c_false
i_save_in_file        
= rs_c_false

 

Also please check if the technical names of characteristics and Key figures you are passing are correct.

It should work.

 

If not, please try to debug it and see what value SY-SUBRC is returning.

corresponding exception part of FM will give you an idea what table values you are not passing correctly.

 

Still if have issue then seek help from below links

 

http://www.web-dreamer.de/blog/2009/04/reading-on-sap-bi-infocubes-via-rsdri_infoprov_read.html

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0b7f73a-ad77-2d10-8592-f2e639209256?overridelayout=t…

 

Hope it helps.

 

GS

---------

Regards,

Gaurav

 

 

E1EDS01 segment for payable rounding amount

$
0
0

Hi,

We are using E1EDS01 segment in (Basic type-INVOIC02) with SUMIDs 11 and 17 (Billed value, Total net item value) to map with line extension amount and payable amount respectively in UBL standard (ignore if you don't understand what is UBL-it is just a standard)

Now we come across the need of providing payable rounding value for sender which can be negative or positive to round off the total net item value.

This can be -0.19 to make an amount 112.19 to 112 or can be 0.81 to make it 113.

I am trying to match all E1EDS01 sumid descriptions with a rounding value to suit my requirement and finding it no use in doing so.


001     Number of items (Purchase order count in SPEC2000) 

002     Net document value              

003     Gross document value              

004     SPEC2000 Total control quantity (total of all quantities)

005     Sales tax total              

006     Order values              

007     Sales tax              

008     Invoice values              

009     Target value for outline agreement         

010     Net invoice value              

011     Billed value              

012     Value qualifying for discount              

013     Cash discount amount 1              

014     Cash discount amount 2              

015     Net values with sales tax ID              

016     Billed values with sales tax ID              

017     Total item net value              

018     Invoice list total              

019     Net value invoice list              

020     Total discounts/surcharges              

 

Can you please advise on how I can go ahead to provide a rounding amount in my IDoc?

If this is not possible with existing structure do I need to extend this segment or is there any other way?

 

Thanks,

Yamani.

IDOC filtering and BD21

$
0
0

Hi experts!

 

I have implemented a filter on my DEBMAS model in BD64, it takes IDOC only if a specific field is part of the distribution.

 

When I run BD21, all the IDOCs that should be avoided (because they are not part of above filter) are sent. I analyzed the process and found out that the field chosen to be the filter is not being sent because it was not changed in the customer master.

 

My question:

Is it possible to indicate which fields must be always sent in the running of BD21? Is it a customizing or abap implementation?

 

If I succeed to add this field as mandatory, even if it was not changed in the customer master, my filter will work.

 

Thanks for your time!

Re: CK74N - SM35 - Background error - Runtime error RAISE_EXCEPTION has occurre

$
0
0

Hi Harish,

Please suggest.

I have same problem with CK51n tcode in background.So please suggest how can we solve it?

Viewing all 3125 articles
Browse latest View live


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