Application Development and Automation 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: 
Read only

Sample Code for Order Updation

Former Member
0 Likes
465

Hi Experts

I have a requirement , when ever I save a particular Type of Sales Order say ZRAB ,(which is basically a credit note ) , I need to update the Header->text .

Now I want whenever a user creates ZRAB Order and if he dont update the Text part the Order would throw error as " Please update the text with Original Invoice No.".

How to proceed ?

Thanks

MM_sD

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
413

Hello,

No need for code change. You can maintain the text as mandatory through tcode 'VOTXN'. Select sales doucment header - Change.

There itself you select your Text Procedure and select "Text ID's in Text Procedure" in the dialog structure and maintain your text IDs and mandatory as "Text is Obligatory". then assign your text procedure to the relevant sales document type in "Text Procedure Assignment".

Hope that will help.

Thanks,

Arpit Agarwal

1 REPLY 1
Read only

Former Member
0 Likes
414

Hello,

No need for code change. You can maintain the text as mandatory through tcode 'VOTXN'. Select sales doucment header - Change.

There itself you select your Text Procedure and select "Text ID's in Text Procedure" in the dialog structure and maintain your text IDs and mandatory as "Text is Obligatory". then assign your text procedure to the relevant sales document type in "Text Procedure Assignment".

Hope that will help.

Thanks,

Arpit Agarwal