2006 Dec 06 10:50 AM
Hi experts,
Is there any existing function module which calls the transaction MB11 without using the statement "Call transaction MB11"?
Thanks
Hi experts,
Is there any existing function module which calls the transaction MB11 without using the statement "Call transaction MB11"?
Thanks
2006 Dec 06 11:01 AM
call function 'ABAP4_CALL_TRANSACTION'
exporting
tcode = object_name
* SKIP_SCREEN = ' '
* MODE_VAL = 'A'
* UPDATE_VAL = 'A'
* IMPORTING
* SUBRC =
tables
* USING_TAB =
spagpa_tab = l_spagpa_tab
* MESS_TAB =
* EXCEPTIONS
* CALL_TRANSACTION_DENIED = 1
* TCODE_INVALID = 2
* OTHERS = 3
.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
2006 Dec 06 11:06 AM
Hi,
you can use BAPI which will in turn perform same functionality of
call transaction 'MB11'
use bapi BAPI_GOODSMVT_CREATE
REgards
Amole
2006 Dec 06 11:08 AM
Hi,
You can call the FM ABAP4_LEAVE_TO_TRANSACTION.
Where you need to give the Tcode in Import paramters.
BR,
Ravi
2006 Dec 06 11:08 AM
what is your requirement.
Can you explain in detail....
Regards
Vijay
2006 Dec 06 11:21 AM
Hi vijay,
summery: A user exit is needed on the delivery that rebrands sub items into the header item and the header item will then be Post Goods Issued. This needs only to be done for materials with Item Category equal ZTNB.
reqirements: The SAP sales BOM functionality needs to generate movement types 309/310 rebrands for the component materials and 601 on the header or additized material. We want 309 Credit entries on the base product instead of additized product. This is needed to create the correct financial posting as well as stock movements.that time mode of transport is pick up.
plz expain what the relation between BOM/Delivery...that user exit is BADI_LE_SHP_GOODSMOVEMENT.Explain me with the transaction codes.wht transction codes we are going to use inthis reqirement functionally.so futher i will ubderstand...and clearly explain the realtion between BOM Rebrands and delivery
MB11 which can be called via the Call Transaction statement. It shows all data needed to process this transaction. It is not necessarily wanted that the user exit BADI - LE_SHP_GOODSMOVEMENT calls this transaction. It is preferred to use a function module that provides the same functionality.
regards
2006 Dec 06 11:10 AM
Hi Bhanu,
You can try this..
LEAVE TO TRANSACTION 'MB11'.
Regards
Vijay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |