Read idoc from archive in program
Hi All,
I want to read the idoc from the archive in the program.
Please suggest the possible options.
we can read the idoc present in the R/3 database using the FM idoc_read_completely.
But how to read the same from the archive. I can view the idoc from the t-code we10.
Thanks in Advance.
Ankit Gupta
Thanks buddy.
I will try this in my code. Look like it will solve my problem.
But now I have another question. Should I start new thread or can post in the same thread.
Archive infostructure SAP_IDOC_001 is not active in my system. what is the procedure to do it and also it should link to the existing Archive file also.
Regards,
Ankit
Similar Messages
-
Hi,
I know the program RSEXARCL which will reload the idoc from archive file.
If there is any SAP program to reload the particular outbound idoc from archive file by giving idoc number in the selection screen?
After reloading to database ,we need to send this idoc to external system .
Kindly help.
Thanks,
AnilHi,
Please check the below link:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/17c435df-0901-0010-72a7-b9dcd271213d?QuickLink=index&overridelayout=true&5003637692468
Regards,
Rajesh -
Is it possible to read Idocs from SAP R/3 System?
Is it possible to read Idocs from SAP R/3 System? Instead of the aRFC
Unless Hydra emulates ECC sending IDOCS, then you just might want to use the WSMessageListener (http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a86ac88130dece10000000a11466f/frameset.htm) and configure your message processing rules accordingly.
-
Does anyone have any recommandations on how to read data from archive logs. When i use log minor, i am getting only bind variables for DML operations. But i need actual data from the archive logs..
Any thoughts
Thanks
-PrasadLog miner is the closest to command issued as possible. Depending on the Oracle version you will be able to see DML or DML and DDL. From 9i and on Oracle was able to translate the DML against data dictionary as the actual DDL command. On its first 8i release only DML was visible.
~ Madrid -
How to generate an OUTBOUND INVOICE IDOC from the ABAP Program?
How to generate an OUTBOUND INVOICE IDOC from the ABAP Program? Any Function Module that can be used for this?
Hi
This is more of configuration
(1) Create a Output type with Medium 6 ( Check with your functional consultant)
(2) Maintain Partner Profiles using WE20 transaction
Idoc type - INVOIC02
Message type - INVOIC
Process Code - SD09
Regards
Madhan D -
Read IDOC content in abap program
Hi all
using IDOC number, i'd like to read informations containted in that IDOC.
In EDI_* Function moduls i have found EDI_DOCUMENT_OPEN_FOR_EDIT
The problem is that this FM is used to process IDOC to change its content. i supose that the IDOC is enqued when processed by this FM.
Do you know any other way to access IDOC data content in READ mode
Thank you in advance
RegardsHi,
You can use the following FM.
IDOC_READ_COMPLETELY (Read IDoc Data)
IDOC_TYPE_COMPLETE_READ (Read IDoc Structure and Segments)
or
read the idoc data from database table edid4 and edids (idoc status))and edidc (idoc control data).
Regards,
S.Velsankar -
NEED HELP:reading output from ms-dos program (with exec)
I'm trying to execute an ms-dos program using exec,
and reading it's output.
the program is running ,but, I can't see it's output.
I've tried many variations of this code:
Process p = Runtime.getRuntime().exec("file_name");
try { p.waitFor();}
catch(Exception e) {}
BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line;
while((line = input.readLine()) != null )
please help mewith this - thanks, froy
System.out.println(line);
System.out.println(p.exitValue());try { p.waitFor();}This doesn't return until the exec process has finished running. So there is no stream for it to get anything from.
-
Read doc from archive and upload to server
hi,
My requirement demands the reading of an archived document and uploading to a server.
Please suggest how this could be done.
thanks,
Arindam.solved.
-
How to find linked IDOCs from Archive Sales Orders
Hi Experts,
Just would like to know if there's a way to find IDOCs that is linked to an archive Sales Order. I'm archiving IDOCs base on its Sales Order Document, If the SO doc is already archive then its IDOCs should also be archive.
Best regards,
JPHi Mylen,
Yup... they're linked. Our sales order document are created from an IDOCs. During the archiving of those sales orders, it's related IDOCs are still left in the system and later archived according to their age and not the status. What I want to do is to hold IDocs for as long as the reference sales document (object) is still on the system and archive them if the reference doc has been archived. Thanks for replying.
Best regards,
JP -
Error while Reading Idocs from ECC 6.0 to Sun IDM .
Hi Gurus,
We have a scenerio where we have to update the Sun IDM Server with all the changes in HR Data happening in ECC.
For that... we have
1. Created a Logical System for Sun IDM server, Port, RFC Connection (TCP/IP).
2. Assigned Partner Profiles, Distribution Model etc. for msg. type HRMD_A ;
3. We have created a Communications User used by the IDM server to connect to ECC.
Idocs are created daily and are in status 03 - Data passed to Port OK !
and on the In Sun Identity manager 8.0 we have created SAP resource adapter for ECC 6.0,
after giving resource parameters our test connection is successful.
We also changed edit synchronisation policy for the same but when we start synchronisation in IDM, it is unable to read any idocs although Idocs are generated in SAP .
Log file gives the message as "Incoming IDoc list request containing 0 documents"
We also have one more error ;
some times while doing a connection test : JCO.Server could not find server function 'åäåä¹'
while most of the times the connection is successful.
Please suggest .Hi Gurus,
The error got resolved .
The changes in the settings i did :
SAP SIDE : Made the RFC Connection Unicode.
IDM SIDE : Checked on the "SAP Server Unicode" checkbox; while doing the HR Activ Synch Settings.
This Resolved the error.
regards
Vaibhav -
How to read fields from an ABAP Programa
Hello everyone.
The need of the client is to create an Interactive form and first ask for some data in order to query the rest of the information needed for the layout . All this is using only ECC Backend, we do not have portal yet.
So I'm not sure if this is posible. I´m imagine the first page Adobde form with the parameters and then take this values to query the tables needed information and then present a new adobde form with the layout definend by the client.
Is there any MF to read the values of each field in the Adobe interactive form?
Thanks in advance for your help.Hi Joaquin,
You have the option of using webservice with the adobe form. provided that the user have access to the webservice. you need to create a FM and convert it to webservice in R3.
But again, from my experience, it is not advisable to put to much logic in the form itself as it will slow it down. The form is better use to display data with a little bit of dynamic elements. -
Creation of Idocs from the change pointers by the program RBDMIDOC
Hello,
I'm Creating Idocs from the change pointers by the program RBDMIDOC.
The IDOCS Created using the message type HRMD_A are Correct but when i try to RUN RBDMIDOC for message type HRMD_B no Data is selected for distribution.
All the customizing are similar and i presume that all the change pointers are active (BD50 and IMG->Personnel Management -> Organizational Management -> Basic Settings -> Activate change documents).
Can anyone help me with the necessary steps to create this IDOC types.
Do anyone know if the RBDMIDOC report is the Same for messages HRMD_A and HRMD_B.
Thanks in Advance,
Pedro FerreiraIf the setting is fine, there may be some code in exit or badi for program RBMIDOC. Check the Exit and BADI.
check the exit EXIT_SAPLBD11_001 and
check the badi IDOC_CREATION_CHECK.
Probably there may be some code on these exits which are stoping your code from getting generated.These are the two trigger happen once u execute the RBMIDOC program.for HR, we use RHALEINI program to generate the idoc. but even RBDMIDOC works. These 2 triggere will come with RHALEINI also.
If there is no code here, Then there is problem in the setting only. -
How to post idoc ORDERS05 from ABAP standalone program to the same R3 syst?
Hi Masterminds,
I need to post IDoc from ECC to same R/3 system. For that i need to develop a standalone program which will post Idoc 'ORDERS05'.
I had the following data:
E1EDKA1 - PARTN
E1EDK02; QUALF = 001 - BELNR
E1EDP19; QUALF = 003 - IDTNR
E1EDP02; QUALF = 997 - BELNR
E1EDP01 MENGE - Space
E1EDP02; QUALF = 999 - BELNR
E1EDK01 BSART - Space
E1EDP19; QUALF = 002 - IDTNR
E1EDP01 ABGRU - Space
E1EDKA1 PARVW - Space
Please provide me details how to write the program and what necessary steps do i need to follow.
Thanks......Hi,
Do ALE settings and Fill two tables of type EDIDD and structure of type EDIDC
and pass it to function module
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
MASTER_IDOC_CONTROL = P_WA_EDIDC
OBJ_TYPE = ''
CHNUM = ''
TABLES
COMMUNICATION_IDOC_CONTROL = P_I_EDIDC
MASTER_IDOC_DATA = P_I_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5. -
RSEXARCD: Idoc archiving deletion program issues
Hi,
I have two queries:
1. The Idoc archive deletion program, RSEXARCD, when executed in background, terminates when there are no archive files to process (as seen in SARA). How can we prevent this? Our deletion jobs are scheduled weekly, but sometimes there are no archive files created from the archive write program RSEXARCA.
2. Secondly, how can we process multiple archive files using this program RSEXARCD in background? Currently, it processes only one archive file at a time and takes up the oldest unprocessed archive file. Also, would like to know how it gets this information of the oldest unprocessed archive file?
Thanks.if a program terminates, then you should look into the dump to see the root cause and follow the instructions. e.g. search for OSS notes with the metioned terms
I just searched with the terms "archiving idocs termination" and found 12 notes with program fixes.
Further, the program names you mentioned are not the most recent programs.
Have a look into OSS note Note 582828 - IDoc archiving: Standardization
maybe you will not have your problems anymore if you use the new programs -
FM or program SD invoice from Archive
Hi All,
I want to read the SD invoice from the archive in the program.
We have option to read EDI_IDOC_GET_FROM_ARCHIVE for reading from Archive. I need same type of FM for reading SD invoices.
Please suggest the possible options.
Thanks in Advance.
Ankit GuptaHi,
1. Go to Transaction SARA.
2. Enter your arch. object SD_VBRK ( Objects like FI_DOCUMNT, RV_LIKP, SD_VBAK, SD_VFKK, SD_VTTK, EC_PCA_ITM, MM_MATBEL can be done in this way )
3. Click management button (Ver 5.0). In 4.6c you may see buttons like 'management' or 'Read'.
4. Now READ archive button is visible.
Click it.
5. It will show the program name of read archive.
6. Click execute button.
Selection screen will ask you the required sales documents to read.
Please award points if helpful
I think this will help you.
Sivaparvathi
Maybe you are looking for
-
Lightroom 4 importing cases program to crash
There are no warnings other than a dislog box in windows 7 to pop up and say there is a problem we will let you know when a solution becomes available. Then Lightroom closes. No error code or other identifers. Unistalling and reinstalling lightroom 4
-
After purchasing my beloved iPhone 4, I would like to pass my old 3G phone to my wife, who uses voice only, no data. AT&T says the iPhone 3G will not work properly without a data plan and cannot be used for voice only service. Is AT&T correct? Is the
-
Select Statement -- Where Clause Execution Order
What is the order of execution of the "AND" and "OR" in the WHERE clause of a Select statement? Are the "AND"'s executed from the top down, left to right? Is it the same for the "OR"'s execution? Thanks for any help...
-
Time Machine automatic backups don't work since 10.6.4
TM stopped doing automatic backups on my MacBook Pro, apparently when updated to 10.6.4 on 2010-06-16. Backup only runs when I initiate it manually, or when the machine reconnects to the home network, after time away or upon reboot. Each time I enter
-
hi , i have customized few ESS screens , persdata,familydet,bank,...... Now, i hav one requirement to create the same for SHIFT 0007 details . Evn it's an MSS feature ,anyhow they r going to update individually.So i hav plans to include that in ESS i