Quantcast
Channel: SCN : All Content - ABAP Connectivity
Viewing all 1442 articles
Browse latest View live

AIX NWRFC linking problems/crash - SAP Note 1056696 error?

$
0
0

I've ported our BC-XOM NWRFC application to several platforms now, but have run up against a wall on our AIX 5.3 system.

 

 

SAP Note 1056696 says

  • AIX (64 bit)

           xlC_r -DSAPonUNIX -DSAPwithUNICODE -D_AIX51 -D_LARGE_FILES -U__unix -q64 -DSAPwithTHREADS -qtbtable=full -qhalt=e -qalias=noansi -O -qstrict -qlibansi -qinlglue -DNDEBUG -qarch=pwr4 -qtune=balanced -qspill=2560 -DSAPonRS6000 -D__NO_XLC_BUILTIN_VA -E <program>.cpp> <program>.ii


           /usr/bin/perl5 u16lit.pl -cpp -asciistring <program>. ii


           xlC_r -DSAPonUNIX -DSAPwithUNICODE -D_AIX51 -D_LARGE_FILES -U__unix -q64 -DSAPwithTHREADS -qtbtable=full -qhalt=e -qalias=noansi -O -qstrict -qlibansi -qinlglue -DNDEBUG -qarch=pwr4 -qtune=balanced -qspill=2560 -DSAPonRS6000 -D__NO_XLC_BUILTIN_VA -c <program>.i


           xlC_r -q64 -brtl -bnortllib -bloadmap:<program>.out -bmap:<program>.map -o <program> <program>.o libsapnwrfc.so libsapucum.so [and possibly libicudecnumber.so]

 

 

But this doesn't work.   The compilation of our program fails because the preprocessor pass does not treat the cU() macro correctly.  It looks as if it creates 16-bit unicode literals when it shouldn't.   I had to add  -DSAPwithoutUTF16_LITERALS  to the first command to get the program to compile.  I have to wonder if there are other options not set correctly.

 

Once past that hurdle, I was able to build an executable.   The executable has a test option which simply invokes RfcGetVersion() and prints/logs the result.  The idea is to show that the NWRFC libraries are installed correctly and available to the program.   Alas, the program always gets a segmentation violation (SIGSEGV).   Running it under truss I always see RfcGetVersion called, then for some reason, /etc/password is accessed.  Then the program crashes:

 

...

setuid(0x0000000000000008)                = 0
getuidx(1)                                = 8
getuidx(2)                                = 8

test**********************************************

kwrite(1, " t e s t * * * * * * * *".., 51)= 51

->libsapnwrfc.so:RfcGetVersion(0xfffffffffffcfa8, 0xfffffffffffcfa4, 0xfffffffffffcfa0)

getuidx(2)                                = 8
open("/etc/passwd", O_RDONLY)             = 3

kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY

kfcntl(3, F_GETFD, 0x0000000000000000)    = 0
kfcntl(3, F_SETFD, 0x0000000000000001)    = 0
accessx("/etc/security/passwd", 04, 0)    Err#13 EACCES
_getpid()                                 = 4706424
accessx("/etc/passwd", 04, 0)             = 0

statx("/etc/passwd", 0x0FFFFFFFFFFFB0B0, 176, 0) = 0

close(3)                                  = 0
Received signal #11, SIGSEGV [default]

*** process killed ***

 

 

RfcGetVersion() is about as simple a function as one could ask for to test with.  There is no unicode to mess with until the function gets back, so that is not the problem.  The function never returns.   I've played around with the link options but with no success.   It always ends in a crash.

 

Anyone else seen this and maybe worked around it??

 

Thanks!

Rich

 

Aside: The SAP note does not provide settings for Solaris on X86_64.


Open dataset ignoring Byte order Marker

$
0
0

Dear Experts,

 

for an interface we are uploading text files (format UTF-8) from application server (AIX system) using  "OPEN DATASET file IN TEXT MODE ENCODING DEFAULT FOR INPUT." Some of the source systems are sending these files with BoM (Byte order marker) other systems without.

For correct data transfer and processing I have to ignore the BoM.

Is there any possibility to ignore the BoM during reading of the file?

 

Thank you in advance for your help.

Thomas

Massive GOS Upload

$
0
0

Hi all.

 

I have a folder with a lot of documents that I have to load like a GOS (That thing in PA30 AKA Attachments to the PERNR). The pernr will be part of the name of each file, so we can get the this data from there.

 

What I need is any kind of batch input or something to upload all this stuff.

 

Thanks in advance...

Idoc Error for Sales Order. Duns# pointing to incorrect Ship-to-party

$
0
0

Hi SAP Gurus,

 

I am working on a EDI-IDoc issue and being relatively new to this I am seeking your help.

 

My client is having an issue with one of the Inbound IDocs that is failing. As per the problem, the DUNS number for a customer is pointing to an incorrect Ship-to-party (XYZ) that does not exist in the system. Ideally the DUNS number should be pointing to another Ship-to-Party (ABC).

 

My first question to you all would be: Is there a DUNS number field in SAP for Customer master? I don't think there is a standard field but please correct me if I am wrong. I also tried searching through the Z custom fields  in KNA1 but there is none.

 

Below is my analysis of the issue:

 

I believe there might be something wrong in the EDI mapping i.e. some incorrect cross reference entry maybe that has the wrong Ship-to party customer number maintained against that DUNS number. I am not aware of the exact mechanics of how these IDoc's are created. I have verified that the DUNS number is correct so the only issue is in the pointer to Ship-to-Party? Any help would be highly appreciated.

 

thanks much in advance!

 

R

No partner exists with the name '', type '' - LSMW error

$
0
0

Hi experts,

 

I'm working on an LSMW for uploading assets master data.

 

I have the following error "SAPDMC/LSMW810 - No partner exists with the name '', type ''"

 

I have this error during the IDOC generation...

 

Do you have any idea why do I have this error?

 

Thanks for your help,

 

Rgds

 

Karim

Service Consumer- HTTPS Link Connection Error : SOAP:1023 SRT: Processing error in Internet Communication Framework: ("connection to partner broken")

$
0
0

Hi everyone,

 

I just created service consumer with wizard in se80 with the link which is created type of https.

 

in the beginning , there were no certificate for https on sap system so I couldnt create service consume with wizard,after basis team setup all certificates

depend on https I created service consumer.

 

Secondly, ı just created my program to consume data from the link by se80.

 

Finally , I need to create logical port from "SOAMANAGER" ,I manually configured my logical port , but when I try to ping on soamanager its always

turn me back with error,

 

Is tthere any solution about tthis problem?

,

Is it all about the type of link?(https)

 

any help will be appreciated.

 

 

thank u

 

best regards.

How to create logical port with " HTTPS" external link

$
0
0

Hi everyone,

 

 

Can you give some suggestion about creating logical port with https external links,

 

I always choosing manual configuration, but in the end when ı trying to ping , it always giving me some error,

 

I still trying to create logical port,ı need your helps.

 

 

any help will be appreciate,

 

thank u

 

 

 

best regards.

RFC to program SAPFTP failed

$
0
0

halo fellow SAPiens,

 

when i try to connect to the ftp server through SAPit says <b>RFC to program SAPFTP failed</b>

 

how can i correct this prb..........


Error transferring ExtensionIn data for enhancement CI_EKPODB

$
0
0

Hi All,

 

I am facing an issue with BAPI_PO_CREATE1. The return parameter from the BAPI is throwing an warning message "Error transferring ExtensionIn data for enhancement CI_EKPODB" and PO is created with an warning message. Not all fields are being transferred through extensionin. I have already implemented enhancement spot ME_BAPI_PO_CUST method map2i_extensionin for capturing non character like fields and transferring them to character like structure. The issue seems to be happening from standard SAP code implemented through note 1033925. The issue occurs even before implementation of ME_BAPI_PO_CUST is called. Please help.

 

Thanks

Sandeep

IDOC WPUBON problem

$
0
0

Hi, We are using WPUBON idoc type for Sales Inbound Posting. Previously we are not recieving the TAX and system was calculating  the tax maintained in sap. Now we need to add TAX on article level so we have populated segment E1WPB04 which is meant for Tax. But even though the TAX is coming with the Idoc properly system is considering  the default tax only

IDocs in 75 status received via qRFC

$
0
0

Hi Experts,

 

The sender system SAP PI using qRFC sends SHP_OBDLV_CREATE_SLS01 IDocs to SAP ECC system. But sometimes IDocs are going to 75 status which in turn makes the succeeding IDocs to run in to error 51 status [The sales order xxxxx is currently being processed by user 'abc' ] . So this IDocs which are in 75 status stops processing of succeeding IDocs to go to 51 status. I found this could be solved following note 817939 - IDoc: IDocs remain in status 75 but can the IDocs which are in 75 status be processed automatically by scheduling jobs. I mean will the back ground job can be executed to reprocess them immediately as soon as IDoc of the particular queue or message type stuck in 75 status?

 

Thanks,

Nithin.

Change sender partner on PEXR2001 idoc

$
0
0

Some time ago we implemented idoc type PEXR2001, message type REMADV, for sending outbound 820 remittance advice file to a vendor of ours.  On the resulting idoc, the sender information has always been Partner Type = KU, Partner Number = their account number for us (taken from the vendor master correspondence tab).

 

Now, I would like the sender information to reflect the logical system name of our sending ECC system. 

 

How do I replace this?  So far, the only way that I have been able to accomplish this is by removing their account number from our vendor master record, but I need this information elsewhere in the idoc.

 

I've searched for user exits to no avail.

 

Thank you for any help you can give.

Does anyone know where I can have access of free ides(ECC6.0) on web?

$
0
0

I would like to have access of IDES online for performing basic operation of ABAP.

If anyone knows direct link or way please share.

Programmatically restrict confirmation control key dropdown

$
0
0

Hi,

 

Is there a way we can programmatically restrict the confirmation control keys appearing at the time of PO creation based on document types? Only a set of conf. cntrl keys should appear when a specific document type is selected?

 

Thanks

Sandeep

To configure the advance XML selection criteria

$
0
0

Hi,


I have made the settings in the the transaction for user-Defined Search Config. - To configure the advance XML selection criteria:

 

SXMS_LMS_CONF


 

 

 

 

 

I have made the settings, but it isn’t seem to be working. can you let me know if i am missing some specific steps or anything is wrong to make it work.

 

I did test this by giving a message id, which gives the below log:
Inline image 1

 

But when i try to do an advance search on the PO it does not give any result.

Inline image 2

 

Regards,

Shujath

 

 


text placing in MM01

$
0
0

hello,

I want to upload data  for MM01.

for that uploading i want upload basic data text , insepection text, sales text, purchasing text and internal comment.

i donot how  to upload these fileds given in excel file or notepad.

for ex.

in basic data i given like that.

aaaaaaaaaaa

bbbbbbbbbbb

cccccccccccc

so here i canot understnd how to upload first line in first column from excel file or notepad......

simlarly place second row in colum(bbbbbbb)

 

regarding all for text mentioned above doubt.

 

here i canot find 'f1' for text fields for  checking length and so on.

please tell me sir.

Disable HTTP and communicate only via HTTPS

$
0
0

Hi,

 

we want to disable HTTP and communicate only via HTTPS.

 

Since you cannot disable HTTP without HTTPS stopped working, therefore we decided to all HTTP connections using the parameter "icm / HTTP / redirect_0" to redirect to HTTPS.

 

So I wanted to ask you how you solved that.

 

About every tip I would be very grateful.

 

Best wishes

 

Georg

Generate tab delimited file via FILE port from IDOC

$
0
0

Hi All,

 

I have a requirement to convert the Vendor Master data into a tab delimited filevia IDOC CREMAS.CREMAS05 with in sap system.

I have done the complete ALE configuration and file is generating after adding the FILE port in partner profile(outbound) but the generated file is in fixed length file format.

 

Please suggest any solution to generate the tab delimited file instead of fixed length file via FILE port.

 

Regards,

Pradeep Bawlia

Inbound HRMD IDOC not following internal number range

$
0
0

Hello community, hope you can help me here.

 

Currently I am related to a solution which involves sending both PA and OM objects from one ECC to another.

As for PA objects, no worries since the same employee number created in sender side gets created on receiver side too.

But for OM objects, both system have different number ranges.  Therefore, when a given object is created in sender side, it should create on receiver but just with different number.

 

In sender system, IDOCs are created through Change Pointers, which are working fine.

And in receiver, the Inbound FM is the standard one: IDOC_INPUT_HRMD

Also, on the receiver side, tcode OONR it is correct, indicating that number ranges of each relevant object should be internal.

 

I conducted several tests, as follows:

- Created an IDOC with a number not included in the receiver number range

- Another IDOC with blanks on every OBJID field

- Another IDOC with a number within the number range, but just not the next available one

 

For each and every test, system created the object as per the indicated number (even when blank).

So it is quite clear that standard Inbound FM is it not following internal number range.

 

Does anyone knows what might be going wrong here?

 

Regards,

Martin

IT 0302 not sent in HRMD_A message type

$
0
0

Hello!!

 

I have already set everything to send HR Master Data from one system to another partner.  Instead of using the standard type HRMD_A, I ended up making a copy of it.  Everything seems to be fine while creating IDOCs from PFAL transaction.  IDOCs are created and processed correctly in the partner server.

When we run PFAL, we select the following options:

  • Object Type "P"
  • a few Object IDs
  • Period: Today
  • Method: Insert

 

Now, but just in few cases, we end up facing some problmes, as described below:

1) Infotypes 9NNN and other extended infotypes (with Z fields) are not being sent

2) Infotype 0000 it is sent (considering the validity dates).  But Infotype 0302 is not sent.  I checked and the last valid entry of IT 0000 goes from 01.04.2012 until 31.12.9999.  But the last valid entry of IT 0302 goes from 01.04.2012 until 01.04.2012.  It is quite clear that the dates of IT 0302 are not valid from the perspective of "Today" option of the PFAL.  But if that entry does not travel, then IT 0000 won't get updated correctly in partner server. 

 

Does anyone knows something to solve both?  I really appreciate your help.

 

Regards,

Martin

Viewing all 1442 articles
Browse latest View live


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