cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict changing of Segment when posting FI Document

anss_shahid
Participant
0 Kudos

Dear Experts,

Segments are derived from Profit Center at the time of entering any FI document. The issue is that the user can easily change the Segment code resulting in wrong segmental reporting. For Eg:

Cost Center = CUF1012011

Profit Center = CUF1012011

Segment Assigned to PC = CUF

When posting an expense entry through FB50, the user enters the above cost center, resulting in the above profit center and segment being derived (which is correct). Now before posting this document, the user manually changes the Segment from CUF to SPF and here he is successful in posting the document with out any message being displayed.

How can we restrict this type of manual changing of segment field?

Looking forward for your expert advice!

Regards,

Anss Shahid Essani

Accepted Solutions (1)

Accepted Solutions (1)

former_member198650
Active Contributor
0 Kudos

Hi,

You have to define validation in GGB0. The prerequisite would be your profit centres which are using same segment. Define check against the segment for the above profit centres. If you find different segment then it will throw error message.

Prerequisite -   CUF1012011

Check - CUF

Message - Error

Regards,

Mukthar

anss_shahid
Participant
0 Kudos

Hi Mukhtar,

This is possible but there are around above 200 Cost & Profit Centers. It will be very difficult to map them all. Any idea on how we can give them some range?

Thanks...

former_member198650
Active Contributor
0 Kudos

Hi,

Create as a set for profit centres which have common segment in GS01 and maintain the set in the validation.

Regards,

Mukthar

anss_shahid
Participant
0 Kudos

Hi Mukhtar,

Thanks for sharing this idea. Just one more thing, I have prepared a set of Cost Centers in GS01 but how will that set be added to validation rules in GGB0. I am making the logic on line item level.

Regards,

Anss

anss_shahid
Participant
0 Kudos

Thanks Mukhtar for your ideas and support. I have successfully developed the validation.

Regards,

Anss

Answers (0)