BD87 TID, resending the IDOC with status03
Hello all,
I am sending IDOC to Business connector, then BC(business connector) will send that IDOC to FTP server. But some IDOCs are in error state that i found in BD87 transaction under "entries in TRFC queue" saying that: FTP connection could not be established"
I want to know that: "Once IDOC is sent from SAP to BC, IDOC status is 03, but it is in error , as i mentioned above, so will SAP will resend the same IDOC again, or I have to send the same IDOC by WE19 tosimulate the scenario again."
ALso it will be helpful if someone can give me information regarding IDOC monitoring and TID?
Thanks,
Divyesh
Hi,
SAP dont resend the IDocs. You have to re-send them. You can do that using WE19. But best way is to use BD87. Difference is WE19 will create a new IDoc and sends it. BD87 dont creates new IDoc. it just re-sends the IDocs. In general we will use BD87 when the IDoc from SAP is in error state. But in this case too you can go for that.
But before that you try to resolve that FTP Connection issue. Through SM59 TRFc try to establish connection and check whether it is connecting properly or not. You can take BASIS people help in case you are unable to resolve the problem. Send Idocs only when you are able to CONNECT to BC succesfully through SM59.
Similar Messages
-
Splitter program for processing the IDOCS with status 64.
Hello folks,
I have a requirement explained below. I am looking for a sample code which could help me to jump start with initial development.
Requirement:
Develop a splitter program which retrieves all the IDCOS with status 64, create and schedule batch jobs with 200 IDOCS each. The splitter program with be scheduled every 15 min.
Restrictions
Only 150 batch jobs can be created at a time.
Estimation
There may be around 36000 IDOCS with status 64 every hour.Srinivas,
Here is the explaination why we require a splitter program.
Using RBDAPP01 parellel processing
Let us assume there are 4 servers A, B, C and D in a server group. If we select RBDAPP01 parellel processing there will be too many RFC calls to the servergroup.
(there are some more RFC calls later on for Order creation for example). As there is a restriction with number of RFC calls, we need to clear other RFC's before making new one. This is making complex and messy.
Using RDBAPP01 serial processing
For the volume of orders getting created each day, it takes a week to process those Idoca created in one day. Hence it is not a good solution.
Splitter program
We spawn 150 batch jobs with 200 records each. This way if we think it takes 20 min for each job to complete...by the end of 20th min we must had processed 30000 idocs.
Hence it is the solution offered.
Srinivas...still this confuses me..but if I am wrong anywhere please correct me.
But your initial response has helped me a lot. Everything was blank to me, ur reply made it clear over the requirement.
Thanks a lot,
Naren -
How to Test, Inbound idoc ,with out the Sender System, using a Text File
Hi Guru's .
we wanted to test BLAORD03 inbound idoc (Message Type BLAORD).with out the SENDER SYSTEM.
on the same client.
we wanted to test this idoc with text file from our local machine.
Can anyone give us detail steps.like how to create File layout
with Segment name,and values for the fields.how to pass this file to the system.
Thanks in advance.Hi Aparna.
My requirement is to test the idoc with Inbound File.
Generate a file with the data entered through segments through we19 ,and use the same file for processing through we16.
when i am trying to do this syst complaing about
Partner Profile not available, and some times
port not available. and some times with
'No further processing defined'.
but i maintained part profiles and port perfectly.
Can you help me in testing with test 'File' port. -
How to get the IDOC name attached with message type (IDoc at receiver end)
Hello Friends,
I have configured the Order Confirmation Idoc.And the port used is XML_HTTP. in this port generally the idocs are sent to a java servlet.
So there the idocs are being created with name :- Idoc_no.XML
but i need to get the IDoc name prefixed or attached with the message type name, that the particular idoc uses.
waiting for your replies .
thanks,
jeevanHi Jeevan,
I am sorry for the confusion, the solution i provided is used when we go for XML FILe port. But when we go for XML HTTP port, this option is not available in SAP. So we need to check with the target system, whether there is any option available to read the file contents before saving , so that we can save the idoc with the required file name .
With my knowledge i assume why this option is not there for XML HTTP port is when we use XML HTTP port the idoc will be converted into XML and will be transported over HTTP protocol to an remote system which may be any type like XI, Java Servlet, Business connector, .Net etc. So in that case all the systems may not support the file name what we propose from the SAP. This is my assumption.
Please go through the help provided by SAP for XML Port types
http://help.sap.com/saphelp_nw04/helpdata/en/21/e9c975eb1911d6b2ea00508b6b8a93/frameset.htm
Please check with the Java guys who are working at the target end, whehter they may help you to resolve.
Thanks & Regards
Vijayanand Poreddy -
REPROCESSING AN IDOC WITH SAME NUMBER
hi ppl,
i hv sent an idoc to the inbound system with a generated idoc number.
and now i had added some fields fo the same idoc and have to resend it to the same inbound system
with the same IDOC NUMBER.
how can we RESEND AN IDOC with SAME IDOC NUMBER.
thanx very much...
regards,
RAVI.>
ChakravarthiPonnam wrote:
> with the same IDOC NUMBER.
> how can we RESEND AN IDOC with SAME IDOC NUMBER.
Was that IDOC ended with status 53? If so then I donu2019t think if you could able to edit the segments and reprocess straight forward.
If that IDOC has been ended with Error then just edit this IDOC(WE02>Double click on segment then from menu "Data record>change") now the status has been change to 69. then just reprocess with BD87.
NOW, if your IDOC has ended with 53 and you want to edit this then a minute work-around we have to do. Like first change the IDOC status from 53 to 69 then do the same like for error one,
Cheers
Amit. -
Mark as deteled idoc with status 40
Hello,
I have to mark as deleted an idoc with status 40. If idoc has other status (for example 51), I can do it from transaction BD87. But is not possible with status 40.
For your information, we're using realease 4.6 .
Thanks,
SenéHi,
Yes, we can't reprocess the IDOC with status 40. I have to mark as deleted this idoc. And with other idocs we are using BD87 to mark as deleted.
How can i mark as deleted this idoc?
Thanks,
Sené -
Hi ,
I want to reprocess successful IDOCs with status 3 again,how can I do that?
I think logically we can change the status other than 3 and use BD 87 to reprocess them?is this correct way?Idoc numbers would change or they would create new IDOCs?
thank you,
BabuHi,
You can use transaction BD87 to monitor the IDoc statuses.
and use the following programs to reprocess outbound and inbound error IDoc(s).
RBDAGAI2 - Re-processing of IDocs after ALE Input Error
RBDAGAIE - Reprocessing of Edited IDocs
RBDAGAIN - Process Outbound IDocs with Errors Again
RBDAGAIP - New Posting of Partially Posted IDocs
RBDMANI2 - Manual Processing of IDocs: Post IDocs Not Yet Posted
RBDINPUT
<b>Reward points</b>
Regards -
Error while posting the Idoc 'Update error, transaction VA01'
Hi Gurus,
When an inbound Idoc for sales order is trying to post we are getting the error 'Update error, transaction VA01'.
Aslo following are the details of the error:
Update error, transaction VA01
Message no. 00377
Diagnosis
An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
during a synchronous update.
The error was caused by the transaction VA01.
Update information
Return code: 009
Text : Error during insert table FPLTC (RC= 1, Key= )
Procedure
Pleas analyse your Batch-Input data.
You can also examine your posting data using the transaction SM13.
Can somebody let me know what would be the cause.
Also the we are trying to post the Idoc with a Id which is having maximum Authorization.Hi,
Where you able to resolve your issue, I would appreciate if you can share the solution.
Thanks -
JDBC - IDoc with acknowledgment
Hello,
I have the following requirement:
Reading data via JDBC from a database (select query), creating an IDoc and send to SAP.
If the IDoc was sent successfully there should be an acknowledgement written back to the database (there is a special coloumn for acknowledgements in the database,key is record ID).
My question:
- Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
- My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??). In case of positive acknowledgement I would update the database in the next step (How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
Thank you very much for your advice on this!Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
i think the key of question is either transport ack or application ack?
if you just need transport ack,actually,you do not have to use bpm!
>My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??).
apparently,you need it which is application ack,otherwise,whereis your purpose?
>How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
For the inbound IDoc adapter to be able to send an acknowledgment IDoc to the sender, a communication channel with the interface ALEAUD.ALEAUD01 must be maintained for the sender,that is your intergration process. -
Resending the Succesful messages in XI
Hi,
We have a scenario where we have to resend a few successful messgaes
again from XI, I tried resending it from both SXMB_MONI and Runtime
Work Bench but is resulted with the error.When I tried to resend one
from the RWB I get the error as 'Unable to schedule 1 of 1 messages for
processing; update the status'.
I would appreciate if anybody could mentor me in resending the messages
with Success flag.
Thanks,
SureshHi,
Unfortunately, you cannot resend a successful message within the monitoring tool.
The QualityOfService of XI does not allow it.
This is to prevent such things as: post a payment twice when only 1 is authorized, issue the same purchase order twice when only 1 is requested, give oneself a pay increase or payroll check multiple times
You will have to resend the message from the originating system.
Regards,
Bill -
How to isolate error with a record/segment in IDOC with multiple records
I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
1. How can I pre-processed the IDOC to remove those control characters?
Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
Thanks in advance.Split the IDoc.
with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
U have to do this in the context of IDoc.
If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment SEG001 field FLD03 has a special character *</b>.
If U wanna pass this string to source/target, U can do in error messages branch in BPM.
U must use BPM for splitting the IDoc, since it is multi-mapping.
reg.,
Yallabandi. -
IDOC Segment is missing in the IDOC even though I have populated values
Hi Experts,
I face a problem in the IDOC processing.
I have a custom IDoc type with 2 segments in the same Hierarchy.
In the Z program I populate both the segments and send the internal table to the MASTER_IDOC_DISTRIBUTE Fun.Module.
When the IDOC is generated, I see the IDOC with only one segment and the 2nd segment is missing.
When I debugged the program, I see the 2nd Segment also getting populated.
Can you give some info that can resolve my issues.
Thanks,
MichealCheck the below points,
1. Check the internal table IDOC_DATA in MASTER_IDOC_DISTRIBUTE in debug mode whether the segement with values are populated.
2. Are you populating the parent & hierarchy level in segment, if yes check whether the values are right one.
3. There may be a possiblity the std SAP code would delete the custom segment if its any syntax error in segment defenition.
Check this and if you still have the issue come back. -
Posting Idocs with different users
Hi folks,
I have a simple scenario, File -> PI (7.0) -> ECC (Idoc)
I would like to know if there is a way to post the Idocs with different users, for example, in the source file a field contains the user that has to post the Idoc, so I'd like to map that user as the one that posted the Idoc.
Is it possible?
Thanks in advance!
JuanThanx Ivan, but you mean Outbound Idocs, or Inbound Idocs?
Prateek, the issue here is that this is a part of a whole process where are involved many handhelds.
With this handhelds, first there is an authentication of the users (via RFC) to see if that user has permission or not, and after that, if successful, when PI posts the data fetched from the handheld, they want to know the user that posted that info in ECC (IDOCS); supposing that it was the same user that did the validation before.
regards,
Juan -
Adding some code before sending the IDOCs
Hi all,
I have one query. When I am doing some transaction system is generating the IDOC with status 03. Now My requirement is to send this IDOCs to the destination system after checking some conditions. So I want to insert to some code in the ALE configuration, so that it can filter the IDOCs based on my bussiness requirement. This is not simply checking one field, i have to write some logic after that only system should send the IDOC, Can you please tell me how to include the code?
Thanks & Regards,
RaghuHi,
There are two ways you can do it:
1. Using Filters(Tcode BD64) & Convertion rules(Tcode BD55, BD62 & BD79).
<b>Filter:</b>
http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
<b>Conversion Rule:</b>
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
2. Check for the user-exit or BADI to add your business requirement.
To get the exact solution please add the business scenario.
<b>Note:</b> Reward each useful reply.
Raja T
Message was edited by:
Raja T -
hi all,
i have a really wierd problem...
i am creating a idoc using BDBG... i am trying to create the IDOC with a header and detail heirarchy...
i searched a bit and found BDBP for the heirarchy configuration.
the IDOC type should seem like this:
header
|
> detail
but it seem that BDBP has not effect and the IDOC type seem like this:
header
detail
i am trying to create the heirarchy so that the mapping in XI should be easier.
could you help me please?
what am i missing?
btw,
the method function interface look like this:
TABLES
IT_HEADER
IT_DETAIL
ET_RETURN
regards,
Roi Grosfeld
Edited by: Roi Grossfeld on Nov 4, 2008 10:00 AMhi Gaurav,
this won't work as the structure of the idoc in the SAP system is different from what you suggest.
so the SAP system won't recognize the heirarchy which i define the XSD.
i want to change the heirarchy in the SAP System and when i import it to the PI i will have it and i won't need to do any changes to the XSD.
Regards,
Roi Grosfeld
Maybe you are looking for
-
DOUBLE Quantity from CUBE to APO
Hello All, I am trying to load the data from the cube to APO - DP interactive planning via transaction /SAPAPO/TSCUBE. I loaded once and then reloaded second time. The quantity for the cube for a product is 70. When I loaded first time and saw in the
-
Can I connect n iPod Touch to powered speakers?
I have an old pair of computer powered speakers. Can I connect an iPod Touch or Shuffle directly to the powered speakers? I would like to use the speakers in a garage with the iPod.
-
Error # 3021 - Invalid Relation. --- MS Access to Oracle APEX
Hello everybody. I have 3 years working with Oracle APEX and now I have the need to migrate an Access database to Oracle and APEX. I have: - MS Access 2003 database - Oracle SQL Developer 3.0.04.34 - Oracle 10g Database I will try to provide all the
-
APEX_CUSTOM_AUTH deprecated - what are my alternatives?
Hi, We are in the process of moving to 4.2.3 on our production instance which is tightly integrated with our eBusiness Suite. We do not use Oracle SSO. The logout URL is currently set using the following code: l_return := 'apex_custom_auth.logout_the
-
Titles on linked Pr sequence not appearing on Encore DVD?
I have a sequence linked from Pr pro CS5 to Encore CS5. I have added titles to video track two in the Pr sequence. They link up just fine in En. When I preview disc in En, the titles come in and fade out just as planned. All looks great. However, whe