cancel
Showing results for 
Search instead for 
Did you mean: 

input a internal Order number in Sales order header

0 Kudos

Dear All,

Could you please help me with the below requirement :

How to input a internal Order number in Sales order header?

We can do it at the item level ,but here the requirement is at header level.

Is it possible through SHD0 Screen Variant?

Regards,

Anjli

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200027
Active Participant
0 Kudos

Hi Anjli,

In the standard, you cannot enter an internal order number (COBL-AUFNR) on header level, only at item level. VBAK-AUFNR at header level is used for service processes (resource-related billing) and it has nothing to do with the account assignment at item level.

The field selection logic for the account assignment screen of the sales order is hard-coded in the following programs:

FV45PF0C_COBL_SEND_PBO_VBAK (header level)

FV45PF0C_COBL_SEND_PBO_VBAP (item level)

You can use the following user-exits in order to change the standard field selection logic:

USEREXIT_COBL_SEND_HEADER (MV45AFZB)

USEREXIT_COBL_SEND_ITEM (MV45AFZB)

Best regards,

Crystal Lin

sez41
Active Contributor
0 Kudos

Hi

It is not possible in standard, as internal order is only in sales order item level. you have to create a Z-field for this purpose:

0 Kudos

Hi Kivanc,

Thankyou so much for your reply.

There is AUFNR field in VBAK table...Can we make it as required through Screen Variant?

Regards,

Anjli

jignesh_mehta3
Active Contributor
0 Kudos

Hello Anjli,

Would you not like to try to mark the said field mandatory in Screen Variant (SHD0) yourself and update the result in the forum or ask specific question?

Thanks,

Jignesh Mehta.

0 Kudos

I tried it through screen variant, but that didn't work.

jignesh_mehta3
Active Contributor
0 Kudos

Exactly, that is why you have the suggestion from Kivanc & Crystal to create the Z-Field and relevant development as mentioned in the link.