Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Help needed on Validation exit GGB0

Hi Guys,

Pls suggest how can i go about using exit validation for callup point 3(complete document level).

i am trying to call form U101, but its not getting called.

below is the code for this form.

----


  • FORM U101 *

----


  • Example of an exit using the complete data from one *

  • multi-line rule. *

  • This exit is intended for use from callup point 3, in FI. *

  • *

  • If account 400000 is used, then account 399999 must be posted *

  • to in another posting line. *

----


  • --> BOOL_DATA The complete posting data. *

  • <-- B_RESULT T = True F = False *

----


FORM u101 USING bool_data TYPE gb002_015

CHANGING b_result.

DATA: b_acc_400000_used LIKE d_bool VALUE 'F'.

    • Has account 400000 has been used?

  • LOOP AT BOOL_DATA-BSEG INTO BSEG

  • WHERE HKONT = '0000400000'.

  • B_ACC_400000_USED = B_TRUE.

  • EXIT.

  • ENDLOOP.

*

    • Check that account 400000 has been used.

  • CHECK B_ACC_400000_USED = B_TRUE.

*

  • B_RESULT = B_FALSE.

  • LOOP AT BOOL_DATA-BSEG INTO BSEG

  • WHERE HKONT = '0000399999'.

  • B_RESULT = B_TRUE.

  • EXIT.

  • ENDLOOP.

**************************

lemi knw the process to call validation exit at complete document level (callup point 3).

actually i am not able to pass parameter bool_data. plz suggest wht do v do for tht.

Rgrds,

Prash

Edited by: Prashant Malik on Sep 11, 2008 12:00 PM

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question