cancel
Showing results for 
Search instead for 
Did you mean: 

Details on workflow for invoices blocked for price reasons

massimiliano_riva
Active Participant
0 Kudos

Hi Guys,

my problem is this:I must modify a custom wf about invoices blocked for price reasons and I must modify two step

- The first activity step is 'List of items blocked for price reasons' with task TS90000005 and in description task I enter &_WI_OBJECT_ID.INVOICEDOCNUMBER& &_WI_OBJECT_ID.FISCALYEAR& to display these informations

-The second step is a user decision step (with task TS00008267) in which I specify in parameter 1 and 2 the invoice doc.number and fiscal year again.

Now I wish delete the first step and inserting all informations about Invoice blocked(again doc.number and fiscal year again, but also Purchase order number,Purch froup,vendor,items of Purch order,material code and its desciption,material group,Purch order price, invoice price)in the second step so the user will see these informations on inbox only by the step of user decison step.

How can I enter all those informations in the user decision step(in tab 'Decision' I see only 4 parameters)?

Thanks in advance

Bye

Massimiliano

Accepted Solutions (1)

Accepted Solutions (1)

former_member186746
Active Contributor
0 Kudos

Hi,

I usually copy the generic standard task and add my own data to the workitem text.

If you want to display more data in the subject you might have to create some custom attributes where this data is concatenated or something like that.

Kind regards, Rob Dielemans

massimiliano_riva
Active Participant
0 Kudos

Hi Rob

thanks..but whre can i create this custom attribute?

Thanks

Bye

Former Member
0 Kudos

HI,

Create a subtype of BO using SWO1... search this forum for how to add a custom attribute to Subtype...

Regards

Gautam

massimiliano_riva
Active Participant
0 Kudos

Hi Gautam,

please provide an advice:

I create a step 'user decision ' and in the title I enter the description 'Check invoice & & blocked for price reasons see PO & and vendor &' and in parameter 1, 2, 3, 4 I enter the variables that I want to display in inbox in the work item but these four variables don't display(&INCOMINGINVOICE.INVOICEDOCNUMBER&, &PURCHASEORDER.PURCHASEORDER&....):they exist in the container (tab 'control') with all settings(Abap dictionary reference and Import/export flagged).

How can I display my description with the reference to these parameters(Invoice number, Po number..)in inbox,where I miss?

Thanks thanks in advance

Bye

Massimiliano

Former Member
0 Kudos

Hi,

the statement shoudl work...

Try this statement...

'Check invoice &1 &2 blocked for price reasons see PO &3 and vendor &4'

Did you check the workflow log.. if the containers are having values in this...

Regards

Gautam

Edited by: gautam maini on Aug 10, 2011 2:04 PM

Edited by: gautam maini on Aug 10, 2011 2:05 PM

massimiliano_riva
Active Participant
0 Kudos

I have tried but it doesn't work..when I save the message WD501 appears:'Header change not transferred to step description'

In tab 'control' ->'tab description click here'->in field workitem text(basic data) I have entered the string &_WI_OBJECT_ID.INVOICEDOCNUMBER& &_WI_OBJECT_ID.FISCALYEAR& &PURCHASEORDER& &VENDOR&, in tab 'description' I have entered a simple description(Change order items, Keep work items in inbox),in tab container I have expressions BUS2081 with objects invoice doc number and fiscal year with data type ref.objects and expression Purch order and Vendor with data type ref.objects'.

Maybe must I enter something in tab 'workitem display'?but field 'work item text for identification...' is not editable

Thanks again really

Bye

Massimiliano

Former Member
0 Kudos

Hi,

I think you should copy the SAP standard task of User Decision rather than modifying it....

Copy to the new task ... create a container for your BO in the new task.... assign the task to your User decision step...

do the binding from your workflow...

I think binding is missing for your tasks because of which values in container BO objects are missing for your task...

This will work...

Regards

Gautam

Edited by: gautam maini on Aug 11, 2011 4:01 PM

Answers (0)