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

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

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!

Abap client proxy

$
0
0

All,

 

I have created a client proxy in CRM system and i have tested in from SE80 and everything works i retrieve data and works fine.

 

But now i have created a test program where i use a client proxy and i send the request with the same parameters, but i do not receive any response.

 

I have created the proxy object with the logical port and no exception is being throwed, any idea?

 

Regards

 

Jon

Interesting DELVRY03 SHPCOND problem

$
0
0

Dear experts ,

I am trying to change delivery update using DELVRY03 and message thpe SHPCOND.

Below segments been populated below:
(1)
E1EDL20

 

VBELN                0072029903
VSTEL                FNU1
VKORG                DIL

(2)
E1EDL24

 

POSNR                10
MATNR                FT13320H

 

(3)
E1EDL37

 

EXIDV                FT13320H
VHILM                000000001227010095

 

(4)
E1EDL44

VELIN                1
VBELN                0072029903
POSNR                10
EXIDV                FT13320H
VEMNG                2
VEMEH                CS

 

I am not able to prevent this error coming because of VHILM field in (3).

1227010095 does not have packaging material type and is therefore not a pack.mat

How can i prevent this ?.This is a packaging material as per master.
We in our company are not using standard packaging material type VERP but some 'IPAM'.
Infact why idoc generation logic is triggering Handling unit to be filled in segments.
Any addon will be a great help for me,totally bamboozled.

Looked on some similar threads ,tried to imitiate same actions but not working.

Regards.
Aditya Sharma.

IDOCS - Finding the first error message when reprocess has been done 17000 times

$
0
0


I was hoping for some assistance. We have an automated reprocessing of our iDocs in one interface. I would like to find the first error message at status 51 in order to see the failure messge. Since the idocs have been reprocessed so many times, it cannot be found in the iDoc handler. Please advise if you have tips.


ECC to PI connectivity Issue

$
0
0

Hi Experts,

 

I have a scenario where my PI server was connected to ECC server and everything was up and running.

Now I decided to connect a new ECC sever and remove the previous one.

So after creating required RFC in new ECC server I created a new RFC in PI for ECC destination.

And I removed the IP of previous ECC so that I can disable the rfc for ecc destination (old one).

 

Now connection tests are successful also I am able to do remote login from new ECC/PI to PI/new ECC.

But other server (on intranet) when trying to create some data on this new ECC via PI server, is not able to do so.

When I checked for error then I got to know that my PI server is still searching the IP of old ECC server.

 

Please help me with this issue, what have I missed while connecting new server?

And how this issue can be resolved.

I have checked all rfc of old and new ECC and also I've restarted the services on ECC and PI.

 

Thanks in advance.

Connection Test SAPNET_RFC

$
0
0
LogonConnection Error
Error DetailsError when opening an RFC connection
Error DetailsERROR: SAP gateway connection failed. Is SAP gateway started?
Error DetailsLOCATION: SAP-Server  on host dev (wp 0)
Error DetailsCOMPONENT: CPIC
Error DetailsCOUNTER: 162
Error DetailsMODULE:
Error DetailsLINE:
Error DetailsRETURN CODE: 236
Error DetailsSUBRC: 0
Error DetailsRELEASE: 700
Error DetailsTIME: Wed May 28 17:45:01 2014
Error DetailsVERSION:

 

HOW TO SOLVE THIS ERROR PLZ ITS URGNT.................

ALE error while posting payroll data

$
0
0

Hi all,

 

We are trying to set up payroll posting via ALE interface. We have done the following settings

1. Distribution model setup with filters on for standard bapi's

2. Partner profile setup

3. RFC destination setup

 

When we try to post payroll data,it was returned with the following errors

 

       RFC destination is not maintained for object BUS6001 and method PRECHECKPAYROLLACCOUNTASSIGN

       The account assignment objects could not be checked

       RFC destination is not maintained for object BUS6004 and method CHECK

       The G/L account could not be checked

 

We verified RFC destination and it is working fine. I have searched all possible links in SCN, but unable to get the solution.

 

Can someone help in this issue?

Why are intermediate certificates needed within STRUST with SAP as SSL client?

$
0
0

Scenario: My company is hosting various applications on a web server. Our customers connect their SAP systems to our applications using web services.  We changed one of our VeriSign web server SSL certificates a few weeks ago. This new SSL certificate was signed by a VeriSign intermediate CA which itself is signed by a new VeriSign root CA.

 

In the past, we only took care that our customers have the corresponding VeriSign root certificate imported into their SAP via STRUST; in our case this is the following root certificate: http://www.verisign.com/repository/roots/root-certificates/PCA-3G5.pem

Now as we changed the certificate on our web server, our customers can't connect to it with their SAP systems any more. We found out that it works again, if the customers additionally import the VeriSign intermediate certificates into their SAP via STRUST; in our case the following ones: https://www.verisign.com/support/verisign-intermediate-ca/secure-site-intermediate/index.html

 

This is something we don't understand for two reasons:

 

1.) Usually it shouldn't be necessary to have intermediate certificates on client side, only on the web server. We saved the two VeriSign intermediate certificates into one file and linked it within our Apache via the "SSLCertificateChainFile" directive. This is what we expected to be enough for all SSL clients which have the corresponding root certificate within their certificate stores.

 

2.) Our old certificate was signed by an (other) intermediate certificate, too and we didn't have  this one on client side at our customers… it worked. Why? The only difference seems to be, that the old chain had only one intermediate certificate and the new one has two.

 

 

Anyone has an answer to these questions or an idea how to avoid uploading the intermediate certificates all the time? 

SHPMNT iDoc - "Vehicle" field not available

$
0
0

Hi Gurus,

I'm trying to use SHPMNT05 or SHPMNT06 message type in order to create shipment documents from an external system.

I mapped all the fields but one: VTTK-/BEV1/RPMOWA, that is the Vehicle used for that shipment.

In the iDoc segments it is not available. Any suggestion on how to value that field via iDoc?

 

Thank you,

Dani

Issue in FM Unit_Conversion_Simple

$
0
0

Hi All,

 

I have a issue in using the FM 'Unit_Conversion_Simple'.

 

CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'.

  EXPORTING

       INPUT = 0.6492

       unit_in = G (Gram)

       unit_out = KG

IMPORTING

   output = w_ntgew (where w_ntgew is of type mara-ntgew)

 

on executing the FM, i got w_ntgew = 0.001 KG (as the value is rounded off)

 

Is there any possible way in the FM that rounding off will not occur, so that I can get the value of 0.0006492 KG.

 

 

Thanks in Advance

Are Import parameters compressed in external JCo RFC calls?

$
0
0

I would like to send XML data from a Java program to an SAP ABAP System running on NW 7.02.

 

The connection is done by Java Connector 3.0. The XML file should be passed as a parameter of an RFC function module.

 

In older versions the data would have been passed as a TABLES parameter and would be compressed automatically if the payload exceeds 8kb or the connection would be marked as a slow connection. (see also Note 977407).

 

Now I would like to use the basXML RFC protocol. There it is advised to use Table Types in Import parameters instead of TABLES parameters for table data. Now will the data be compressed if I send them as Table data in an Import parameter? And will they also be compressed when I send them as an Import parameter as STRING or XSTRING instead of a table?

 

Unfortunately the help documentation is incomplete on these topics and I did not find any details for this scenario.


SAP ECC6.0 Scheduling Jobs for MATMAS

$
0
0

Hello gurus,

 

We have scheduled a background job in order to send idoc type MATMAS if any material has changed, or newly created.

Even though the job works, we need to also be able to send the material's characteristics.

These characteristics were not available before MATMAS05.

In the case that we send the material via BD10, it is sent in full, but we need the background job to also send them in full, since there are too many materials created every day.

Is there a way to add these fields in the job?

 

Thanks in advance!

why ADODB.connection can not be used in background?

$
0
0

hi all :

 

      i have a problem.

      i can run it in se38  and it's successful ,  but i cannot run it in background, can not use it in sm36,  the data  are not be inserted into sqlserver2008, and there are not any error messages.

 

     could you help me ? thank you.

 

"-----------------------------------------------------------------------------------------

CONCATENATE
    'Provider='         'SQLOLEDB'  ';'
    'data Source='      p_ip        ';'
    'Initial Catalog='  p_conname   ';'
    'User Id='          p_name      ';'
    'Password='         p_password
      INTO connstr.
  CONDENSE connstr.

……………………………………………………

   CREATE OBJECT cn 'ADODB.connection'.

      CALL METHOD OF cn 'OPEN'
      EXPORTING
      #1 = connstr.

 

sql = '   INSERT INTO T1( AAA)  …………………………' 

 

      CALL METHOD OF cn 'EXECUTE'
      EXPORTING
      #1 = sql.
    IF SY-SUBRC = 0.
    COMMIT WORK.
    ENDIF.

 

                                                                              from china.        

Create 2 outbound Idocs for 1 message type

$
0
0

Hi Experts,

 

We are sending an outbound Idoc of message type DESADV.  We would like to trigger 2 Idocs per Shipping Notification.

 

Could you please help?

 

Thanks,

Vitish.

MIRO - BAPI_INCOMINGINVOICE_CREATE

$
0
0

Hello,

 

When I have arelease inFIfroman entryfortheBAPItransactionMIRO-ACWT_ITEM WT_WITHCDfield isnot filledcausingproblemwhenclearingtheaccounting document.

 

DocumentofMIRO

 

ScreenHunter_02 Jun. 04 11.27.jpg

 

 

FIdocument - Code ofwithholding taxisnot filled.

 

 

ScreenHunter_01 Jun. 04 11.21.jpg

 

Does anyone havea hint howI cansolve this problem.

IDOC Reprocessing

$
0
0

Hi Everybody,

 

 

I am replicating the G/L Master data from production to quality using ALE IDOC.When i do it i am getting the error message as "G/L account XXXXXXX is not allowed in the system".When i reprocess the same it is getting posted in the target system as desired.

Here my question is,why the idoc fails to post in the first attempt (Inbound system) and why it is getting posted at the time of reprocessing.

 

Can you please let me know what leads for the IDOC reprocessing.I googled but did not find the anwer for it.

 

 

Regards

 

Sriram.

Viewing all 1115 articles
Browse latest View live


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