SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DBM - Job order fields Non editable after Billing.

Former Member
0 Kudos

Dear Experts, I would like to understand how to make the fields read only(Non editable) in DBM Job order once the billing is completed. The action - ORD_CLOSE & ACTIVITY_CLOSE is maintained in the action control for relevant access sequence ( for Event BILLING_CREATE). Also subsequent event ACTIVITY_CLOSE  is maintained for Event - BILLING_CREATE. Request you to help me with suggestions. Regards, T.R.S.Praveen

9 REPLIES 9

SachinX
Advisor
Advisor
0 Kudos

Hi Praveen,

Once the billing is completed with the configuration shared by you the order will get closed & all the fields will be in the display mode.

When you say Job order fields non editable means in display mode correct?

Can you please list down the fields labels / field names which are editable after the event which you want to make non editable?

Regards,

Sachin Balmiki

Former Member
0 Kudos

Hi Sachin,

Thanks for your reply.

Please find the screen shot after create billing.

Still the fields are showing editable in change mode.

Ideally these fields should turn non editable after create billing, Similar to that of Display mode as per below screen shot.

Please revert incase you need any further information.

Regards,
T.R.S.Praveen

0 Kudos

Hi Praveen,

Please check the status of the order for the item of the order which you have already billed but the item is still showing as editable.

Go to table :/DBM/OE_VBAPST

Enter order number & Item number & check the status for the action BILLING_CREATE.

If the status is set as "C" then the item should not be editable if it is either "B or A" the billing has not been created & this the item is showing as editable.

There might be some custom badi implementation which is getting called in the action "BILLING_CREATE" which might be avoiding the status to set to "C"

Regards,

Sachin Balmiki

0 Kudos

Hi Praveen,

Is the issue resolved, let me know if you find any clue?

Regards,

Sachin Balmiki

Former Member
0 Kudos

Hi Sachin,

Sorry for delay in reply.

No, the issue still exists.

Please note

If we select any of the item after the billing action is completed then the fields are not editable.

But,without selecting any items if we check in the item tab then some fields are showing editable. Although it is not allowing to insert any new line item, the fields should ideally be freezed after billing action.

Please find the below screen shot .

As suggested by you I have checked the status of action in BILLING_CREATE in table - /DBM/OE_VBAPST. It has set to "C" (Completed).

Also the status for billing action in order header in table /DBM/OE_VBAKST  is set to "C" (Completed).

Regards,

T.R.S.Praveen

0 Kudos

Hi Praveen,

Well as per my understanding standard DBM functionality is such that once the Billing_Create event is sucessfull that mean status is updated as "C" in the table, then generally the status "ORDER_CLOSE" event also will show the status as "C" provided there isn't any warranty claim open for the order.

Now once both the event status is set as "C" in the header table & item tables, then it editable fields which you are able to see should not be the behaviour.

Standard behavior is that it will not allow to even show those fields editable & provide an option to fill an item.

Have you check whether there is any custom BADI implementation against Action BILLING_CREATE or against ORDER_CLOSE?

Which version of DBM are you implementing 7.0  or 8.0?

Regards,

Sachin Balmiki

Former Member
0 Kudos

Hi Sachin,

Working on version DBM 7.0.

As suggested we are checking for custom BADI Implementation for BILLING_CREATE ,ORDER_CLOSE. Will revert back if we get any get any clue.

Regards,

T.R.S.Praveen

Former Member
0 Kudos

Hi Sachin,

Just a query - Will the status ID of any action can have impact on read only/editable fields?

Kindly Suggest.

Regards,

T.R.S.Praveen

0 Kudos

See there are two kinds in which the status is assigned to the action.

If it is defined in the detail view of the action as shown below, then this status gets updated for the order once the action is executed.

If the action assigned to the action in the status tab against the action as shown below, then in that case the action can be executed only if the prerequisite defined in this status is fulfilled.

So status ID can definitely impact the issue you are are encountering.

Regards,

Sachin Balmiki