cancel
Showing results for 
Search instead for 
Did you mean: 

Approving Multiple records in SUP2.0 Workflow

Former Member
0 Kudos

Hi All,

i want to approve multiple records from SUP 2.0 workflow and send it to SAP backend. i have defined keys and child parameters in xbw file. the list view from whisc records are to be retrieved is not a default sybase generated list, but it is developed using custom.js file. i am unable to link the values of this list to key's defined in xbw file. can anybody provide me some solution for this as so how to link the keys with data in custom.js file. and then send this data to SAP backend as a structure.

thanks in advance.

Regards,

Kartik

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kartik,

Please explain your problem little more briefly, the list itself not coming or the problem with sending the data to SAP backend as a structure.

Regards,

Ram

Former Member
0 Kudos

Hi Ram,

Thank you for your reply. currently i am facing two problems:

1. i have to pass multiple data to the sap backend as a list. when i use a default sybase generated list i can define child parameters and map it to the records in the backend. but when i try to approve multiple records, the records are not getting updated. in the sybase server logs i can also see the values that i have passed. it does not give any error either. there is no way that i can find out what is causing failure of multiple records not being approved.

if the first problem gets resolved, my second issue is:

2. i dont have to use a default sybase list, but i have to create a table using custom.js and send records from that to the backend. i have already created a table. but as in the first case where i was able to map the list values to child parameters, i am unable to do the same in the second case.

even if the first issue gets resolved i can think of solving second one. please do provide your valuable inputs on the same.

Regards,

Kartik

Former Member
0 Kudos

Hi,

Multiple records in the sense one header with multiple line item or multiple header with single or multiple line item??

Regards,

Ram

Former Member
0 Kudos

Hi Ram,

By Multiple records i mean two things:

1. one header with multiple line items

2. multiple header with multiple line items.

In both the above cases, the input to a SAP backend would be a list view which can be generated from sybase given wizards.

i will give you a typical scenario which will make your understanding more clear on this:

Scenario

I as a manager would want to approve time sheet activities submitted by employees working under me. i can get either a weekly report, which would correspond to a single row in a list view. this weekly report would have total number of hours spent by an employee in the entire week. on clicking this, i can also view details of individual day, that is i list view again with day(monday, tuesday and so on), some primary key, which would uniquely identify that row, and no. of hours for a particular day. now i want to pass this entire list to the backend, so that all the daily details are approved at one go. in order to do this, i can pass either one header with multiple line items(primary key, which would uniquely identify that row) or multiple header with multiple line items i. e all the 3 headers like day, primary key and daily hours.

i hope this should give you a clear understanding of what i am looking for.

Regards,

Kartik