The sequence of system modules & user-defined modules
Hi Experts,
can u help me clear about the execution sequence about system modules , user-defined modules & the adapter of XI/PI ??
I presume the sequence is first adapter ,second own modules, finally system modules at the sender end.
and the sequence at the receiver end is first own modules , second system modules ,third adapter.
im right?
by the way, how about the sequence when the scenario is be setted to synchronization, specially the sequence of the
response.
thx in advance.
Brian.
http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
1. for async sender/receiver adapters, you use modules before the standard adapter module.
2. for sync sender/receiver adapters, you can wither use modules before the standard adapter module (they will affect the request message) or after the adapter module (affecting the response message).
Similar Messages
-
[SOLVED] Loading user-defined modules [FAIL]
Since the linux upgrade that rolled out on Nov 9, I have encountered an error during boot that says loading user-defined modules [FAIL]. I read a post mentioning the problem being related to the /boot dir being on a separate partition (https://bbs.archlinux.org/viewtopic.php?id=129970). Mine is not on a separate partition, so no booting to a live disk will fix that problem for me. Another post mentions the problem causing loss of USB support (https://bbs.archlinux.org/viewtopic.php?id=130030) which is, as of yet, unresolved. I For all the people upgrading to linux3.1.1 with no problems, do you know what my problem would be?
I have tried upgrading 3 times but each time it kills my wireless support completely. All else seems to be working fine.
Does anyone know what is causing this? or how to fix it or work around it? I updated my mirrorlist and ran pacman -Syyu but this problem is still there 2 weeks later. I've been running pacman -U /var/cache/pacman/pkg/linux-3.0.7* and rebooting after every system update.
Please help.
Thanks.
Last edited by jdoggsc (2011-11-22 19:39:00)skunktrader wrote:If you have any modules from the AUR (broadcom-wl?) you need to rebuild and reinstall the module every time the kernel is updated.
Thanks. I didn't realize I had to get a new driver every time. I've gone through several kernel upgrades so far and haven't had any problems. That fixed it, though. -
Hi folks;
I had a query that can we access a file placed on netweaver server(copy the content or delete a particular file) using a User defined Module,added to file adapterhi
To explain you more clearly our scenario
We have a sender folder in which we have xyz.xml(Source file) and xyz.PDF (Attachment) .
while configuring the file adapter we are archiving both these files to a folder
With the help of user modules we need a abc.xml file to be picked from some other folder and placed to our sender folder
For this functionality to be added to our file adapter we have to write a code
my e mail add is [email protected] -
User Defined Module Processing
Could some one send me the User Defined Module Processing Step By Step guide to
[email protected]
Thanks for your help.Hi,
Are you talking about Adpter Modules ?
If so , here is a guide from service.sap.com-
https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
Regards,
Moorthy -
User defined modules in File Adapters
Hi SapAll.
i just want to know how and in what situations we will use user defined modules in the file communication channels under Module Tab.
can any body explain me briefly with a real time scenarios.
regards.
Varma.hi,
user defined modules or custom adapter modules can be used to do few thing which can't be done by standard SAP modules, typical example in file adapter would be:
Reading/ Writing excel file through file adapter
https://wiki.sdn.sap.com/wiki/display/stage/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
Generating PDF file through file adapter
/people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
Adapter Module to stop processing of duplicate file (FTP Location)
/people/sandeep.jaiswal/blog/2008/05/13/adapter-module-to-stop-processing-of-duplicate-file-ftp-location
Doing PGP Encryption for the payload in receiver payload.
/people/dijesh.tanna/blog/2008/09/15/sap-pi-integrating-macafee-e-business-server-with-sap-pi-70-for-pgp-encryptiondecryption
Check this forum:
Uses of custom adapter module
Thanks,
Mayank -
Error erase Queries in Query Manager- The query is used with user-define...
Hello Experts
I have deleted a User Field that had a Formatted Search and now I can not remove it because it is linked according to a UF, the error message is as follows:
"The query is used with user-defined values [Message 952-23]"
There will be a way to resolve this issue???
Thanks in advanceHi Juan,
I have tried this very limited, but the formid, is this a number in your case?
SELECT * from cshs t0 inner join ouqr t1 on t0.queryid = t1.intrnalkey
where t1.qname = '[%0]'
Running this query I can get the form id that I need to recreate, but I have a feeling you already know the form id, is this correct?
- Is there an error when you try to recreate the form id?
- Will it not let you recreate the same form id because the id is given by the system?
If it is not possible to recreate the form id, please prepare a backup and log a message. Support should be able to correct the entry in table cshs.
Hope it helps.
Jesper -
Item - The item is not a user-defined item
I have added a user defined field in Marketing Documents -> Title.In short I have added a user defined field at the header level.I have used this field for certain calculations while adding inventory transfer.I have created a combo for this field and added values as,
Private Sub AddSeries()
Dim ddlSeries As SAPbouiCOM.ComboBox
Dim objDTSeries As New DataTable
Dim intI As Integer
Try
objForm = SBO_Application.Forms.GetForm("-940", 1)
ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
objDTSeries = GetData(strQuery)
If objDTSeries.Rows.Count > 0 And ddlSeries.ValidValues.Count = 1 Then
For intI = 0 To objDTSeries.Rows.Count - 1
ddlSeries.ValidValues.Add(objDTSeries.Rows(intI).Item("Series"), objDTSeries.Rows(intI).Item("SeriesName"))
Next
End If
Catch ex As Exception
SBO_Application.MessageBox("AddSeries()=" & ex.Message)
End Try
End Sub
Also,I want to clear the combo for certain condition.For clearing the combo I have used the code as,
Private Sub DeleteSeries()
Dim ddlSeries As SAPbouiCOM.ComboBox
Dim intI As Integer
Try
objForm = SBO_Application.Forms.GetForm("-940", 1)
ddlSeries = objForm.Items.Item("U_ProdSeries").Specific
While ddlSeries.ValidValues.Count > 0
ddlSeries.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index)
End While
Catch ex As Exception
SBO_Application.MessageBox("DeleteSeries()=" & ex.Message)
End Try
End Sub
While Removing the value it gives error as,
Item - The item is not a user-defined itemHello dilip
try this code .i hope yure problem may be solved
Private Sub AddSeries()
Dim ddlSeries As SAPbouiCOM.ComboBox
Dim objDTSeries As New DataTable
Dim intI As Integer
Dim oItem As SAPbouiCOM.Item
Dim Rs As SAPbobsCOM.Recordset
Try
objForm = SBO_Application.Forms.GetForm("-940", 1)
Rs = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
oItem = objForm.Items.Item("ITEM ID").Specific
ddlSeries = oItem.Specific
strQuery = "Select Series,SeriesName FROM NNM1 WHERE ObjectCode=13"
Rs.DoQuery(strQuery)
Rs.MoveFirst()
For k As Integer = ddlSeries.ValidValues.Count - 1 To 0 Step -1
ddlSeries.ValidValues.Remove(k, SAPbouiCOM.BoSearchKey.psk_Index)
Next
If (ddlSeries.ValidValues.Count >= 0) Then
While Rs.EoF = False
ddlSeries.ValidValues.Add(Rs.Fields.Item("Series").Value, Rs.Fields.Item("SeriesName").Value)
Rs.MoveNext()
End While
End If
Catch ex As Exception
SBO_Application.MessageBox("AddSeries()=" & ex.Message)
End Try
End Sub -
Include the COPY TO Option in User Define form
Hi Experts
How can we include the COPY TO Option in User Define form
Thanks In Advance
A S VAMSI KRISHNAHi,
In SAP B1 i think there is no default functionality for copy to in user defined form. As Parminder said you can use the control button combo and write your own method for populating data.
Regards
Arun -
BUG in DB XML? (when dealing with modules, user-defined functions)
Hi,
this post can be related to Different results for the semantically the same queries but here examples are even simpler.
I have the module with one user-defined function:
module namespace tnt = "http://tntbase.mathweb.org/ns";
declare function tnt:filter-path($docs as document-node()*, $path as xs:string) as document-node()*{
$docs[dbxml:metadata('tnt:path') = $path]
};Then I have a query:
import module namespace tnt = 'http://tntbase.mathweb.org/ns' at 'file:/path/to/module/user-func.xq';
(: this variable is IMPORTANT in the query:)
declare variable $len := 3;
(: here goes the same function as in the module, but with different name :)
declare function tnt:filter-path2($docs as document-node()*, $path as xs:string) as document-node()*{
$docs[dbxml:metadata('tnt:path') = $path]
(:the query itself :)
tnt:filter-path(collection("xml_content.dbxml"), substring("a:/doc.xml", $len)) If I execute the query I get *0* results, if I use function tnt:filter-path2 (instead of module's tnt:filter-path) then I get the expected *1* result.
Also I experimented a bit with a query and got the following observations (independent from each other):
1) If I substitute $len by value *3* or *3.0*, then I get right results in both cases, i.e. if the query itself looks:
tnt:filter-path(collection("xml_content.dbxml"), substring("a:/doc.xml", 3)) 2) If I change the module's function so that it uses value comparison instead of general comparison, then I get the right results in both cases as well:
module namespace tnt = "http://tntbase.mathweb.org/ns";
declare function tnt:filter-path($docs as document-node()*, $path as xs:string) as document-node()*{
$docs[dbxml:metadata('tnt:path') eq $path]
};Please, help me out! I'm pretty sure it's a problem of DB XML and I'm struggling with it for a long time in this or that shape.
Thanks a lot in advance,
VyacheslavI upgraded from 2.5.13 to 2.5.16 and the bug disappeared. The reason why I didn't do it before was that I hadn't seen any relevant for me fixes in the release notes of 2.5.16 comparing to 2.4.13 (Actually I already have had two patches for two relevant issues in the 2.5.13 version)
Sorry for the false alarm.
Vyacheslav -
What the best way to create User defined table with ADDON purpose
Hi folks, how are you ?
I´m beginner in development to business one, and I m studying to develop ISV addons.
But, during my exercises and analisys, I learned that have two ways to create tables and fields in business one. One way is throght by wizard in business one using Tools Menu > Configuration Tools > User Defined Tables >
Obs: I ´m using Business One Patch Level 9.
Other way, is create the tables and fields using DI API
But, my question is. When I develop one addon, or one UDO form that uses one set of user defined tables or used defined fields that where created by the first way (by wizard in B1), how I deploy this in other business one installation ? The package process will ensure the creation of this tables in another enviroment or I must implement the creation of user defined tables using DI API so that this code is called during the installation?
If in cases of addon develop I must use DI API to create user defined tables, How can I use my classes with this responsibility in package process ?
Thanks my friends.Hi Renan,
You just need to put your logic in to the startup of your application, after you've established your connection to the UI API and DI API. All this will be triggered in the constructor of your main class.
namespace MyNamespace
public class MyAddon
bool runAddon = true;
bool initialised = false;
const string ADDON_NAME = "My Addon";
public static void Main()
MyAddon addOn = new MyAddon();
if(runAddon)
System.Windows.Forms.Application.Run();
else
Application.Exit();
public MyAddon()
// Connect to SBO session for UI
if(!SetApplication()) runAddon = false;
private bool SetApplication()
// Code goes in here to establish UI API and DI API connections
// See SDK samples for examples
// You should also define and filter the UI API events your addon will trap at this stage and create any menus
// Call your routine to check if the required UDFs/UDTs exist on this company
initialised = CheckInitialisation();
if (!initialised)
// AddOn not yet intialised on this company so prompt the user to run the intialisation process
int iResponse = app.MessageBox("The " + ADDON_NAME + " addon will now create all required fields and tables."
+ System.Environment.NewLine + System.Environment.NewLine
+ "WARNING: It is strongly recommended that all other users are logged out of this company "
+ "before running this process. Are you sure you wish to continue?", 2, "Yes", "No", "");
if (iResponse == 1) initialised = InitialiseAddOn(); // Call your routine to create the objects
return true;
Kind Regards,
Owen -
Central system Administration : User defined task groups
Hello,
In SolMan4.0, you can define user-task-groups (e.g. for daily system checks). The definition and processing of those tasks, works.
But they are not visible in the overview screen of the solution.
If there is only 1 user-defined task left, the overview does not show any open tasks
Any idea's ?
thx
StevenHi Udo,
The frequency is set on 'every 3 days'.
We are on ST-400 SP4 (SP6 is not available I guess)
I only defined an entry in the tab 'defining User Task Groups'
and one entry in the tab 'Assigning User Tasks'
The user task itself is visble as 'open' in the list, but not in the overview of the systems (icon with a red + sign)
As I work through the tasks, the red +sign changes into a green sign, at the moment that there is one user-defined task left (all the other 'sap'-tasks are 'done').
regards
Steven -
Can we restart the sequence at any moment without define max val
Hi all
can we restart the sequence without define the max value
i am creating batch for month and in every month i never know how much batches i have i want when the month change then batch restart
thanks and regards
vikas singhalHi,
Refer to : http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1119633817597
http://www.jaredstill.com/content/reset-sequence.html
- Pavan Kumar N -
User-daemon-system: the missing daemon system for user.
Just like the default daemon system, but it's a user daemon sytem and is at user level, and they are started at a user login time, it has below file stucture.
~/etc/
rc.conf
conf.d/
rc.d/
~/var/
run/
daemons/
log/
cache/
start a daemon.
~/etc/rc.d/foo start
stop a daemon.
~/etc/rc.d/foo stop
Current avaliable daemons: user-mpd-daemon, user-aria2-daemon
Homepage: https://github.com/GutenYe/user-daemon-system
Last edited by GutenYe (2012-09-24 04:20:14)Hi Alen,
You can search for a BADI or a user exit yourself in the SPRO transaction. Goto SAP Reference IMG and goto the desired application area, navigate through the hierarchy structure displayed. You will get all the User exits and Badi's available for your requirement.
Try BADI
LE_SHP_DELIVERY_PROC
LE_SHP_GOODSMOVEMENT
Hope it helps.........
Lokesh
Pls. reward appropriate points -
Exception related to user defined module in sap xi ????
I developed one userdefined module after configuring that i am getting the below exception, can any body tell where exactly the problem
com.sap.aii.af.ra.ms.api.RecoverableException,
Thanks,
Madhusudhan.Madhusudana,
Well...I would in that case suggest you to put debug statements in your code. For this you would need to carry out certain steps which are :
1. In NWDS , create a new file in the META-INF folder of Enterprise Project. The name of the file should be log-configuration.xml.Paste the following content in this file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
<log-configuration>
<log-formatters>
<!-- This formatter produces human readable messages. -->
<log-formatter
name="trc"
pattern="%26d %150l [%t] %10s: %m"
type="TraceFormatter"/>
</log-formatters>
<log-destinations>
<!-- Destination for Trace Information of this sample -->
<log-destination
count="5"
effective-severity="DEBUG"
limit="2000000"
name="sample.trc"
pattern="./log/applications/sample/default.trc"
type="FileLog">
<formatter-ref
name="trc"/>
</log-destination>
</log-destinations>
<log-controllers>
<!-- Trace Location sample -->
<log-controller
effective-severity="DEBUG"
name="sample">
<associated-destinations>
<destination-ref
association-type="LOG"
name="sample.trc"/>
</associated-destinations>
</log-controller>
<!-- Logging Category: none, use the default XILog -->
</log-controllers>
</log-configuration>
2. In your process method, add following statement
AuditMessageKey auditMKey =
new AuditMessageKey(message.getMessageId(), AuditDirection.INBOUND);
Audit.addAuditLogEntry(
auditMKey,
AuditLogStatus.SUCCESS,
"CustomModule :: process method started");
This would send the statement "CustomModule :: process method started" to the Audit Log of XI server and you would be in a position to see upto which step your code is executing sucessfully. Audit log can be viewed at
http://<host>:<port>/MessagingSystem/monitor/monitor.jsp. you need to know the message ID for your transaction in this case.
Hope this helps.
Nilesh -
Hi,
Native alert on a document library can setup to email to the predefined user when any changes on the document.
However, I would like to setup a document library and alert me when
[email protected] [email protected]
[email protected] hasn't yet put a document to the library by 2014-07-01 (e.g today is 2014-06-26). The reminder email will send to
[email protected] [email protected] on 2 days before the dead line (ie. 2014-06-29) because
[email protected] and [email protected] hasn't put their file to the library on or after 2014-06-29..
ThanksHi,
http://stackoverflow.com/questions/17571562/creating-email-alert-workflow-for-sharepoint-file-libraries
http://stackoverflow.com/questions/18868479/how-to-send-automatic-email-notification-to-user-two-days-before-expiry-date
http://social.msdn.microsoft.com/Forums/en-US/acb12dd2-d6a5-4b7e-b233-037558bfa2e5/start-workflow-x-days-before-expiry-date?forum=sharepointcustomizationlegacy
Please remember to click 'Mark as Answer' on the answer if it helps you
Maybe you are looking for
-
Fields in the Task List -- Operation Overview
Dear Expert, There are few fields in the operation Overview of the Task List - >> if we move ahead in each n evry operation -- fields like Material Grp, Cost element and Assembly....n lot more. plz tell me the appropriate use of the same.(If any) plz
-
I would like to create a report that runs a different sql statement based on the parameters passed in. The column layout won't change but the group by sections will(I think I can handle that by suppressing field when parameter is null). For example,
-
I am looking for a way to make my thumbnails be able to scroll or slide when I build a slideshow I don't like having all the Thumbnails on the screen at one time. So I'm trying to get the effect that you would have eight thumbnails below the main
-
Deleting/dropping/removing database using Enterprise Manager (12c)
Hi, I have run some searches and review the documentation... but I haven't found any way to drop/remove/delete databases using 12c EM. We have multi-instance environments (one physical server with several instances/database). And from time to time we
-
NVidia Error and Screen Flicker
After using my machine for random lengths of time (sometimes 5 minutes, sometimes 5 hours or more), invariably my screen will "flicker". It's usually just the bottom 5th. this usually occurs after trying to use the mouse scroll wheel to scroll a pa