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

Debug of Idoc error handling

$
0
0

Hi guys, I am debugging an issue related to an inbound interface posting MBGMCR iDocs to ECC. The situation is that the iDocs that get posted correctly by the external application work well. However some of the inbound MBGMCR iDocs do not work. The idea is that the incorrect MBGMCR iDoc should get posted to the Workflow inbox of the administrator. This does not seem to work but the configuration looks correct for me:

 

1. The partner profile is setup correctly i.e. certain post processing agents are setup for the message type for the particular logical system. These agents work well for other iDoc errors so this setup is probably not at fault.

2. I am able to reproduce the error i WE19 and I can see that the correct function module IDOC_INPUT_MBGMCR is triggered and does indeed produce an error.

 

However, I cannot seem to find where in the process an error should be triggerede and sent to the adminstrators inbox. Any ideas?`

 

Best regards,

Anders


outbound Idoc Attachments

$
0
0

I'am working on ERP and ARIBA integration using PI. I have a requirement where im replicating Sales order from ERP to ARIBA. i want to send the attachments also with this PO to ARIBA. What are the required steps in ERP to allow attachments in outbound idoc ORDERS05.

 

Thanks,

Ruthwik

Sending multiple idoc's for 1 outbound message

$
0
0

Hello,

 

We are currently in a migration project with our BizTalk system that generates our EDI messages based on IDOC's from SAP.

 

It would be nice if we could create 2 idocs on for instance 1 invoice.

So an invoice is made, 2 IDOC's should be created, IDOC 1 being send to old Biztalk, IDOC 2 send to the new Biztalk. Is this in anyway possible?

 

We want to perform this action for every type of idoc, not only for Invoices, also WMTOORD, DESADV,.... and so on.

 

thanks for any feedback

 

regards,

 

Dimitri

RFC enabled Function Module to retrieve configuration parameters

$
0
0

Hi All,

I am currently writting a simple python scirpt that should retrieve values of all configuration parameters on all SAP systems in our environemnt and do some checks on them. However, I am struggling to find a suitable FM that will allow me to retrieve configuration parameters through the RFC connection.

 

Is there such module? Does anybody know its name or link to its description?

 

Thanks a lot

IDocs are going to 75 since they are using the same queue of 51 status ones

$
0
0

Hi Experts,

 

The inbound IDocs are received via qRFC[in a queue] to SAP ECC from SAP PI. Earlier a week back IDocs are failed with 51 status due to issues on functional team[SAP SD] side but once all of the issues have been resolved by functional team today most of the IDocs are getting processed but some of them are going to 75 status since they are using the same queues which are earlier used 51 status IDocs and hindering the processing of these IDocs to proceed further. Please find the below snippet of WEINBQUEUE showing the IDocs in 51 status[earlier] & 75 status[latest].

 

weinbqueue.JPG

 

I have gone through note 817939 - IDoc: IDocs remain in status 75 and it states "reports RSEINBQUEUE_PARTNER and RSEINBQUEUE also trigger inbound processing for IDocs that have the status 75 and can be scheduled as jobs (transaction SM37) ". But after trying to execute the reports manually the waring says 1 of 2 IDocs are processed in case of above but when I check the status in we02 still the status is unchanged. Please guide me to solve this.

 

 

Thanks,

Naveen.

SAP integration with SFDC directly from ABAP

$
0
0

Dear Friends,

 

My client does not have PI/XI.

They want to send the data using BAPI directly to SFDC. I have developed ABAP program and Custom BAPI which can send the data at HTTP server and can retrieve the data from HTTP server in TXT/XML/XLS format. SFDC is taking and updating the data from same.

Can we send the records directly SFDC using ABAP?

 

You help will be appreciable.

 

Thanks

Ramesh P.

Access File From Shared Network / Folder.

$
0
0

Hi,

 

My Requirement Is to Access the Shared Folder(For Eg: \\192,168.0.1\test) to Read and open files from that shared folder  .

1 . Need FM to Get List files which are avaliable in the shared folder .

2.  FM which can read and open files from shared folder.

 

Kindly let me know if any one knows any FM or any weblink which can be helpful.

 

Regards ,

 

Saumil.

HRMD_A09 idocs status

$
0
0

Hello all,

 

I am processing multiple pernr's via HRMD_A inbound idocs using basic type HRMD_A09 and HRMD process code.

 

I observe that FM IDOC_INPUT_HRMD is just processing valid pernr's( those having correct entry in all infotypes ) and not showing any logs for unsuccessful ones.

 

Idoc status always comes  as 53 irrespective of successful or unsuccessful update/insert.

 

Even if there is single invalid pernr entry , idoc status will come as 53 but pernr would not get created.

 

Any idea how to get the unsuccessful pernr's logs?

 

 

thanks in advance

 

regards,

Lokesh


Create/change sales deal using IDOC

$
0
0

I am trying to create/change sales deals using an IDOC. So far I believe that I should be using IDOC type COND_A01, but no luck getting it to work. Can someone please post which of the segments and fields I need to use to post a sales deal? please show a complete IDOC example.

 

Thanks!

Fill PO application log from server proxy

$
0
0

Hi

 

I have generated a Server Proxy (Asynchros) who receives data from PO. I would like to add some information to the Message log which can be read from the PO side (like "Data received and stored on xxx place")

 

I have tried  cl_proxy_fault=>fill_log

 

But no succes. Anybody knows how to?

How to create OutboundDelivery and set shipping condition (VSBED)

$
0
0

I am trying to use BAPI_OUTB_DELIVERY_CREATE_SLS to create an Outbound Delivery from a Sales Order Trading Contract.  The BAPI creates the Delivery from the SO easily enough, but how to do I control the shipping condition value that is created in LIKP (LIKP-VSBED)?  I need the delivery to be created with a specific VSBED.

 

Thank you for any help that you can provide.

If the tr gives return code 8, will all objects except missing objects be imported in PRD?

$
0
0

I imported a tr in ECP/Prd. and it resulted in return code 8 in ECD/Dev.

I checked the logs and found error while generation of program screens.

Two objects were missing and I corrected/included just those 2 objects in a separate tr and imported in ECP.

 

Is it correct? Will my previous objects be present in ECP?

Will all the objects in a TR excepts error objects be transported to ECP if return code is 8 (or) no objects gets imported if return code is 8?

 

 

Please explain.

 

Thanks & Regards,

Sudha.

How to increase the duration of trace in SRT_UTIL

$
0
0

Hi all ,

How to increase the duration of the payload trace in SRT_UTIL .

TRACE.PNG

 

Thanks ,

Sakthikrishnan S .

ABAP Push Channel under huge load. Any best practices?

$
0
0

Hello,

I have a question regarding ABAP Push Channel, particularly about mixed scenario APC/AMC: http://scn.sap.com/community/abap/connectivity/blog/2014/04/14/abap-channels-part-3-collaboration-scenario-using-abap-messaging-and-abap-push-channels 

 

What if I am going to attach the functionality to some system event, which suddenly, starts happening very often?

 

For instance, I would like to inform technicians about the errors (e.g. IDOC postings), but then, incidentally, all IDOCs start to fail, thus thousand (or much more) messages must be send. BTW, IDOCs are normally posted in parallel, so this must be also considered.

 

So my questions are:

How to ensure that APC/AMC are working under huge load?

Any best practices or references?

What is huge load in this case?

 

The question is mainly to gurus – Olga and Masoud, but any hint would be appreciated.

Posting this as a separate question, as the topic is quite important to my mind.

 

Thanks, Dima

Modifications after Unicode conversion (ASP)

$
0
0

Hello experts,

Our system recently got converted to Unicode.

 

There are some traditional asp applications which communicate with the SAP R/3 system.

After the conversion, there are some errors while connecting.

 

I searched through and I have a clue that we need to include librfc32u.dll file with librfc32.dll file.

 

Can someone guide me step by step as to where do we need to include the files? And is there any other registry updates that I need to perform.

 

Any help in this regard would be appreciated,

 

Regards

Shubhendu


Read a file from UNC path through ABAP program and write it to Application server

$
0
0

Hi Friends,

 

I have a requirement to read a file from a windows network drive (UNC file path) and to move it to Application server (Unix) through ABAP programming. I cannot open this file using OPEN DATASET. Kindly let me know about the configurations and the programming taht would go in to achieve this.

 

Thanks.,

Aastha

SAP ABAP - $TMP CleanUp

$
0
0

Hi Experts,

 

I would like to ask what are the tables that I need to check to collect all the objects that are in $TMP.

currently I just selected all $tmp in table TADIR, but I'm not sure if that is all.

and what tables that I need to delete entry if I do $TMP Cleanup.

 

Thank you.

Darwin

Idoc PORDCR1,Payment term field change for segment E1BPMEPOHEADER

$
0
0

Hi All,

 

I am stuck in this situation and need guidance.

 

I have an inbound idoc PORDCR1 which is taking value of payment term from legacy.Since the value was invalid I had to replace the value from table on the basis of vendor mentioned.

 

Now by making change in z include of custom exit I am getting the value changed. But value in segment data remains same.

 

Please suggest a way to change value in segment data FOR SEGMENT E1BPMEPOHEADER.

 

Thanks in advance.

Customer Creation through RFC

$
0
0

Hi Expertise ,

 

I am new about RFC and client requirment is create the customer through RFC  so please any body can give me the example of customer creation through RFC in ABAP or tell me is it possible customer creation through RFC.

ALE / HR->CRM / HRMD_ABA UPDATE mode bad person (CP) name

$
0
0

Hi to all,

 

we were using the update mode in PFAL transaction to synchronize the data between HR->CRM systems (ALE interface).

 

In this scenario, the customer found out that when PFAL was run to synchronize all the data on some irregular runs, the name of a person changes (to not current name, but the name before marriage e.g.).

 

We debugged the situation and found out, that the logic in update mode is like this:

 

- the IDOC contains both records (new and old) as the "ALL" period is selected in PFAL (furthermore O_S_P evaluation path - but this probably is not important),

- system finds the current record (stored in dbs),

- system translates the (P = person) objects into CPs - but ignores the BEGDA / ENDDA (and sets a default 1.1.1900-31.12.9999 as the validity of the to-be-created CP),

- so system has two CPs to be created with the same key (1.1.1900-31.12.9999, OBJID = PERNR from HR) but with different names,

- the to-be-created CPs are ordered correctly (1st is the old one),

- now logic inside LRHA0F05 / FORM check_insert_pnnnn loops the to-be created CPs (also the other object types - not important here) and for every record, it checks, whether that one record is not the one, that is already stored in the records to-be-deleted,

- so it finds the current state (which was ok) is to be deleted and it skips processing of the (right one) record which would create the correct CP name.

 

It is a bit complicated to understand it like this, I believe . So the question now:

 

In docu for PFAL, it is said that (for INSERT MODE):

 

For a complete data transfer you must use insert mode. For consistency reasons we recommend that you use the reporting period 'All'.

 

However, for UPDATE mode:

 

In particular, this logic ensures that deleted data records, too, are correctly processed. In this mode, IDocs created by change pointer evaluation are dispatched.

 

Can anybody tell, what should be the correct synchronization steps? We want the deleted objects also to be synchronized (of course), but also we want a complete data transfer. One complete run of PFAL lasts more than 8 hours. We wouldn't run this as multiple steps (update and insert afterwards) - that would not make sense.

 

I did not find notes, directly related to this situation, too. However, there are plenty of them for the ALE HR->XXX synchronization. I'd say that ignoring the date interval validity of the P object (infotype 2) is also not a good solution (should it act like this? - Should not there be separate intervals in HRP1000 for every change in PA0002?

 

Any inputs are greately appreciated.

Viewing all 1115 articles
Browse latest View live


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