on 05-11-2007 9:06 PM
I have a require where a text message will popup when a user tries to insert a new line item into an existing sales order. (VA02). This popup message is stored in customer master text field. I have a require to write small code using VOFM text.
The details are as follows.
have requirement from the business that whenever a user tries to add a line item to the existing sales order (VA02), a pop up message should appear as instruction. (No hard Stop). This message is stored in the customer master text information.
I have made all necessary config and need to complete this VOFM routine which I need to assign this to the access sequence of the text determination.
My config details are as follows;
Text ID created at both customer as well as Sales Item ZNLN
The access sequence object ID KNVV_ZNLN.
I need to add the appropriate code to say that whenever an insert of new line item in VA02, get a opp message whcih is stored in Customer master as text ID ZNLN. I have to add thhis in the following program.
FORM BEDINGUNG_PRUEFEN_900
USING BP_SUBRC.
*{ INSERT RS1K902605 3
*
BP_SUBRC = 0.
IF FTVCOM-VBELV IS INITIAL
OR FTVCOM-POSNV IS INITIAL.
BP_SUBRC = 4.
ENDIF.
*} INSERT
ENDFORM.
Will you help me in inserting the code as requested. I would really appreciate your help. Your earllu reply is highly appreciated.
Thanks for your help
Shankar
Hi Shankar
i would do it like follows :
Mv45afzz - Userexit for VBAP
Ask with sy-tcode the Trancastion VA02
ask with Field T180-?? ..typ if the position is changes or new
If new
FB popup to decide
( sorry - i have no SAP-System at home - so the names not exact )
Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.