on 12-27-2007 10:37 AM
Hi,kind guys
I use the object type QMSM about qualification notification task,it has two key fiedls,qualification notification number and task number (can display by t-code -QM03), I want to trigging the event 'create' in BOR 'QMSM ' by function SWE_EVENT_CREATE(or SAP_WAPI_event_create), but it only has one object key ,
example:
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = OBJTYPE
OBJKEY = OBJKEY " only one key
EVENT = EVENT
but the BOR object 'QMSM' has two keys,so it cann't be trigged rightly.
thanks for any help.
Hi Shawn,
Use the below statement. You must need to concatenate your key fields.
CONCATENATE first-key second-key INTO objkey
and give objkey in yr FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to Concatenate the Business object keys and pass it in one variable OBJKEY.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.