Can I create an IDOC Based on A Change Event Being Triggered
I have a BOR object that when changed - triggers event 'Change'
I would like to code the event linkage such that an IDoc is created everytime the event is raised.
Has anyone done this before?
The message type I am using is a standard one and is associated with the same BOR object.
Which function module should I use in the event linkage for that 'change' event?
The IDoc doesnt have an outbound function module.
Please indicate steps or point me to related weblogs/threads
Thanks
Hi Anand,
What happens generally is that -- Initiator are created on the basis on the main role. User submit the request for main roles and the dependent roles are added automatically. Dependent roles are added later automatically the initiator needs to be created on the main roles. So if initiator is created on the basis of dependent role ( secondary roles ) and you are not selecing the dependent role in the request ( selecting only the main roles ) the initiator's conditions will not meet.
Kind Regards,
Srinivasan
Similar Messages
-
How can we trigger an IDOC based on Orders creation.
Hiii...experts,
After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
so, how can we trigger an IDOC based on Orders creation..
pls help.
Ram.Use IDOC_OUTPUT_ORDERS for creating IDOC
you need to maintain condition records & output type
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM -
Can we create a hierarchy based on two logical table in 10g RPD
Hi,
I have a question, please give me some clarity, about creating hierarchy,
I know we can create a hierarchy based on one logical table which is form by two physical table...
Can we create a hierarchy based on two logical table? If yes, and how?
Thanks in advance!
anneUse preffered drill paths...
-suman -
Can xMII sense an event being triggered in SAP?
Hi xMII Gurus,
I have a requirement where, when some event is triggered in SAP, I have to fetch some data from SAP to xMII and do some procesing and post the data back to SAP. Is there any way by which xMII can sense the event being triggered in SAP?
Thanks in advance,
PrasannaHi Prasanna,
It can be done with a trick
1. Create the transaction in xMII
2. Generate the webservice.
3. Consume it in ERP
a. from SE80 you have to consume
b. From Lpconfig you have to create a port.
4. Now after the event occured in ERP,Call the interface of the class you have created in SE80
And it is done
Thanks and regards,
Pradip -
How to hide/unhide the all Treenodes on Treeview based on Checkbox changed event?
Checkbox(Control)
1.Checkbox Checked:(Action below like)
if user click on Checkbox, all the treenodes on treeview is hide.
2.Checkbox Unchecked(Action below like)
If user uncheck the Checkbox all the treenodes on treeview is unhode.
Could you please help me how to do above one.
BadriHi,
According to your post, my understanding is that you want to hide/show the TreeView when the Checkbox checked/unchecked.
We can use jQuery to achieve it, the following script for your reference:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("input[type=checkbox]").click(function () {
if (this.checked) {
$("#TreeViewID").hide();
} else {
$("#TreeViewID").show();
</script>
More information:
http://dineshsharepoint.blogspot.com/
Best Regards
Dennis Guo
TechNet Community Support -
Can I create a report based on Non-Oracle template?
Hi:
I have a Microsoft Word document that contains the entire layout of a report I need to create with Oracle Report 6i. I know that I can create a report based on a template, but as I understand it, I am limited to using Oracle Reports templates. Does Reports support using foreign templates? Thanks for any word in this manner.
Thomas Morgan
:)oracle reports does not support using ms word documents as templates. there is a product in the oracle applications stack, XML publisher, that allows you to inject data into a word template.
thanks,
ph. -
How to create multiple idocs based on complex condition
HI Users,
my scenario is jms(xml file) to idoc. for each file have multiple records for each record i need to create multiple idocs.
source structure:
<lineitem>
<student sid="cid">456</student>
<hreference>
<reference rtype="number">123</reference>
</hreference>
<hreference>
<reference rtype="number">789</reference>
</hreference>
<hreference>
<reference rtype="char">147</reference>
</hreference>
now condition is One input message must create only one output message for each unique rtype="number" and sid="cid" combination.
for example
1. rtype="number" and sid="cid" the value combination means 123456 for this one idoc
2. rtype="number" and sid="cid" the value combination means 789456 for this one idoc
--> the below file shows with out sid="cid"
<lineitem>
<student sid="abc">456</student>
<hreference>
<reference rtype="number">123</reference>
</hreference>
<hreference>
<reference rtype="number">789</reference>
</hreference>
<hreference>
<reference rtype="number">147</reference>
</hreference>
in this case we have to consider only rtype="number" so here we need to create 3 idocs.
Could anyone help me in this regard.
Thanks in advanceHi Swathip,
Change the occurence of the IDoc to "unbounded", so that multiple IDocs can get create
Try with below logic
If (SID = "CID")
Then
If(rtype = "number")
concat(student,reference ) ---> removeContext ---> Idoc
Else
rtype ---> removeContext ---> Idoc
If combination of unique student and reference can occur more than once in the XML, use sort command and splitByValue (Value Change)
Edited by: chandra shekhar on Jul 3, 2011 12:53 PM -
The topic says it all (I hope). I am new to 2012 and I have tried to accomplish this feat all day, which includes researching online, but I have had zero success in finding anything helpful.
Obviously I can create "Device Collections" based on the IP Subnets, and I can do a "Direct Rule" in "User Collections" for the desired IP Subnet, but I do not want to do this because I need the results to update if/when
any changes occur during a "scheduled/incremental update".
The only thing I could find for the "User Collections" was this:
select * from SMS_R_User where SMS_R_User.FullUserName = SMS_R_User.UserName and SMS_R_System.IPAddresses like "111.11.1%"
EXAMPLE (Query for Devices):
select * from SMS_R_System where SMS_R_System.IPAddresses like "111.11.1%"
Is there a way to Query SCCM (2012) and display the Usernames of computers that login to the (sole) Domain through a specified (or desired) IP Subnet?Why do you want to install software by location for a user? Why do you care?
Why would you want to create a collected of Users with software installed? PCs have the SW install not users so how would you use it?
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
I was asked to setup these (Device and User Collections) in this manner so we can limit future distributions/deployments of Applications (and/or Packages) and (OS) Images by these groupings. Apparently there will be occasions where deployments will need
to be segmented as such because the company wants to have them grouped in this manner. If there is a better option available than this, which I would not doubt since I am new to SCCM 2012, then I would appreciate the information.
IMO, you need to go back to the person asking and get and better understand of exactly what they want and more importantly why. Making a collection, just in case doesn't make sense.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Create Individual Idocs Based on Parent and Child Segment type
Hi Experts,
I have a scenario IDOC to FILE , Split Single IDOC into Multiple IDOC's based on parent and child Segment Type
For example If 3 child segments are same and 1 segment is different under parent segment then 3 same child segments are clubbed and create single idoc under parent segments and 1 different child should create in individual idoc under parent segment.
Note : Same logic should work for N number of Parent Segments and Child Segments.
Outbound:
ZIdocName
Control Record
Data Record
Parent Segment A
Child Segment 1
Child Segment 1
Child Segment 1
Child Segment 2
Parent segment B
Child Segment 3
Status Record
I should get output like below
Inbound:
ZIdocName
Control Record
Data Record
Parent segment A
Child Segment 1
Child Segment 1
Child Segment 1
Status Record
ZIdocName
Control Record
Data Record
Parent segment A
Child Segment 2
Status Record
ZIdocName
Control Record
Data Record
Parent Segment B
Child Segment 3
Status Record
Please suggest me step by step process to achieve this task.
Thanks.
RamHello,
Segment won't hold any value, so filter criteria should be there on some field wich exist in Parent node and chile node?
Paste ur XML?
Try this(Assuming u have some fields in parent/child segment on which u want to define filter criteria):
Parent Field--UseOneAsMany----RC----
------------------Concat ----splitbyvalue(value change)--collapse context --- ZIdoc
Child field-- RC----------
Child field--RC--splitbyvalue(valuechange)--CC -Splitbyvalue(each value) -- ParentSegment
Child field--RC--splitbyvalue(valuechange)--- ChildSegment
RC -> Remove Context
CC - Collapse Context
Note - i haven't tested ur mapping, so make sure to adjust context in mapping
Thanks
Amit Srivastava
Message was edited by: Amit Srivastava -
Can we create entity object based on a text file on the OS?
I understand you can interface with files using webDAV. Can we just create a entity object with source to a text/xml file on the OS instead of a table?
Have a look at the URL data source (under new->business tier->web services) - it allows you to create a data control based on an XML or csv file.
http://technology.amis.nl/blog/?p=1592
You can also create a data control based on a Java class that interact with a file. -
Create IDOC Based on an Event Being Triggered
I have a BOR object that when changed - triggers event 'Change'
I would like to code the event linkage such that an IDoc is created everytime the event is raised.
Has anyone done this before?
The message type I am using is a standard one and is associated with the same BOR object.
Which function module should I use in the event linkage for that 'change' event?
The IDoc doesnt have an outbound function module.
Please indicate steps or point me to related weblogs/threads
Thankshi!!!!!!!!!!!!!!
this is the sample code which may help u,
*BAsic type ZMARA
*Extension ZMARA
*Message type ZMatmas
REPORT zi_material_idoc
NO STANDARD PAGE HEADING
MESSAGE-ID b1.
TABLES: z1maram, z1mara_desc, z1marcm.
TYPE DECLARATION
TYPES: BEGIN OF ty_data,
matnr TYPE matnr,
ernam TYPE ernam,
ersda TYPE ersda,
mtart TYPE mtart,
mbrsh TYPE mbrsh,
spras TYPE spras,
maktx TYPE maktx,
werks TYPE werks_d,
lgort TYPE lgort_d,
END OF ty_data.
DATA: w_data TYPE ty_data,
w_edidd TYPE edidd,
i_edidd TYPE STANDARD TABLE OF edidd,
w_edidc TYPE edidc,
i_edidc TYPE STANDARD TABLE OF edidc.
SELECTION SCREEN *
PARAMETERS: p_matnr TYPE matnr.
AT SELECTION SCREEN
*Validate Material
AT SELECTION-SCREEN ON p_matnr.
PERFORM check_matnr.
START-OF-SELECTION
*Start of selection
START-OF-SELECTION.
PERFORM get_data_from_selection.
END-OF-SELECTION
*End of selection
END-OF-SELECTION.
IF NOT i_edidd IS INITIAL.
PERFORM generate_idoc.
ENDIF.
*& Form check_matnr
text
FORM check_matnr .
DATA l_matnr TYPE matnr.
IF NOT p_matnr IS INITIAL.
SELECT SINGLE matnr FROM mara INTO l_matnr
WHERE matnr = p_matnr.
IF sy-subrc NE 0 OR l_matnr IS INITIAL.
MESSAGE e000 WITH text-004.
ENDIF.
ENDIF.
ENDFORM. " check_matnr
*& Form get_data_from_selection
text
FORM get_data_from_selection .
SELECT SINGLE a~matnr
a~ernam
a~ersda
a~mtart
a~mbrsh
b~spras
b~maktx
c~werks
c~lgort
INTO w_data
FROM mara AS a
INNER JOIN makt AS b
ON amatnr = bmatnr
INNER JOIN mard AS c
ON amatnr = cmatnr
WHERE a~matnr = p_matnr AND
b~spras = 'EN'.
IF sy-subrc = 0.
MOVE: w_data-matnr TO z1maram-matnr,
w_data-ernam TO z1maram-ernam,
w_data-ersda TO z1maram-ersda,
w_data-mtart TO z1maram-mtart,
w_data-mbrsh TO z1maram-mbrsh,
w_data-spras TO z1mara_desc-spras,
w_data-maktx TO z1mara_desc-maktx,
w_data-werks TO z1marcm-werks,
w_data-lgort TO z1marcm-lgort.
Populate Parent Segment
w_edidd-segnam = 'Z1MARAM'.
w_edidd-sdata = z1maram.
APPEND w_edidd TO i_edidd.
CLEAR w_edidd.
Populate Extn Segment
w_edidd-segnam = 'Z1MARCM'.
w_edidd-sdata = z1marcm.
APPEND w_edidd TO i_edidd.
CLEAR w_edidd.
Populate Child Segment
w_edidd-segnam = 'Z1MARA_DESC'.
w_edidd-sdata = z1mara_desc.
APPEND w_edidd TO i_edidd.
CLEAR w_edidd.
ENDIF.
ENDFORM. " get_data_from_selection
*& Form generate_idoc
text
FORM generate_idoc .
Populate Control Record
w_edidc-direct = '1'.
w_edidc-rcvpor = 'A000000021'.
w_edidc-rcvprt = 'LS'.
w_edidc-rcvprn = 'ZMATMAS'.
w_edidc-sndprt = 'LS'.
w_edidc-sndprn = 'LOG950R3'.
w_edidc-mestyp = 'ZMATMAS'.
w_edidc-idoctp = 'ZMARA'.
w_edidc-cimtyp = 'ZMARA'.
Data Distribution
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = w_edidc
TABLES
communication_idoc_control = i_edidc
master_idoc_data = 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.
IF sy-subrc = 0.
CLEAR w_edidc.
READ TABLE i_edidc INTO w_edidc INDEX 1.
IF sy-subrc = 0.
WRITE:/ w_edidc-docnum.
ENDIF.
ENDIF.
ENDFORM. " generate_idoc
this link may help u,
http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6702507d11d18ee90000e8366fc2/content.htm
reward if useful. -
Can I create a guest password that automatically changes daily?
I would like to create a guest password that would change daily. I don't know if I could create a revolving password from a bank of passwords or if I have to change it manually. If anyone knows a trick or method that would be great! I am flexible.
Sorry, you will have to change the password manually....unless you want to hire a programmer to investigate whether this might be possible and if so, what the (very high) cost would be.
Assuming that the code was reliable, the AirPort Extreme would still have to restart to save the changes, creating a drop in service on both the main and guest networks a for a minute or two each day. -
Can we create a monitor based on an existing rule in SCOM?
We see the built-in rule "Collect Buffer cache hit ratio" under "SQL 2008 DB Engine". And it is apparatently a collect type of rules and by default it doesn't generate any alert if the buffer cache hit ratio is lower than our threshold. Is there any way we can create a custom monitor based on this built-in rules so we can get alerts for the low ratio?
Sure, you should be able to author a monitor that looks at this performance counter (assuming it's a performance counter in SQL) and generate an alert if it's above a particular threshold. Essentially the new monitor would look at the counter independently
from the rule that's there already....
This does not answer the question if the Collection rule is not based on a Perfmon counter. One such example is Total messages in queue for the Microsoft Message Queuing management packs. What I would like to do is set a static threshold based on
the data already collected by the "Collect Total Messages in All Queues" rule. This rule is based on a script, not a perf mon counter.
Is there a way to monitor the data that has already been collected with a static threshold, without building a separate collection rule and monitor?
dsloyer -
Can't create an app based on a view
I have a view based on more than one table and I tried to create a read-only application on this view, specifying Read Only for the create mode. It gives me a "no data found" error when I try to create the application. Can you not create an application on a view?
Karen - There's a bug when you create the app on a view in read-only mode. You'll have to stick with read-write mode for now.
Scott -
Can I create a dimension based on a view?
The OLAP9201A allowes creating cube based on view, so does it also alowes creating dimension based on view?
I want to using view to deal with priviledge issues.Thank you.
The document says that I can create view based dimensions using cwm2. But when I tried to execute cwm2 packages' procedures, I always got error.
For example, when I ran the following scripts under the schema 'CFA', I got error message.
--my scripts
begin
cwm2_olap_dimension.create_dimension('CFA', 'TESTCWM2_DIM', 'TESTCWM2', 'TESTCWM2s', 'cwm2', 'TESTCWM2',null);
end;
--error messages
The following error has occurred:
ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
ORA-06512: 在"OLAPSYS.CWM2_OLAP_MANAGER", line 380
ORA-06512: 在"OLAPSYS.CWM2_OLAP_MANAGER", line 397
ORA-06512: 在"OLAPSYS.CWM2_OLAP_DIMENSION", line 139
ORA-06512: 在line 2
--my comments on error messages
The Chinese text means:error of number or value: the string buffer is too small.
What's wrong?
Maybe you are looking for
-
I am currently capturing video on FCE 3.5.1 Have never seen this before while capturing which interrupts the process. "File Error: The specified file is open and in use by this or another application." Anyone know why this is happening? Importing DV
-
Error in passing parameter between 2 jsp..
Hi.. I have error in when submitting a jsp to another jsp.. It seems like cannot get the values i put in the first jsp... The first jsp codes.. <FORM name="mank" action="<%= HttpPortletRendererUtil.htmlFormActionLink(request, PortletRendererUtil.PAGE
-
STMS error after language pack
Hi after language pack updated i am getting transport error please do the needfull thanks
-
Any FCS 3 install media in Columbus, OH?
Gah! I had to rebuild my laptop and re-install everything. I cannot find my installation media for Final Cut Studio 3. Is there anyone in the Grandview Heights, OH area that would be willing to let me use their media? I am NOT asking for a license. -
-
Is it possible to POST data to an application process?
Hi there, I am using Google Gears to implement multiple file upload in Apex 3.2. It is working perfectly except that the uploaded files are inserted in the document table with security_group_id = 0 and are not accessible via the wwv_flow_files view.