2011 Jun 02 4:48 PM
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!!
2011 Jun 02 5:00 PM
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
2011 Jun 02 5:00 PM
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
2011 Jun 03 8:35 AM
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!
2011 Jun 03 9:32 AM
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
2011 Jun 03 1:11 PM
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!!!
2011 Jun 03 1:56 PM
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!!
2011 Jun 03 4:12 PM
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
2011 Jun 03 4:31 PM
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
2011 Jun 03 4:34 PM
2011 Jun 04 11:05 AM
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!!
2011 Jun 04 7:15 PM
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
2011 Jun 05 6:27 PM
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
2011 Jun 05 8:22 PM
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
2011 Jun 06 10:24 AM
Thank a lot for your help, Avinash!! You have been really helpful. I wish you all best!!