cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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,

ibrahim-gad
Participant
0 Kudos

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

Former Member
0 Kudos

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