cancel
Showing results for 
Search instead for 
Did you mean: 

Pop-Up in VA01: Sales order creation

Former Member
0 Kudos

Hi,

We need to have specific requirement while creating the Sales Order.

In the sale order when the user entered a line item material and quantity there is a standard functionality to check the material availability at that time if the stock is less there is a requirement to throw a Pop-Up screen with some values.

We wanted to achieve this with the help of a user exit, which will look at the material and qty of each line item and then show a pop-up.

So wanted to know which is the actual user exit which we can use to achieve above requirement

/Mike

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Manik,

I am not sure if this helps ypu. but vjust check it out

USEREXIT_SAVE_DOCUMENT_PREPARE

This userexit is used to insert the ABAP code which will be called when

the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.

check it out and let me know

regards

balu

Former Member
0 Kudos

HI,

Check these exits very useful.

User exits in program FV45VFZZ

USEREXIT_ADD_FIELD_TO_HEADER

USEREXIT_ADD_FIELD_TO_LINE

User exits in program FV45VFZY

USEREXIT_DELIVERY_GROUPS

USEREXIT_MVERF_INIT

USEREXIT_QUOTA_KEY_VALUE

User exits in program RV03VFZZ

USEREXIT_AVAILABILITY_IN

USEREXIT_AVAILABILITY_OUT

USEREXIT_DARA_REFRESH

USEREXIT_PLANT_SELECTION

Regards,

kishore.SGR

Former Member
0 Kudos

Hi,

In the ATP check screen there is a Button 'Continue' once you press that the Main screen of the Sales Order is displayed, At the time the main screen is displayed along with it , I want to display a pop-up screen. That is the main requirement.

@ Prakash, we tried doing that but system is not showing any pop-up its only replacing it automatically

@Kishore could you suggest any particular user-exit one thing to note in this context is that during all this processing the screen event is PAI all the time

/Mike

jpfriends079
Active Contributor
0 Kudos

Try with A or B option also.

Regards

JP

jpfriends079
Active Contributor
0 Kudos

Use Tcode OVZJ and put option C there & save based on your requirement. This filed defines result of AvC in sales order.

(Rule for transferring the results of the AvC check - Specifies for a particular sales area how the system reacts when the availability check determines that the inventory is insufficient to satisfy the order quantity. When inventory is insufficient, the system can react in one of two ways:

-The system presents a pop-up window and you choose from different alternatives, or

-The system automatically proposes one of the alternatives (no pop-up window appears)

For instance, the system can automatically confirm the delivery proposal. The delivery proposal consists of the quantity that is available for delivery by the requested delivery date.)

Also make sure in OVZ8 you have ticked AvC for your sch line cat.

In VOV8, for the sales document type check propose delivery date and lead time in days fields. Make this fields unchecked and empty. Also check in the customer master - Sales area - shipping tab, the box complete delivery by law is NOT checked and in the field partial delivery per item is blank (partial delivery allowed).

Hope it can assist you.

Thanks & Regards

JP