cancel
Showing results for 
Search instead for 
Did you mean: 

making Text mandatory in Billing VF01

Former Member
0 Kudos

hello people,

i have made cheque number and one other field as text as it was not there in the transaction VF01.

now i want to make it mandatory

please guide how to do it

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I thin there are a couple of options

- use any exit in VF01 which works at invoice save (like userexit_number_range), retrieve texts and raise error message if your text is missing... which will prevent invoice save.

- use any of exits in SD-FI andprevent accounting doc posting if your text is missing - invoice will be saved though. The users can correct invoice and release it to accounting.

Former Member
0 Kudos

thanks Siarhei

i was checking the userexit_number_range with a break-point

it was not going to the debug mode

would it work in this cas

please guide what can be done

also on modifying userexit_number_range the program is asking for the access key

will that user exit require an Access key ?

Former Member
0 Kudos

You can use either userexit_number_range_inv_date (RV60AFZC) or

userexit_number_range (RV60AFZZ).

The first one if defined has priority.

Check FM READ_TEXT, I believe your object will be VBBK.

text id - is the number of your document (or document/item if it's item text).

You can try to call READ_TEXT or jsut look in this FM how SAP selects text form memory (these texts are not saved yet). There are statements import catalog from memory, then build emory key & import import thead to header tline to lines

from memory id memory_id.... after that your header & lines have your texts.

Yes, you need access key for the object if it's modified first time - ask your BASIS to provide one.

rmazzali
Active Contributor
0 Kudos

You cannot make it mandatory only in invoice but you can in the sales order:

goto tcode VOTXN and mark your text ID in the text sequence as mandatory (X or Z)

pls. reward if helpful

regards

roberto

Former Member
0 Kudos

thank you Sir,

but I am not able to get it after reaching the Transaction

on accessing the Billing RADIO BUTTON on the first screen

i am going inside to a display having

TEXT PROCEDURE

ACCESS SEQUENCE

TEXT SEQUENCE ASSIGNMENT

for SALES ORDER i am having an option of making it obligatory

but for Billing I am not getting it

can u guide thru the whole procedure

please Sir as it is urgent

rmazzali
Active Contributor
0 Kudos

Hi Nitin

You cannot make it mandatory in invoice but you can only in the sales order.

Sorry

Roberto