Reprocess Idocs in BD87 based on Message Function
Hi Experts,
User wants to execute tcode BD87 based on Message Function.will it possible to achieve this functionality using Business objects.
Thanks & Regards,
Veera,.
Hi,
you are right, it is not possible to schedule a job using BD87, instead you could schedule a job for RBDMANI2 with the variant containing all the message types or you could also categorize your message types based on the priority and schedule a job for the same.
In a similar case, i have seen jobs being scheduled only based on the message types because some of the Partners would be external systems in which case it is better to provide the patner name in the variant.
Thanks
Krithika
Similar Messages
-
Not able to reprocess IDOCs in BD87
Hi Team,
I have two uses with IDOC processing role assigned, but one user is able to do this sucessfully and other can't .. I did trace both users and exactly same objects are being cheked and it RC =0 for t-code BD87.
Please advice
Regards,
SushmaThen it is not an authorization problem...
What is the error status and message?
If you agree, I will move this to the IDOC forum?
Cheers,
Julius -
Cannot reprocess Idoc from BD87
Hi,
I have created an Idoc using a zprogram which is used fro contract creation. The created idoc is displayed outside on a basic report .This idoc is generated due to some error in the contract creation process.
No i dont come out of this program which still shows the created idoc
If i dont come out of the program which generated the error, & if i try to reprocess the Idoc... I cant!!!.
Only if i come out of this program, i can reprocess it.
I want to the reason ? wht does SAP do & how does it check if the Idoc is used by some other program.
Thanks
SMSHave you register the Queue after upgrade?
Here is the procedure to register the queue
You need to register the Queues
Transaction: SXMB_ADM -> Manage Queues -> Register the Queues.
or you can run below program.
RSXMB_REGISTER_QUEUES -
IDOC : Message Function 003: Delete Object contains message to be deleted.
Hi,
I am trying to process a Customer master Icreation DOC (OILDEB06) which has a Message function 003: with the description Delete Object contains message to be deleted.
I am testing my IDOC, when should I be using this message function.
If you can detail with the example,
it does not mark the customer for deletion for sure. when it is recommended to use this message function.
Thanks
Regardsyes your object was locked in the another session ... please close all the remaining sessions ...
and for cross check in SM12 tcode ....see the lock list ...delete all the list ...
now you can delete the object from the list ..
it happens some times for all ... when you work with multiple sessions.
reward points if is is usefull .
Girish -
Inbound IDOC Mass processing - No status message
Hi Friends,
I am updating a database table using inbound IDOC. But in batch job when XI passes multiple IDOCS,
for some IDOCs there is no status message even though i coded for status message.
If i rerun IDOC in BD87 then it work fine.
please help.
regards,
madanHi Madan,
Since you are loading multiple idoc to the system due to high load in the production system data is not commiting properly. So use external commit work statement in you code. this will reduce the performance but logic will work.
COMMIT WORK [AND WAIT].
Effect
The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the current SAP LUW in the process. In this case, COMMIT WORK performs the following actions:
It executes all subroutines registered using PERFORM ON COMMIT.
The sequence is based on the order of registration or according to the priority specified using the LEVEL addition. Execution of the following statements is not permitted in a subroutine of this type:
PERFORM ... ON COMMIT|ROLLBACK
COMMIT WORK
ROLLBACK WORK
The statement CALL FUNCTION ... IN UPDATE TASK can be executed.
Triggering an internal event for the Persistence Service of the Object Services.
If event handlers are registered by the Persistence Service, these collect the changes to the objects managed by the Persistence Service and transfer them via CALL FUNCTION ... IN UPDATE TASK to a specific update function module that is registered as the last update module.
This executes all high-priority (VB1) update function modules in the order of their registration and in a common database LUW. If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating), but instead is resumed immediately after COMMIT WORK. However, if the addition AND WAIT is specified, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
When all high-priority update function modules are completed successfully, the statement executes the low-priority (VB2) update function modules in the order of registration together in a common database LUW.
After the execution of high-priority update function modules, the individual function modules registered using CALL FUNCTION ...IN BACKGROUND TASK|UNIT are executed in a separate database LUW for each destination.
Within an update function module started using COMMIT WORK, the execution of statements that lead to a database commit is not permitted. In particular, the following are forbidden:
Thanks,
Raghav -
I am facing a problem while reprocessing an inbound IDOC of type DESADV
I have few I which have gone into error.
The error code is 51 and the description is The document is still under process.
The document was in edit mode when the IDOC came in and fair enough for the error.
But now, I have closed the document and tried to reprocess the IDOC in BD87, when I select the node: DESADV and click the process button, I am getting the error message :
"The operation cannot be carried out with this node type"
If I use WE19 there is absolutely no problem but I dont want to use that as it creates a new IDOC.
I have done this many times and works well when you do this way. But am not sure why is it going into error now.
Any idea guys?
regards,
sachinThe status is indeed 51. Have checked.
But what I realised is in ECC5 is the status "51" is shown in the Yellow Indicator(color legends).
Its error....should be in red... with the text " Error processing document. Document cannot be processed its being updated" etc...."
And thats the reason I wanted to reprocess it after coming out of the edit mode for the document.
When I select it for processing, it gives the error - This node cannot be selected.
But the similar error idoc if seen in 4.6C, the status 51 has the indicator red.
When I select it for processing, its processed successfully.
sachin -
Hi,
I am getting a pop up while i am reprocesiing inbound idoc in BD87 .
Its little bit typical pop up i am getting and unabale to go further .
Like thid and indicating program sapmsdyp and watch point is coming in staus bar ...
module d0011_mod_inp.
case fcode.
when 'NO '.
leave screen.
when 'YES '.
Userexit beim Abmelden:
Hilfeapplikation schliessen
call function 'HLP_RTF_DISPLAY_CLOSE'.
Tue hier nichts. Im naechsten Modul wird die Abmeldung abgewickelt
endcase.
endmodule.
Please help me what is the probleam?????That's the same Pop-up for messages and confirmation prompts when we logging off. What is happening when you provide 'Yes' om popup?
Reddy -
What is Message Function?
Hi,
Is there any concept like Message Function related to IDOC's, ALE scenarios..
Please do not get confused with Message type
thanks
DanHi Dan,
The message function and message code acts as a key combination to distinguish the IDOCs.
In WE20 (partner profile), you can same msg type several times by changing the msgcode and msgfunction.
Below is the tabular form:
Partn. fun msg type msg code msg function
LS ORDERS ZMD ZMF
LS ORDERS ZMD ZML
LS ORDERS ZMD ZMK
LS ORDERS ZMD ZMR
LS ORDERS ZMD ZMM
LS ORDERS ZMD ZMO
LS ORDERS ZMD ZMP
So, you can maitain several partner profiles just by chaning msg. function.
Also this is very useful in case of Inbound IDOC, where you can have several vendores of the same msg.type, then you can easily distinguish by this method.
While reading the EDIDD of IDOC, you have to write if condition as below :
If idoc_control-msgcod = 'ZMD' and idoc_control-msgfct = 'ZMK'. Then -
statement----
endif.
I hopw this will clear your ideas
Please reward if useful.
Regards,
Ramesh -
Hi all,
The developement for BOM interface is done.
it is working fine.But my client extented requirement like this
after processing IDOC , if there is any status 51 idocs available.
he will do reprocess from BD87. that time some part of code in FM needs to be triggered.
I am not able make Difference b/w first IDOC number and Reprocess IDoc number.
means for keeping conditon , i need one unique differenet between new IDOC and Reprocess IDOC.
Is there any point to know that properties.
thanks in Advance,
regards,
JBRHi,
Reprocessing a idoc would not create a new IDoc, only the status of the IDoc would be changed if the error with which it was already occuring has been modified.
Thanks
Krithika -
Reprocessing IDOC with status 52
Hi,
I got status 52 for one of the IDOCs, I want to reprocess it . When I use BD87 & BD73, those are not working.
Please tell me any other way to process it.
Thanks & Regards
VijayHi..Vijay,
There are already many threads with the same question.
pls search for your query before posting.
Eg:
Re: Idoc status 52 -> How to make it green i.e. 53
Reprocessing IDOCS with status 52
regards,
Padma -
Hi,
To Reprocess Idocs in Outbound and Inbound, Should I use Tran: BD87 ?
What is use of this Report: RBDMANI2 ?
Thanks,
SriniHi,
Yes you have to use BD87 in order to reprocess the idocs.
Report rbdmani2 is used for manually processing the idocs.
But normally we use BD87 to reprocess the idocs as you have an option to select and reprocess the idocs from a list of idocs displayed. In the report you have to select the idocs yourself and reprocess it.
KR Jaideep, -
Message Variant and Message Function
Hello All,
Can anyone please let me know, whats the exact purpose and difference of using message variant and message function in partner profile ?.
how it is going to provide the uniqueness to partner profile.?
Thanks,
ShivshankarHi Shiv,
The below discussion will be helpful
Partner Profile
Message Code in IDOC
regards,
Harish -
The message function on my Ipad just quit working. I was using it while in Mexico and it just quit. I have come home and synced my Ipad with Itunes and function still does not work. How do I get this function to work again?
When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive. It would be a few months old so it wouldn't have the complete library on it....any ideas? I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.
-
How can I use MESSAGE function in forms 6i
Hello
I have an err_msg table that store collections of application message on utf8 database in one language not in english
I have selected data from the err_msg table and put on variable .I want to display the message on the variable using MESSAGE function(MESSAGE(variable)).Unfortunately what i have seen on message dialog box is replaced characters like rectangles .
What should I do please?Hi,
We have the same problem in our project . In this case we are upgrading from an older version of forms (3.0) to 6i. The UE worked fine in the older version, but now we get a NON ORACLE ERROR. Our DLL is written in MS-VC++ project.
We'd like to know whether , besides the common version and platform, you have also written the DLL using MS-VC++ ; otherwise please tell us .
Regards, -
IDoc Packaging on Event Driven Message Processing Message Filter
Hi Experts,
I am testing IDoc Packaging on Event Driven Message Processing and I got struck at scheduling the job.
My scenario is IDoc to File. I have created sender and receiver id with coresponding interfaces. While creating the message filter I have selected outbound channel --> IDoc Packaging Option n I have took 10 as Package Size in Messages. In SM 36 I have created JOB and in the step I have selected SXMS_START_JOBS.
Now my problem is while creating the JOB in SM36 what condition should I select? How do I test this event driven message processing with IDoc packaging??
Please guide me...
Regards
SAPTOTALin the event, you should also have a job for RSEOUT00 scheduled so that the IDocs are send out as a package
Maybe you are looking for
-
Can't hear just one person through my iPhone 4
Okay, so lets see if this works. So I've had my iphone 4 for about a year and a half, I've never really had issues beside the normal glitching and having calls drop here and there. Recently I've had an issue with my iphone connecting with just one in
-
Hi i just purchased an sd card reader but it's for fourth gen iPad...pops. I've now ordered the camera kit for the third gen ....do I need both somehow or do I just return the lightening ad reader I purchased first. I rang apple support and swear I w
-
I have a PL/SQL stored procedure which accepts a CLOB data type as one of the arguments. This procedure inserts a record into a table which has a column of datatype CLOB. Using jdbc, my java program creates a CallableStatement to the stored proc. Now
-
Mail on when attaching BOM to particular Project/WBS element
Hi gurus, I have following requirement, 1. Design department attaching a Bill of Material in particular Project / WBS. To convey this activity to other departments (i.e. Procurement / Sales / Project / Production Department), they need an system
-
JTree and JButton in node.
Helo. I've a question regarding JTree component. I was wondering if it is possible at all. I want to build JTree component with JButton(JPanel) in each node, for example: RootNode | ---String [JButton][JButton] | ---String [JButton][JButton] Is there