BADI For Goods Movement (Very very urgent)
Hi,
Whenever a new document number is created r changed Then i wrote a pgm which uses MB_DOCUMENT_BADI which gets the value and populate in a custom table(fileds r mblnr ,mjahr , bldat, cputm tcode).But the problem is when i runned the transaction code MB1C i am not getting data into the Custom Table and i kept my BADI in debug mode and tried then the conrol is not going into the pgm which i wrote by using MB_DOUCUMENT_BADI.So, can u tell me how to solve this problem.I mean does i need to use any differemt BADI r else change in the code other thing is in that BADI i wrote th custome code for populating values into custom Table in 'MB_UPDATE_BADI'.
Thanks,
Gopi.
Hello,
There are other BADi's for this transaction. Put break-point and test you are getting custom table data for
MB1C.
BADi's
==========
MB_CIN_LMBMBU04
MB_CHECK_LINE_BADI
MB_DOCUMENT_UPDATE
MB_MIGO_ITEM_BADI
*******Poorna*********
Similar Messages
-
GI:How to set Indicator:Item Not Relevant for Goods Movements LIPS-NOWAB
Hi,
does anybody know what i have to do to get the Indicator: Item Not Relevant for Goods Movements set for a good issue delivey position? (Table LIPS field NOWAB)
thanks in advance
SteffenHi,
the thing is the following (maybe it doesn't work at all, i don't know) :
a) i have a "Non-stock" material (e.g.material type NLAG)
b)this material should be picked, so it should be relevant for the delivery (e.g.item category TAX)
c) for a special reason the "Total goods movement status" in the outbound delivery header shouldn't be "Not relevant", therefore i assigned the item category TAX to a shedule line category that has a movement type (e.g. CN)
d)but the bad thing is, that the customer has set the indicators "quantity updating" and "value updating" for the material type NLAG, and so the goods issue posting gets some errors. eg.g missing storage location etc.)
During debugging i found a coding that checks the sign NOWAB of lips, the documentation says:
"You can use this indicator to control whether the item is relevant for goods movement when the delivery is still being created.
When this indicator is set, goods movement is not posted for this item - regardless of the movement type assigned to it."
So i head the idea it might be possible to set this indication (Lips-nowab) somewhere in the sales order or somewhere else but maybe this conflicts with point c) above .
Maybe shomeone knows what to do or has a better idea.
Best regards
Steffen -
BaDI:Automatic goods movements
Hi gurus,
Can anybody tell whether we can use the BaDI :Automatic goods movements (menu path: SPRO> Production>Shop floor control >system modifications>Business add ins--> BaDI :Automatic goods movements) for the following requirement.
1)To check the quantity of components Backflushed with respect to the Yield during partial
confirmation through co11n transaction(against the Production order BOM ).
Scenario:# We reserve components for the production order in batches.
We save production order eventhough component qty is insufficient(don't want to stop
production) to fulfil the whole order quantity.
We reserve partial quantity of components through batch split in production order.Open qty
will be there in the component overview screen without batch
Our problem : 1) System not backflushing components proportionate to yield qty (batch split
component with insufficient component qty)
2) No check/error when we post higer goods yield with insufficient component(no error )
OR
can we use the following Enhancement to solve the above problem
CONFPP04 PP order confirmation: Customer-specific input checks 2 (menu path: SPRO> Production>Shop floor control >system modifications>Enhancements for order confirmations--> customer specific input checks with changes)
Thanks in advance
JanHi Jan,
For your queries, refer to the following link:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/b1/c04d01439a11d189410000e829fbbd/frameset.htm
Hope this will help you in some way........ -
Outbound IDoc for Goods Movement
HI
We need to generate XML files for goods movement posted in SAP at Goods Receipt (MIGO) and Post Goods Issue (VL02N). Requirement is asynchronous update where the receiving system will poll the xml file at the end of the day.
I have not been able to find any standard outbound idoc for goods movement.Can someone advise how they tackled any similar requirement? Any other approach also appreciated.
Thanks
SriramAnswer to the question, which would be useful to all.
<b>MIGO</b>
MB_CF001 - Customer Function Exit in the Case of Updating a Mat. Doc.
This exit is called on update task, populate segments (edidc & edidd) of WMMBID02 (WMMBXY message type) and use MASTER_IDOC_DISTRIBUTE. Also you need to maintain the ALE Distribution model in WE64 for this message type.
Inside the code you can restrict based on movement type. No need to issue COMMIT.
<b>VL02N</b>
You can use BAdi: LE_SHP_DELIVERY_PROC to perform this.
Create Implementation and use the method SAVE_AND_PUBLISH_DOCUMENT.
Hope this help to others as well. -
The Reservation item is not allowed for goods movements
Hi Experts,
When i do the goods movements against the reservations in
MIGO, I encounter the below error.
The reservation
xxxxxxx item xxxx is not allowed for Goods Movement.
Can you please suggest on this.
Regards,
Venkat.What is the message number ?
Can you please check the goods movement allowed for reservation in MB22 : -
Function Modules for goods movement
Hi Expert,
I need FM Modules for goods movement from one bin to other bin and for Storage location to other storage location.which movement type we have to use for BIN to BIN and Sloc to Sloc.
How to find the stock of a material with respect to bin level.
-RKHello,
Hello have alook at below FM's:-
CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
CALL FUNCTION 'MB_POST_GOODS_MOVEMENT'
Regards,
Nikhil -
GL Account Postings for Goods movement
Hi,
I have a requirement to setup a account determination for goods movement for charity.
What happens is that at times goods are given out directly for charitable purposes.
This is done using a direct goods movement using 562. I need to know what kind of accounts should be debited or credited?
kindly advice.
thanks.Hi,
Generally it should be Goods Issue against Cost Center through Movement Type "201" (Here create "Admin" Cost Center and in Text line mention the purpose as Issue to Charity)
Else create Charitable trust as a vendor and use option Goods Issue --> Others (Mvmt. Type 502) and issue the materials.
Accounting Entry should be;
Stock Account - Cr
Consumption Account - Dr
Also discuss once with your client. -
HI,
WILL ANY BODY HELP ME FOR BAPI MB1B FOR GOODS MOVEMENT 411
DEASSINGE.
I'M USING THIS BAPI FOR THE SAME
AND PASSING THIS DATA.
wa-MATERIAL = it_data-matnr.
wa-PLANT = 'SBST'.
wa-stge_loc = IT_DATA-LGORT .
wa-BATCH = it_data-charg.
wa-MOVE_TYPE = '411'.
WA-move_reas = '0003'.
WA-STCK_TYPE = 'F'.
wa-SPEC_STOCK = 'E'.
wa-val_sales_ord = it_data-vbeln.
wa-val_s_ord_item = it_data-posnr.
wa-quantity = it_data-qty .
wa-entry_qnt = it_data-qty .
WA-base_uom = 'MTS'.
WA-MOVE_MAT = it_data-matnr.
WA-MOVE_PLANT = 'SBST'.
WA-move_stloc = IT_DATA-LGORT .
WA-MOVE_BATCH = it_data-charg.
MOVE 'SBST' TO wa-tr_part_ba.
MOVE 'SBST' TO wa-move_plant.
MOVE 'X' TO wa-no_more_gr.
MOVE 'TNE' TO wa-entry_uom_iso.
MOVE 'TNE' TO wa-st_un_qtyy_2_iso.
append wa to l_it_item .
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = l_wa_header
goodsmvt_code = l_f_code
IMPORTING
goodsmvt_headret = l_wa_headret
TABLES
goodsmvt_item = l_it_item
return = lit_bapiret2.
Headling error message
IF lit_bapiret2[] IS INITIAL.
BUT IT GAVE ERROR
Reason for Mvmt 0003 not supported (check your entry)
WILL HELP
MUKESHthanks
-
Why do we configure Record resaon for goods movement?
Hi,
I have seen the settings for "Record reason for goods movement" in customizing for different movement types. it can be optional , suppressed or required.
Can somebody please let me know what is the effect of this setting? what it does at the front end or rather user level, what transaction does it effect?
Thanks
RegardsHi,
We define Record reason for goods movement to input reason for material rejection to vendor or material srapped etc.
By means of displaying the mtl doc anyone get idea why this mtl is rejected.
Regards,
Sandeep -
MIGO not permitted for goods movement
Hello gurus
When I tried doing Goods Issue on an order (movement type 261), an error came up saying that the order was not found or not permitted for goods movement
What would be the cause of this? How can I remedy it?
Thanks in advance, points assuredHi,
This is because the Order may be not released.
Release the order and proceed further.
Regards,
Siva -
Order not found or not permitted for goods movement
Hi,
I try to implement Goods Movement by using BAPI_GOODSMVT_CREATE. I try to do it over delivery number. So I use the following code. But somehow it returns "Order not found or not permitted for goods movement" error. I can do the same movement over MIGO transaction. But BAPI can not find the order. Do you have any idea? Do I miss a parameter o something?
Thanks.
data: begin of gmhead.
include structure bapi2017_gm_head_01.
data: end of gmhead.
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
data: begin of mthead.
include structure bapi2017_gm_head_ret.
data: end of mthead.
data: begin of itab occurs 100.
include structure bapi2017_gm_item_create.
data: end of itab.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
error_code(220) type C,
temp_xchpf like mara-xchpf,
sbatch like mseg-charg.
DATA : temp_vbeln LIKE likp-vbeln.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = 'sy-uname.
gmhead-VER_GR_GI_SLIP = '1'.
gmhead-VER_GR_GI_SLIPX = 'X'.
gmcode-gm_code = '01'. " for 101
itab-mvt_ind = 'F'.
itab-plant = '0001'.
itab-entry_qnt = AMOUNT.
itab-move_type = '101'.
itab-item_text = 'invoice'.
itab-deliv_numb = temp_vbeln.
APPEND itab.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gmhead
goodsmvt_code = gmcode
goodsmvt_headret = mthead
TABLES
goodsmvt_item = itab
return = errmsg.
CLEAR error_code.
LOOP AT errmsg.
IF errmsg-type EQ 'E'.
error_code = errmsg-message.
ENDIF.
ENDLOOP.
IF error_code IS INITIAL.
COMMIT WORK.
IF sy-subrc NE 0.
error_code = 'Commit error'.
EXIT.
ENDIF.
ENDIF.
ERROR_C = error_code.Dzed,
I set item information but I'm still getting error.
Actually I didn't understand the difference between applying goods movement over delivery number or po number. What is the difference between them?
If I try to use only deliv_num & deliv_item data, BAPI looks for PO and finds nothing and gives error. But when I use PO number and item for goods movement, this time it is still impossible to be successfull(another error). So I decided to use both delivery number and PO together in BAPI; so I filled those fields:
po_number
po_item
deliv_numb
deliv_item
But as you may guess, no success.
There are also another fields for delivery :
deliv_num_to_search
deliv_item_to_search
I have no idea what are they for.
And also there's another field in BAPI header:
red_doc_no
Maybe I have to use this field to pass delivery number. I'm not sure. I'm confused. -
Tick for goods movement in production order
Hi,
I have one query with reference to tick for goods movement in production order.
Where it comes from as soon as i released the order.
Is there any customized setting or it is stanadard functionality?
TusharHi,
I am not sure about which tick you are talking. So pls clarify exactly which check boxes you are talking in Production Order.
If you are talking about check boxes of Goods Receipt, GR Non valuated & Delivery Completed check boxes then those are standard SAP functionality which comes automatically at the time of creation / release of the order.
Revert with more details in case your query is not resolved.
Regards,
Tejas -
Customer Exits for Delivery & Goods Receipt - Very Urgent
Hi Everyone,
We have got a requirement where we have to trigger a screen exit/badi at the time of posting the material document in transaction MIGO or delivery document in VL01N, can any one tell me the right exit as this is very urgent.
Rgds,Hi,
Will you elaborate on this, I cant use call screen statement as this gives syntax errors, I have to necessarily use 'leave to' or 'call transaction', however using this above mentioned I wont have any scope for the variables which were there in the method of the BADI????,
Any help would be very much rewarded.
Rgds, -
BAPI's for remote Cube very urgent
Hi,
I want to activate the cube 0FIGL_R10 and 0TRCM_RC1. Can anyone guide me what needs to be done. I jave activated the cube from Business Content. When I try to execute the query it is not running .
please help as it is very urgent for me ..
Regards
Baljit SinghHve a look at this:
Need step by step process for creating remote cube
Regards -
How to Activate a Condition Type in the Tax OCde for A/P -- Very Urgent
Hi Peers
I'm creating a new Tax Code in T.Code FTXP, while creating, One Condition Type is Deactivated, say JM01, How to activate that condition Type. I know how to activate the Condition Type in A/R side but I want to know it in A/P side. Plz help. Its very urgent.
Regards
RajaramHi Rajaram,
U pls Check ur configuration. First u check the calculation procedure (F.A- Tax on sales & purchase-Basic setting-Check calculation procedure _ Define procedure) In the procedure field u check JM01 is activated or deactivated otherwise u created in condition Type.
I think its usefull otherwise u let me know
Thanks
R.Manigandan
Maybe you are looking for
-
Can not get data in 2LIS_13_VDITM in R/3 - 0 posts in RSA3
Dear Collegues, I have a big problem. I have deleted the setup tables for 2LIS_13_VDITM and VDHDR to add a field to 2LIS_13_VDITM. I added the field PMATN througt LBWE (Maintenance). Then I tried filling the setup table again using OLI7BW, spesifying
-
Excel Services Connectivity on Sharepoint 2013 for external user
Currently , external user is able to refresh the data on sharepoint site through browser. the data connection is pointing the one of the external data source. But how can an external user (Internet user which accessing sharepoint through internet) do
-
My macbook pro keeps restarting after i put it to sleep.
I have a Macbook pro 15" retina display. I began to have this problem after i installed Yosemite, I put it to sleep and after 20 minutes aproximately, it restarts. Sounds, light, everything. At first i tought it happened only when i left the screen
-
When I open iTunes and try to use cover flow view it says: "iTunes is unable to browse album covers on this computer." What can I do do get this to work? The artwork shows up everywhere else, except here. Thanks in advance.
-
How can i move video and music and narration all at once in the project library
how can i move video, narration and music all at once in the project library it is only moving the video