Message Sequence in BDC
Hi,
Can anyone please tell me in what sequence will the messages be filled in the Messages Internal Table(i_messtab), after the statement
CALL TRANSACTION c_tcode_cl20 USING i_bdcdata
MODE c_mode_n
UPDATE c_update_s
MESSAGES INTO i_messtab.
Eg. if the messages produced are in the following sequence in the transaction.
1. Information ('I') type message 1.
2. Information ('I') type message 2.
3. Warning ('W') type message 3.
Hi Abishek,
The messages internal table will be populated as you get messages on the actual screen transaction. They will appear in the sequence in which is gets triggered in a normal transaction. They are not organized themselves based on the type you will have to sort the table to get the sequence if you need a specific sequence.
Hope this helps.
Cheers
VJ
Similar Messages
-
How to implement Message Sequencing other than mediator
Hi All,
I am looking for a solution to implement the message sequencing option for the below integration scenario between Order management module and projects module using SOA and AIA 11g.
1. The source system triggering requests is the Order management module(sometimes projects module) of Ebiz R12.
2. When an order is booked an event is raised and pushed to WF_Deferred_Q in Ebiz environment.
3. This messages are pushed to WF_BPEL_Q in SOA environment by the QAgent configured at the Ebiz end.
4. At SOA end , there is an AqAdapter configured in OSB(as a proxy service) will poll WF_BPEL_Q and pull the messages.
5. Based on the type of request messages are routed to different requestor ABCS services( AIA framework).
Scenarios possible are:
1. Orders created newly and same are synched to projects module.
2. Orders updated and same is updated in the projects module. (order header id is same for multiple update requests on the order )
Scenario 1: Two update requests for same order
1. When an existing order which has got five line items and each line item has got 2 sub line items, is updated at the same time from different locations(let’s say from India and Japan) where in order from India is updating the quantity on one sub line item whose parent line item is (lets say A) and another request from japan is updating the unit sale price in another sub lie item line item whose parent is also line item A.
2. Both the update requests which are raised will have the same order header ID and also the request from India is errored out while updating the projects module due to some reason which needs some manual intervention to update the data and resubmit the message.
3. Now we want to stop the request from Japan until the request from India is not processed.
4. Simultaneously we want to allow the orders which are independent.
Note: We are not looking to use “wait” option which will have an impact on the performance .
Please suggest your valuable inputs and expert thoughts in implementing the message sequencing with less impact in this situation.
Thanks in advance.
Regards,
ShaileshCan someone post expert views on the below issue?
Regards,
Shailehs -
The message sequence of JMS adapter and BPM
This is my scenario: AP1 -> MQ -> JMS Adapter -> XI BPM -> SAP
But if AP1 sends 10 messages to MQ server, how to make sure the received message sequence of SAP is the same as AP1 ?
Because JMS adapter doesn't have synchronous ability, or I can set best effort to make sure the sequence.HI,
See the below links to solve the BPM performance problems
BPM Performance tuning
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
BPM performance question
SAP XI BPM Performance and statistics
Performance problem on BPM
BPM pros and cons
Performance problems using BPM
Regards
Chilla.. -
Error message: Sequence 1-FIN000000b9?
I keep getting this error message. What is it? And how can I get rid of it?
Error message: Sequence 1-FIN000000b9?Its related to a render file. Its either lost or gone bad.
Probably best to trash your renders for the sequence and render again. Would that set you back to far? -
Hi,
I am running BDC for KP06,using CALL TRANSACTION.
When the BDC is successful,then the bdcmsgcoll contains no success message.
But,when the BDC fails due to wrong entries,the bdcmscoll has messages of Type 'S' as "No batch input data for screen SAPLKPP0 1000". Why is the message type coming as "S" in this case ?Why is it not coming as "E" ?
Please help in clearing the confusion.
Thanks&Regards
AnanyaHi Ananya.
In BDC when ever a screen sequence is missing i.e. a screen for which no data is passed, we get this message.
If you want to check whether BDC is successful or not that you can easily do so by checking the SY-SUBRC after the CALL TRANSACTION statement and then do the processing as per your requirement.
Regards,
Mohan -
FILEIO message sequence counter reset after domain restart
Hi,
I have configured FileIO to pick message from RIB-RMS topic and create xml message. It is working fine.
These xml message are pick by external system based on their sequence number in file name itself. like File name 'Items_ItemCre_100069945.775' having message number 775.
After Domain bounce, counter is reset to 0, causing the duplicate message error as message is identified by its sequence number.
Please let me know how can we avoid resetting the message counter?
Thanks & Reagrds,
VinayHi,
Are the results from a same computer? (Run manually and ran that as required)
Please make sure the instance of 'Win32_EncryptableVolume' exists on that drive.
Best Regards,
Joyce Li
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hi All,
I am doing a bdc program inside RFC-FM.in which i need to do a posting in FI and return the document number via the export parameter of the RFC-FM.when the function module is tested in
foreground its giving me the document number via the success message but while testing in background mode the document number is not captured.I think there is some problem withe message capturing in background mode.
can anybody advice.....
Regards,
PrajithHi
I do not think so it is due to Background.
Sometimes if the BDC recording is not done properly, it will not work in MODE 'N'. it will work only in MODE 'A'.
I would suggest to take the code inside the RFC and place it in a ZREPORT and check.
If the problem still exists, than i suggest to do re-recording of the transaction
Regards
Madhan D -
AQ to MQ Message Sequence Issue
Hi,
I am using Advanced queues on "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi".
The Advanced Queue is created - next many message(s) are enqueued one-at-a-time in order - part of the code is shown below....
LOOP
-- Convert to XML
msg_xml := XMLType.createXML(msg, NULL);
-- Add message to the queue
enqueue_options.VISIBILITY := DBMS_AQ.ON_COMMIT;
enqueue_options.SEQUENCE_DEVIATION := null;
msg_properties.EXPIRATION := DBMS_AQ.NEVER;
DBMS_AQ.ENQUEUE ( queue_name => 'Q_EXPR_MSG_TXN',
enqueue_options => enqueue_options,
message_properties => msg_properties,
payload => msg_xml,
msgid => msg_handle);
END LOOP;
The AQ sends the messages to an MQ - the MQ end is reporting messages are arriving as a batch (not one-at-a-time as placed on the AQ) and out of sequence...
I can understand why the AQ sends the messages across as a batch however is this possible to change to send across one message at-a-time...?
Why are the messages arriving out of sequence ..? (is this to do with batching)
Regards IanThe queue...
OWNER ID_FEED_OWNER
NAME Q_EXPR_MSG_TXN
QUEUE_TABLE QT_EXPR_MSG_TXN
QID 131912
QUEUE_TYPE NORMAL_QUEUE
MAX_RETRIES 5
RETRY_DELAY 0
ENQUEUE_ENABLED YES
DEQUEUE_ENABLED YES
RETENTION 0
USER_COMMENT (null)
NETWORK_NAME (null)
CREATED 06-JAN-12
LAST_DDL_TIME 02-FEB-12
The queue table...
OWNER ID_FEED_OWNER
QUEUE_TABLE QT_EXPR_MSG_TXN
TYPE OBJECT
OBJECT_TYPE SYS.XMLTYPE
SORT_ORDER ENQUEUE_TIME
RECIPIENTS MULTIPLE
MESSAGE_GROUPING NONE
COMPATIBLE 10.0.0
PRIMARY_INSTANCE 0
SECONDARY_INSTANCE 0
OWNER_INSTANCE 1
USER_COMMENT (null)
SECURE NO
CREATED 06-JAN-12
LAST_DDL_TIME 06-JAN-12
Not sure about the MQ version as its on our clients side - i'll try and find this out....
Regards -
Hi,
I'm sure this is an absurdly simple thing I've overlooked but...
Scenario:
I have files being processed through file adapter in EOIO mode.
Messages get thrown into one of two IP's (create and update).
Each IP has 4 exit points, of which one (or all) of the exit points must have messages appear in the same order as the messages that appeared on the original queue (update processing).
Problem:
Files are loaded in alpha-numeric order.... OK!
Messages are in order in QRFC.... OK!
Messages get loaded into many parallel BPE instances.... OK!
BPE instances handle mappings then send messages as soon as a send step is reached, rather than completing the BPM then firing in batches in the same sequence order that they arrived in QRFC... NOT OK!
Any ideas?
I'm thinking correlations perhaps.
Cheers
James.Hi Michal
No it's used to do error handling and alert raising also. Changing it so that there's no IP required isnt an option at this time.
If I could change it so that there was only 1 BPE thread running for this business system or SWCV...
UPDATE: Just noticed How to avoid second BPM instance
So much for my searching yesterday. Seems I'm not the only person Still, it doesnt help. Ah well!
Cheers,
James. -
Hi experts,
I have small problem with message orders ...
Is there any possibility to set type of message from which of form we will print the order.
I mean how we can set f.e. sequence of messages when order is generated ?
Thanks and regards.Hi
Your query is not clear, but from what i understood i can say yes we have certain print operations to determine the message that needs to be generated.
in Configuration
SPRO->IMG-> MM-> Purchasing -> Messages-> Output Control-> Message Types-> Define Message Types for Purchase Order-> Fine-Tuned Control: Purchase Order, you can miantin the settings
Thanks & Regards
Kishore -
Relationship between message, sequence and queue
Hello Colleagues,
I am new to PI.
I want to know the relationship between PI Message,Queue (bgrfc) and sequecne.
In sxmb_moni i could see all these enteirs in technical view, but what I am not sure how sequnce and queue works exactly.
Kindly explain or refer the related links.
-SivaHi,
thanks for advice, now It works correct. But I have another problem with connection between comboboxes and planning sequences (functions). Do you know any way how to take the values of variables back to comboboxes. Its opposite way.
For better understanding I execute planning sequnce and for this sequence I want to use reversible binding. I want to use in planning function (in planning sequence) one variable for characteristic "VERSION" and I want to copy from VERSION 1 to VERSION 2. So I have in combo for char. Version value 1 and I want to after execution of planning sequence change the value in combo to 2. Do you have any experience?? This is typical for copy between versions.
Thanks a lot.
Best regard.
Petr -
Has any seen or figured out a way to track and/or sequence (keep the order of)
JMS Messages placed on a distributed destination's target queues on each managed
node? Seems like you can only do this with on dedicated queue but you lose clustering.
Thanks
Ryan
Hi Ryan,
Ordering is still preserved between a single instance of
a queue sender and a queue consumer if "load balancing
enabled" is set to false on the connection factory.
My guess is you still need a way to ensure that subsequent
instances of the same producer end up going back to the
same physical destination. This can be accomplished by
(1) hard coding the destination destination name
- or -
(2) taking advantage of the fact that the
producer will connect to its local destination
if producer, connection factory, and destination
are all running on the same JVM.
- or -
(3) Giving each physical
destination the same JNDI name, turn off
"JNDINameReplicationEnabled" on each destination,
and ensuring that the producer uses a JNDI
context that is from the desired JVM to
look up the physical destination JNDI name.
Tom, BEA
Ryan Richards wrote:
> Has any seen or figured out a way to track and/or sequence (keep the order of)
> JMS Messages placed on a distributed destination's target queues on each managed
> node? Seems like you can only do this with on dedicated queue but you lose clustering.
>
> Thanks
> Ryan
-
Implement message sequencing in OSB Weblogic 11g version 11.1.1.5.0
Hi All,
We have implemented a distributed jms queue from where a jms proxy service picks messages and delivers to the target system . We want to deliver messages in order i.e. FIFO way
Auto Generate Unit of Order is enabled for this distributed queue .
But the messages are getting delivered out of order to destination . Like if there are 5 messages received at 5 different timings in my queue and the delivery of messages to destination is completely unordered first message delivered at 3rd number , last at 1st number etc. .
I want it to be First in First out way (FIFO) .
Please help .
Regards,
NeerajHi All ,
Our environment is a clustered one where all OSB proxy services are deployed .
Regards,
Neeraj -
Disable warning message in MB1A during BDC
Hi,
I am posting the goods issue records into SAP through MB1A in BDC. However the warning message finally becomes the return message of the BDC call and the action is failed. Actually it can be skipped by doing the transaction manually.
Any solution can be used to disable the warning?
Thanks.
Angus.that error is comming for ur Config, So u cannt Skip that message from BAPI returns, try to change CostCenter or Docuent Type.
regards
Prabhu -
Capturing error records and messages in BDC ?
Hi Experts,
I am recording a infotype using BDC recording and I got successfull updation in recording.But I dont want the output message generated by BDC recording which is obtained by perform bdc_transaction using 'pa30' generated by recording.
I want to capture the success pernr values and its correponding messages in a seperate internal table.Then want to capture error pernr values and its messages in a seperate internal table.
Give me sample coding to fetch those values. Think that my internal table which contains pernr values for recording is int_0007.from this internal table I am recording values.Give me coding to collect success anf error pernr values and its messges in seperate internal table.
Thanks,
Sakthi.C
*Assure points for valuable answers*
Message was edited by:
Sakthi Saravanan CDATA : BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR,
MAKTX LIKE MAKT-MAKTX,
PLANT LIKE RMMG1-WERKS,
END OF T_UPLOAD.
DATA : BEGIN OF T_DOWNLOAD OCCURS 0,
MATNR LIKE MARA-MATNR,
MAKTX LIKE MAKT-MAKTX,
PLANT LIKE RMMG1-WERKS,
MSG(200),
END OF T_DOWNLOAD.
DATA : T_BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
DATA : WA_BDCMSGCOLL TYPE BDCMSGCOLL.
DATA : ERR_LOG TYPE MESSAGE.
Set the parameters for Call Transaction
CLEAR WA_CTU_PARAMS.
WA_CTU_PARAMS-DISMODE = 'N'.
WA_CTU_PARAMS-UPDMODE = 'S'.
WA_CTU_PARAMS-NOBINPT = 'X'.
WA_CTU_PARAMS-NOBIEND = 'X'.
WA_CTU_PARAMS-DEFSIZE = 'X'.
Call Transaction MM01
IF W_FLAG NE 'X'.
<b>CALL TRANSACTION 'MM01' USING T_BDCDATA OPTIONS FROM WA_CTU_PARAMS
MESSAGES INTO T_BDCMSGCOLL.
COMMIT WORK AND WAIT.</b>
DESCRIBE TABLE T_BDCMSGCOLL LINES N.
IF N <> 0.
LOOP AT T_BDCMSGCOLL INTO WA_BDCMSGCOLL.
CLEAR ERR_LOG.
W_MSGNO = WA_BDCMSGCOLL-MSGNR.
CALL FUNCTION <b>'WRITE_MESSAGE'</b> EXPORTING
MSGID = WA_BDCMSGCOLL-MSGID
MSGNO = W_MSGNO
MSGTY = WA_BDCMSGCOLL-MSGTYP
IMPORTING
MESSG = ERR_LOG.
Error that occurs during transactoon
IF ERR_LOG-MSGTY = 'E'.
MOVE-CORRESPONDING T_UPLOAD TO T_DOWNLOAD.
MOVE ERR_LOG-MSGTX TO T_DOWNLOAD-MSG.
APPEND T_DOWNLOAD.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
regards
vinod
Maybe you are looking for
-
Problems with selection marquee in Photoshop CS5.5 on MacBook Pro with Hi-Res Display
A few months ago i bought a 15" MacBook Pro with the hi-res display (not retina display...just the higher res display offered prior to the release of the retina display). I'm having trouble with Photoshop and selection marquees. In particular, anytim
-
I am trying to record a narration for a Flash movie and I can't get it done with GB. I'm thinking this is because I'm a new Mac user. Any suggestions how I might do this. Flash can import audio files in AIFF, WAV and MP3. iMac & MacBook Mac OS X (1
-
Windows size problem when resume apps, TTA SGD E4.0
Hi, I have a problem and can�t find the solution yet. I open windows apps in my desktop with a 800x600 resolution, the app is configured for independent window, clients maximun size and fill my screen completely as suppose to do. Then I close the win
-
Why won't iTunes 11 save my selection anymore?
Have to use crtl+L constantly now just to find which song I'm currently playing. As soon as I search some other menu in iTunes 11, my selection is lost. iTunes 10 didn't have this issue....it's like they took a step backwards here.
-
Sometimes in Curves I see the Channel set to RGB and other times Luminance. Does it matter what the Channel is for a Curve?