Skip to Content
0
Former Member
Apr 08, 2011 at 11:57 AM

FV50 should only allow to park and Fbv0 should allow to post

1762 Views

Dear Gurus

We have a requirement where we want users to park document via transaction via fv50 and post via fbv0, as transaction fv50 does allow users to post , I have tried to create transaction variant shd0 and hidden posting option but user still able to post it via simulate and post

then I have tried following

IF sy-tcode = 'FV50'.

t_exctab-okcod = 'BU'. " do not allow to post

APPEND t_exctab.

ENDIF.

this does remove post option from fv50 but the problem is , we can not post parked document via fbv0, as this uses same trans fv50 in background,

any suggestion will be highly appreciated,,