Skip to Content
avatar image
Former Member

FBCJ - entry to be posted on current date and 1 day before date only

Dear All,

We have a peculiar requirement for restricting user to pass back date entries except( current date and one day before only).

We have got validation OB28 for allowing the user to pass the entry in current date only , but purpose is  not serving.

How can we full fill this requirement for both current date and the previous date.

Regards

Hemangi B

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 28, 2015 at 05:55 AM

    Hi Boddu,

    You can write condition like Posting Date less than CPU date (BKPF-BUDAT < SYST-DATUM) in check. Still if you want to control with no of days, please contact your abapper to develop user exit as per your requirement and use in check.


    Regards

    MG

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2015 at 06:01 AM

    Hi,

    In the validation please use an exit , so that you can put some logic inside.

    please make sure t-code GCX2, you have maintained the Z program(copy the sap program to a Z* version for GBLS). Inside this z program, you create an exit and include your validation check, and you can put complex logic.

    Thanks,


    Exit.png (42.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Hello Yahui Liu,

      what do suggest in below case?

      validating FI posting will restrict FI posting indeed but, in the other hand

      if the statement check was false, FBCJ entry will be saved and posting date will be no longer editable

      with printing status on the document; we won't able to delete it or post it due to validation.

      what do think of this situation? as our business won't agree to implement note: 359656 due to the security requirement.

      Thanks,

      Ibrahim