Skip to Content
author's profile photo
Former Member

fi exit or workflow ?

Hi friends

i got a requirement -> 'in f-02 the document type should be automatically taken after selecting the GL account no.'.

i have searched user exit for that but hav'nt got uptill . plese suggest me wheather any exit is available for that or i have to go for workflow for that .

thanks

regards

siddharth neekhra

tch cnlt

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Posted on Feb 23, 2005 at 09:18 AM

    Hi Siddarth

    i think, it's not possible to change the doc.type with a field exit after filling the account in the 1st posting-line, because posting-head is ready to this time and not changeable in SAP-Standard:

    You 've to fill doc. type at first and then the first positng-line !

    A possible solution might be to add a small report/dialog to fill account

    and deduce doc.type and then work with "call transaction 'F-02' using bdcdata mode 'E' ".

    Regards Andreas

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Feb 22, 2005 at 06:27 AM

    Hi,

    I think you should rather try a FIELD EXIT. Run report RSMODPRF from SE38, select the respective data element and implement your logic.

    When you run the report, take a look at its Documentation for further details.

    Regards

    Message was edited by: Shehryar Khan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Are you having trouble in exporting value (sy-subrc = 4) or while importing it? Any way, you can try EXPORT <field> TO SHARED BUFFER .... or EXPORT TO DATABASE... Look at the documentation for EXPORT statement for correct syntax.

      Hope it helps.

      Regards