Skip to Content
author's profile photo Former Member
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 .



siddharth neekhra

tch cnlt

Add a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

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


    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.


    Message was edited by: Shehryar Khan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      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.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.