Question:
Hi all,
I have a requirement where i need to create contract using transaction ME31k using BDC. The problem is that the screen sequences and infact the screen appearance is dependent on the Agreement type that is specified in the initial screen.
How can i handle this? Please help me.
Thanks & Regards,
Lakshmi
Answer:
Hi all,
I have a requirement where i need to create contract using transaction ME31k using BDC. The problem is that the screen sequences and infact the screen appearance is dependent on the Agreement type that is specified in the initial screen.
I dont want to put condition for agreement type and based on it call screens as i dont want to use hardcoded values.
Suggest me any bapi that can be used for this requirement. I have seen bapi_contract_createfromdata which does not suit my requirement.
How can i handle this? Please help me.
Thanks & Regards,
Lakshmi
Answer:
You look at the Agreement type being entered and then using a series of case statements (or if's if you must), call procedures that populate the screens as you require them.
The recordings that you get from SHDB can only be used in the simplest of BDC's. Other than that they are for guidance only.
_________________
Regards
R
Abap KC
SFMDR