call transaction 'VA01' and skip 1st screen (passing values for 2nd screen)
My requirement is as follows:
On ALV report output, on double-clicking for a record displaying KUNNR,
Call transaction VA01 directly and skip first screen.
Fill first screen with values :
Order Type = ZOR (always)
Sales Organization = ZPCOSD_SALE_PLAN-VKORG
Distribution Channel = ZPCOSD_SALE_PLAN-VTWEG
Division = ZPCOSD_SALE_PLAN-SPART
At the second screen, fill value Sold-to party with ZPCOSD_PLAN_ALV-KUNNR
(please ignore the z.... tables)
I have managed to achieve the desired result using SET/GET parameters for all first screen values using appropriate parameter IDs.
But, the same logic doesnt work for Sold- to party value on second screen of VA01.
i.e. I am not able to fill the Sold-to Party field.
Please suggest a way.
Thanks & Regards,