11-19-2013 7:03 AM
Hi All,
How can we default an asset in ME51N based on account assignment choose by users while creating PR ?
Thanks,
Kishore P
11-19-2013 7:14 AM
You can use explicit enhancement option
check_codingblock_01 for the same. If you will check in PAI after you press enter there are various implicit enhancement options in subroutines for COBL fields
11-19-2013 7:14 AM
You can use explicit enhancement option
check_codingblock_01 for the same. If you will check in PAI after you press enter there are various implicit enhancement options in subroutines for COBL fields
11-19-2013 7:29 AM
Hi Nabheet,
Could you please explain little bit breafly ? Thanks alot.
11-19-2013 7:35 AM
Go to program SAPLKACB--> Screen 1101--> module PAI_CHAIN->form PAI_pai_chain->
PERFORM check_codingblock.
Put a break point inside this subroutine and check if SAP code gies here once you press enter-> If yes in you will see fields COBL structure. In debugging try to asign asset. If it works. Than simply you can create an implicit enhancement inside check_codingblock subroutine and update values
11-19-2013 7:43 AM
Hi Nabheet,
I am sorry to say, debugging not going to this coding block.... Have to find out other solution.. Thanks for your support/Suggestions.
11-19-2013 7:50 AM
Can you please attach a screen shot of accounting tab...do you see individual fields or a table control..? Seconldy try one thing enter accounting detail and before pressing enter do a /H to check where control goes. You will have to search for some implicit enhancement place where you can modify the things
Nabheet
11-19-2013 8:04 AM
I didnt see any subroutines... instead i see all methods etc.. Please suggest further. Thanks
11-19-2013 8:12 AM
You could also check BAdI ME_PROCESS_REQ, look for methods like PROCESS_ACCOUNT, there use methods like GET_EXKN[X] and SET_EXKN[X] on received reference parameter IM_ACCOUNT.
Regards,
Raymond