Go on link..

link us with ...

Thursday, December 30, 2010

CHECK QUANTITY MM Module

*&---------------------------------------------------------------------*
*& MODULE CHECK_QUANTITY INPUT *
*&---------------------------------------------------------------------*
MODULE USER_COMMAND_0700 INPUT.

SAVE_OK = OK_CODE.
CLEAR OK_CODE.

CASE SAVE_OK.
WHEN 'BACK'.
CALL SCREEN 400.
WHEN 'CANC'.
LEAVE PROGRAM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'SAVE'.
PERFORM CHECK_QUANTITY.
ENDCASE.

CLEAR SAVE_OK.

ENDMODULE. "USER_COMMAND_0700 INPUT

*&---------------------------------------------------------------------*
*& FORM CHECK_QUANTITY *
*&---------------------------------------------------------------------*
FORM CHECK_QUANTITY.

export matnr from matnr
charg from charg
menge from menge
lgort from WA_PHYINV-ZVVF_lgort
werks from WA_PHYINV-ZVVF_werks
meins from W_ERFME
TO MEMORY ID 'MM032_MI10'.
EXPORT MENGE TO MEMORY ID 'MM032_TOTQTY'.
SUBMIT ZVVF_MR323_BDCMI10 AND RETURN.
w_mtype = '1'.
perform DIFF_UPDATE.
W_FLAG400 = ''.
call screen 400.
ENDFORM. " CHECK_QUANTITY INPUT

No comments:

link us...

For Visitors

if you want to publish or Add something on ERP, SAP , SAP FUNCTIONAL, SAP ABAP then mail us along with your email-id. contain must be yours

email-id :- avinashkr_raj@yahoo.com(any email)

email-id :- avinaskr_raj.abap@blogger.com ( use only gmail)