cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the function module- /MRSS/SGE_API_ASSIGNMENT_CRE

0 Kudos
1,291

1.png2.png3.png4.png5.png6.png7.png

1. We are executing the variant with the entries as shown in the Screenshot 1

2. Have given the entries in the variant as shown in the 2nd Screenshot. Is that correct?

3. We executed the FM with our variant & the results show that an assignment has been created

4. Screenshot 4 shows the Result of the entry Created

5. Screenshots 5, 6 & 7 shows the Result of the entry Created. However, we can not find this anywhere on the table level, or Tcode level.

Could you please help us with the information that, from which tables & FMs do we need to get the correct field values for GUIDs, BEG_TSTMP, END_TSTMP & the other fields to input into this FM & get the correct results? Please help us to get the required results from this FM.

Thanks in Advance!

Accepted Solutions (0)

Answers (9)

Answers (9)

0 Kudos

I was also looking for the place in SAP where the link to service order and this GUI was made. I needed the info to display service order data in the tiptool text in MRSS.
What I have done now is:

* to add new field in table /MRSS/D_DEM_INFO in the append section for the service order number

* Maintain /MRSS/V_WL_F for the the new field

* Maintain view /MRSS/V_WL_F_G to add the new field and subobject INFO.

* Fill the service order number with coding in class /MRSS/IF_EX_RSG_PM_INT

Then I have a link in the table /MRSS/D_DEM_INFO to a service order which I can - just like you - not find in any standard SAP table.

0 Kudos

Trial 1-

Chose the resource key as follows-

Chosen the rest of the fields as follows-

Filled in the fields as follows in the FM-

& Executed-

But we get the following error with message ID 029-

Tried with many other Personnel Numbers, but keep getting the same message.

Trial 2-

Choosing the resource key as follows-

& remaining all the other fields from the table /MRSS/D_DEM_H (as advised by you)-

& when we execute, FM goes into dump-

0 Kudos

Hi Abdul,

Gave a list of Orders in the "ID" field, please see the screenshot attached.

Regards,

Rajanitha

0 Kudos

Hi Rajanitha,

Please provide the input as *6010389* in the demand ID field.

Please give * before and after the Demand ID and execute.

Thank You

Abdul

0 Kudos

Hi Ranjitha.

Field "ID" in table /MRSS/D_DEM_H takes 12 characters. Prefix the order number with required numbers of zeros and then try to enter. The table should give output now.

Thanks,

Indranil.

former_member763929
Participant
0 Kudos

Thanks for coming to SAP Community for answers. Please post your question as a new question here:

Since you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.

Please note, that your post here won't be answered.

0 Kudos

Hi Abdul,

Yes, the table doesn't accept when we input a service order in the demand ID field- It shows no entries.. So not really sure what should be the inputs in the tables to get the desired field outputs.

Regards,

Rajanitha

0 Kudos

Hi Rajanitha,

Have you tried giving the order number in the ID field.

Please provide the value to field ID with *Order no* and execute.

For example, If the order number is 4000910, please provide the input as *4000910* in the ID field and execute.

If still you are facing the issue, please provide the screen shot with which you are executing the table.

thank You

Abdul

0 Kudos

Hi Abdul,

It still didn't work.. We request you to please help us on this as we are stuck on a CR & its escalated.. we don't have the proper MRS consultants to be helping us here.

What we are trying here is, the assignment of a technician to the service order operation/demand will happen in Microsoft Azure, which should be reflecting back in SAP in the MRS Planning board & the service order. Request you please help us with a solution on this..

Thanks & Regards,

Rajanitha

0 Kudos

Hi Rajanitha,

Were you not able to see the table entries with the input provided.

Thank You

Abdul

0 Kudos

Hi Abdul,

Tried that but table didn't have entries..

Thanks & Regards,

Rajanitha

0 Kudos

Hi Rajanitha,

Please provide the value to field ID with *Order no* and execute.

thank You

Abdul

0 Kudos

Hi Abdul,

We tried accessing the table /MRSS/D_DEM_H but are not able to find the link between the Service Order & its relevant fields for GUID, Start & End time.. What should we input in the table /MRSS/D_DEM_H to get the relevant data for the respective service Order?

Your response awaited.

Thanks & Regards,

Rajanitha

0 Kudos

Hi Rajanitha,

What should we input in the table /MRSS/D_DEM_H to get the relevant data for the respective service Order?

You can provide input as ID, the service order number.

Thank You

Abdul

0 Kudos

Hi Ranjanitha,

Please pass the below values from the tables to the FM to create the assignment.

The assignment created can be seen in the table

/MRSS/D_BAS_asg

Resource key -

/MRSS/D_BAS_RES-RESOURCE_KEY

Orderno -

/MRSS/D_DEM_H-ID

Demand_key-

/MRSS/D_DEM_H-GUID

Beg_tstmp-

/MRSS/D_DEM_H-BASIC_START

End_tstmp-

/MRSS/D_DEM_H-BASIC_END

Thank You

Abdul

0 Kudos

Hi Rajanitha,

Below are some of the tables which are related to assignment and demand and resources.

/MRSS/D_BAS_ASG - MRS Basis Assignments

/MRSS/D_DEM_H - Complex Demand

/MRSS/D_BAS_RES - Resource Master Data

Thank You

Abdul

0 Kudos

Hi Abdul,

This information is on a very high level, we need the actual values to pass in the FM & where to get those values from, to actually create an assignment, is what we are trying to ask here...

Regards,

Ranjitha