on 04-25-2008 6:03 AM
Hi guys,
I an interview i was asked a question regarding collapse context.
There are 3 queues ( I think in the source structure)
queues 1--> 1 suppress 5 supress 6
queues 2---> 5 8 supress 1
queues 3---> 5 6 8.
what would be the output using the function collapse context?
As far as i know, queue is noting but entire xml instance of the source structure,but how come it contain 3 queues.
Please help me with the answer?
Hi suresh,
what would be the output using the function collapse context?
queues 1--> 1 suppress 5 supress 6
Output is 1 5 6.
queues 2---> 5 8 supress 1
Output is 5 1.
queues 3---> 5 6 8.
Output is 5.
1) Collapse Context used to remove the context.
2) Used to identify whether any value missing from input.
3) If any value is missing then output for that value create blank value.
Regards,
Rohit.
Rewards points if helful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
collapse contest is used to ensure that the order of the values in the source is maintained in the target.
suppose for filed F1->collapsecontexts>TargetF1
This way, the TargetF1 fields created will have the following values:
1
blank
2
3
Collapse contexts makes sure that a target is created, even if there is a context change specified at the source.
for queue
you can look into following links
use ful then reward points
Regards,
Sumit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check the link...
[http://help.sap.com/saphelp_nw04/helpdata/en/bd/ca1105c81c6742a0f8c8d49f8834bf/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/3c/5d70b7d21e478fa569fec37325b9f6/content.htm]
Blogs:
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2171] [original link is broken] [original link is broken] [original link is broken];
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2792] [original link is broken] [original link is broken] [original link is broken];
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3537] [original link is broken] [original link is broken] [original link is broken];
*Reward Points If Its Useful*
Regards,
Prakasu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as i know, queue is noting but entire xml instance of the source structure,but how come it contain 3 queues.
NO...
You can have any no of queues in your structure depends on number of fields in the structure.You can find the Queue for each field of your structure...
Look at the display Queue in the mapping in the following blog...
/people/venkat.donela/blog/2005/06/09/introduction-to-queues-in-message-mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.