cancel
Showing results for 
Search instead for 
Did you mean: 

How to update system parameters passed as an event handler extension?

Former Member
0 Kudos

Hi,

There are two events in my scenario. one is close and second one is dispatch.

In Close event, I am passing few system parameters as event handler extension through xml in namevalue pair.Those are updated perfectly.

Secondly in dispatch event for the same eh guid, it will update the status in table /saptrx/eh_stat and it is doing it fine through activity ---> status_set.

Currently I have another requirement to update few parameter in the second event (dispatch), if i have missed any in first event.

For this , I am trying it to achieve it through PARAMETER_CHANGE activity but it is not updating the fields as all my parameters are system parameters.

1.Can system parameters be updated through PARAMETER CHANGE activity??

2.ACT_HDR_EXTENTION activity is updating the system parameters , if and only if passed through parameter ....merely hard-coded but not through xml...i.e namevaue pair...can this activity be used to update few parameters from xml .????

3.In PARAMETER CHANGE activity, the input parameter is i_eai...can anyone kindly suggest...in this parameter..where the extension values are passed?

4.Is there any staging or buffer table, in which xml datas are saved when any rule is triggered in OER/EM?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ratnakar,

In order to update the system parameters in the extension table you must apply OSS note 1890458. It will walk you through the steps of creating a new activity method PARAMETER_CHANGE_NEW which you can then call from your rule set.

Regards,

Jon

Former Member
0 Kudos

Hi,

Whether it is PARAMETER_CHANGE_NEW or  PARAMETER CHANGE or HDR_EXT_VALUE_UPDATE activity, It takes the value directly  i.e passed in the activity itself. As per my requirement, I have to post it from XML (name value pair). Please let me know. Is there any way.. I can post name value pair from my XML to the parameters of these activities.

former_member190756
Active Contributor
0 Kudos

Hello Ratnakar,

what do you mean with "from XML". Dies that mean you directly call the Event Message BAPI?

In this you can fill structure TRACKPARAMETERS and use activity PARAMETER_CHANGE_NEW.

This activity loops over the entries in the structures and updates the parameters if available in your extension table.

Best regards,

Steffen

Former Member
0 Kudos

Hi,

I am posting xml from Event capture Notification out interface in AII or Event capture Notification In interface in OER through sproxy tcode.I can see these activity method is taking I_EAI as import parameter.Can you suggest, in which field of the import parameter, the name value pairs mentioned in the xml are passing actually.

Also as you suggested, Could you kindly tell in little bit detail about the TRACKPARAMETERS ..and how i can attach my name value pairs directly to it from xml...

former_member190756
Active Contributor
0 Kudos

Ok, OER is a different topic.

You could check the AII extension guide in Service Marketplace.

Search for: Auto-ID Extensibility

Or maybe better ask the question in the Product traceability forum:

In the activity docu in transaction /SAPTRX/TSC0TR you find also more information about how the update is done.

Best regards,

Steffen

Former Member
0 Kudos

Hi Steffen,

Thanks for the reply.

I will put it in mentioned forum.

Can you just tell me about the activity parameters those are passing in PARAMETER_CHANGE_NEW.

I want to know about the sixth activity parameter in specific.If you know its usage, kindly share.

Thanks in advance. 

Again.. sorry for late response.

former_member186607
Active Contributor
0 Kudos

Hi,

have you checked the system documentation of the activity? If it is not yet available in your system, since you implemented the note to get the activity, you can also check the documentation of activity PARAMETER_CHANGE. Parameters are the same for both activities:

  • Parameter-6: This is an indicator. If you set the indicator by specifying
    'X' and the system cannot identify an existing entry using a parameter name and
    index, the system uses the parameter name and value to search for an entry. If
    you do not set the indicator, the system uses the parameter name and index to
    search for an entry (only relevant for info or control parameter).

Cheers, Daniel

former_member186607
Active Contributor
0 Kudos

Ok, in EPCIS scenario the EPC extension parameter name-value pairs are only processed for the first EPCIS message related for an specific EPC, in all EPCIS messages afterwards they are ignored. Please also see this thread .

Cheers, Daniel

Answers (0)