SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Report to move-out an IS-U contract

Former Member
0 Kudos
1,048

Hello!!

I need to do a report to move-out some contract from ever. I have tried a lot of things but nothing seems to work. Could anyone help me, please?

Thanks in advance!!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
610

Hi,

Sorry, I could not follow your question properly. However, if you want to know how to determine contracts where move-out has happened in a given period... then logic is:

you need to get all contracts from ever table where AUSZDAT (move-out date) is between period start date and period end date.

Regards,

Avinash

View solution in original post

13 REPLIES 13

Former Member
0 Kudos
611

Hi,

Sorry, I could not follow your question properly. However, if you want to know how to determine contracts where move-out has happened in a given period... then logic is:

you need to get all contracts from ever table where AUSZDAT (move-out date) is between period start date and period end date.

Regards,

Avinash

0 Kudos
610

Hello!

I need to "cancel" all the contracts from a determinate BUKRS. All the contract's BSTATUS from that BUKRS should be become to '92'. I have found some functions like "ISU_DB_MOVE_OUT_SELECT_CONTR" but when I try to use it, I get an exception because there are no values in EAUSV for that contract. Any idea?

Thanks a lot!

0 Kudos
610

Hi,

BSTATUS field can be only used for reporting processes. However, if you want to update EVER-BSTATUS field then please try using ISU_S_CONTRACT_CHANGE function module. You need to populate all values by using ISU_S_CONTRACT_PROVIDE function module and update BSTATUS value while calling ISU_S_CONTRACT_CHANGE.

Regards,

Avinash

0 Kudos
610

hi,

Thanks a lot for your time. I'm really grateful to you. I have used them and they have finished without any problem, everything seem to work well but EVER doesn't update. Do you know if it should be updated at the moment or takes longer'?

Thank you, thank you, thank you!!!

0 Kudos
610

Hi,

At the end, EVER has changed but it's not exactly what I want to. I need a function that move out the contract. That is not only to change BSTATUS, for example, that must change AUSZDAT too and cancel everything involve to the contract. Do you know if there is any function like that?

Thank you!!

0 Kudos
610

Hi,

Please check the BOR object MOVEOUTDOC and the method 'CreateFromData' linked with it. This method uses FM BAPI_ISUMOVEOUT_CREATEFROMDATA which will change the AUSZDAT and trigger the move out. You can directly call this BAPI also to trigger move out.

Hope this helps.

Thanks.

Nirmalya

0 Kudos
610

Hi,

You can use BAPI function module BAPI_ISUMOVEOUT_CREATEFROMDATA to perform move-out. Remember, we need to call COMMIT WORK after BAPI function call.

Good to know we could able to help you. All the best!

Regards,

Avinash

0 Kudos
610

Call BAPI_TRANSACTION_COMMIT afterwards.

0 Kudos
610

hi,

That was the first thing I tried but I always got a return error (I think it was number 554 but I won't be able to look at it until Monday). I think I had the problem creating "tmeterreadingresults". Is there any function to create it?

Thanks!!

0 Kudos
610

Hi,

According to me, if you are not passing any value to TMETERREADINGRESULTS internal table, then program will create an open meter reading order for move-out.

If function module is failing, please share RETURN values with us, we will be able to guide you further.

All the best!

Regards,

Avinash

0 Kudos
610

Hi,

This is the return I got:

TYPE E

ID EL

NUMBER 554

MESSAGE Upload índice: Actualice una tabla con los datos

LOG_NO

LOG_MSG_NO 0

MESSAGE_V1 0

MESSAGE_V2

MESSAGE_V3

MESSAGE_V4

PARAMETER

ROW 0

FIELD

SYSTEM D12_200

Thanks a lot,

Verónica

0 Kudos
610

Hi,

This indicates that you need to append values in TMETERREADINGRESULTS table. Please pass corresponding material, serial number and register for contract. MRREASON as 03 and date as move-out date. If you have move-out meter reading, then please pass same to READINGRESULT else, you need to provide meter reading note.

Hope this will work.

Regards,

Avinash

0 Kudos
610

Thank a lot for your help, Avinash!! You have been really helpful. I wish you all best!!