Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit or Badi for FB75

sivag_s
Explorer
0 Kudos

Hi Experts,

In FB75 Item Details, I have to make 'Order Number' Number as Mandatory. I tried in FHB0, but the issue is its showing error message to fill Order Number for all the empty rows. How can I achieve this? Is there any User Exits or BADI to achieve this?

Thanks in Advance.

14 REPLIES 14

Former Member
0 Kudos

hi

try this BADI_FDCB_SUBBAS01, it may helpful...

Regards,

Vamshi

Hi Vamshi,

Thanks for you reply.

I used this BADI, but when i set Breakpoint, control is not coming into the implementation.

Former Member
0 Kudos

Hi

Please try any one of the Below exits.

F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment

F050S002            FIDCC1: Change IDoc/do not send

F050S003            FIDCC2: Change IDoc/do not send

F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send

F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document

F050S006            FI Outgoing IDoc: Reset Clearing in FI Document

F050S007            FIDCCH Outbound: Influence on IDoc for Document Change

F180A001            Balance Sheet Adjustment

FARC0002            Additional Checks for Archiving MM Vendor Master Data

FEDI0001            Function Exits for EDI in FI

RFAVIS01            Customer Exit for Changing Payment Advice Segment Text

RFEPOS00            Line item display: Checking of selection conditions

RFKORIEX            Automatic correspondence

SAPLF051            Workflow for FI (pre-capture, release for payment)

Regards,

Kalyan.

Former Member
0 Kudos

Hi Sivag,

You can made it through validation in OB28.

You can also create a screen variant for TCODE FB75 where the field Order number is mandatory.

Regards,

Ashvin

0 Kudos

Hi Nanreshing,

Thanks for your reply. I need to set Order number mandatory only for particular user. In OB28 it becomes mandatory for all users. I missed to add this point above. How can I achieve this.

0 Kudos

Hi Sivag,

Do a implicit enhancement at the PBO of target screen.

And use 'loop at screen' to make the field mandatory based on your requirements(if row is not empty, user name, etc..).

Regards

Sreekanth

0 Kudos

Hi Sreekanth,

Could you please explain me in details. Thanks in Advance.

0 Kudos

is that a table control?

then press F1  and then F9 on any field in table control to find out the screen number.

Double click on screen, see snap,

Find a place inside 'loop endloop'(of table control) at PBO. You might found any perform.

inside form do implicit enhancement.

For that use spiral button on application tool bar.

Then Edit->Enhancement Operations->Show Implicit Enhancement Options

AnoopMayamkote
Participant
0 Kudos

Use Fi validation Rule in tranaction OB28

raymond_giuseppi
Active Contributor
0 Kudos

Well as already written by Anoop, you could use validation (OB28, Tools, Validations, Substitutions, and Rules, Formula Builder) but why did the functional not adapt/correct the field status group definitions ((General Ledger Accounting (FI-GL), Posting (FI), Screen Layout, Using Field Status Definitions for Screen Layout, Defining Field Status, I suppose they already allow input of order nulber else you got a problem)

Regards,

Raymond

0 Kudos

Hi Raymond,

Thanks for your reply. I tried in OB28 as below but its not working, Could you please explain me in detail

BKPF-BUKRS = 'NPIN' AND SYST-TCODE = 'FB75' AND

BKPF-SNAME = 'xxx

BSEG-AUFNR <> '''

Thank You.

0 Kudos

Did you activate the rule under OB28 : Did you used call point 2 "Line Item", for company code "NPIN" (so no need to check in the rule ?) and activation level 1. There did you create a step with those prerequisite (you can replace BKPF-SNAME WITH SYST-UNAME for your test and use actual user name in uppercase) and the check for error must be BSEG-AUFNR <> " " then did you add an error message.

For detailled information (e.g. how to set a break-point) there is a reference note : 842318 - Frequently asked questions about validations and substitutions. (Execute FM G_CLIENT_ENCODE to convert client to 2 characters, generated include for FI validations will be GBT + those 2 characters + FI0.)

Regards,

Raymond

0 Kudos

Hi,

Thanks for your reply, I am not able to check blank values in substitution rule. Please tell me how can I check for Blank value. Thank You.

0 Kudos

Click on "constants" and input one space, a ' ' will pop in the check area.

Regards,

Raymond