I have already posted this question in the SRM Forum.
We are using SRM 5.0. I am trying to create a backend PO. SRM defines the standard PO with a doc type as 'EC' and the same in ECC is defined as 'ZSTD'. This is getting created perfectly. Absolutely no problem
I am trying to create other POs from SRM to ECC:
"Blanket PO - Doctype ZBPO"
"Exemption PO - Doctype ZEPO" etc
I am able to select different types of POs from the drop down from the SRM screen. But when I am debugging, I always get the doc type as 'EC' regardless of what ever type of PO I select from SRM screen.
Why am I getting same DOCTYPE for different POs from SRM?
I am implementing the BADI "BBP_CREATE_BE_PO_NEW"