Transfer Posting - MB1B
Hi PP Gurus,
I have to transfer A material batch A1 to B material batch B1 with transfer posting MB1B and Mtype: 927. I have certain characteristics values for A1 but those are not getting copied to batch B1. Can anybody give comment on as I have added same chara to material B class.
Regards,
Pradeep
Hi Pradeep,
As per my knowledge, While transfer posting from material to material with batch, system will not transfer same characteristics value from one batch to another.
Just refer below mentioned thread for it.
Material to Material Transfer posting
Also you can enter the characteristics manually in Transaction MSC2N.
Regards,
Hiren
Similar Messages
-
Materialo slip no not updating when creating the transfer posting(MB1B 313)
Hi all
I have a problem in updating material slip no when creating the transfer posting(MB1B 313).
when creating the MB1B if i put the mat slip no manually then system updating in the material doc.
But when system creating the transfer posting(through auto Jobs) the material slip no not updating in the material doc.
this is started to happen only after i deleted the condition records(ZDRL) for printing the doc for a relavent storage location.Kidly let me know is there any relation between ZDRL and the material slip updating.
Thanks
Manjuhi krishan,
Pl ensure that there is any release strategy, or in the transfer posting enter the plant and m.type also storage location in the application tool bar click with reference to PO, and enter the po number and try to proceed. it will work.
Regards,
nagarajan -
Hi,
While doing the transfer Posting for 412 E , I am unable to make the the Sales Order field as Optional. Kindly please guide me.
regards,
R.RamakrishnarajSales Order Number is Mandatory if you USe MB1B 411 E & 412 E movement types. Because based on the Sales order number only Transferring Stock is Possible.
Even if you change the sales Order Number is Optional without Entering sales Order Number How does System understand against Which Sales order transfer is happening also System will not allot to save you with out so no.
Regards,
Ashok -
Transfer Posting (MB1B): Account XYZ requires an assignment to a CO object
Hi,
Iam doing a Sales order to Sales order transfer using MB1B (Transfer Posting) and movement type 413 (E). However i get an error "Account 526020 requires an assignment to a CO object".
Can someone advise as to where i need to assign the Costobject.
Please advise.
Thanks,
SafiDo you really need to post something to a Cost Centre? If its a SO to SO transfer, what kind of cost is posting to the Cost Centre?
I would suggest you analyse the GL Account (why it needs an assignment to a CO Object?) and consider changing the Field Status Group or assigning a GL that is not a Cost Element.
If you really have to assign a Cost Centre, then OKB9 is your best alternative. Enter a Common CCtr that will collect the costs and maybe let you allocate the same later.
Cheers. -
Transfer Posting MB1B with MvT 311
Dear experts,
I have 1 issue. For example, to do transfer posting from Sloc '1201' to Sloc '10F1' and '10F1' is in WM. With movement '311' , a transfer requirement is automatically created, followed by a transfer order creation screen.
I have automate all these process using 'BAPI_GOODSMVT_CREATE', 'L_TO_CREATE_TR' & 'L_TO_CONFIRM'. And it works fine.
My question is, physically the user is actually do the stock placement first to the storage bin then only they create a transfer posting. At the point of stock placement, the end user do not know the storage location to move stock. If I automate this process to create TO first then only do transfer posting, is it a correct way? I want to use FM 'L_TO_CREATE_SINGLE' & 'L_TO_CONFIRM'. Please advise.
Thank you.Hello Hasniza,
Yes you could use this function modules:
L_TO_CREATE_SINGLE
Create a transfer order with one item
L_TO_CREATE_MOVE_SU
Create a transfer order to move a storage unit
L_TO_CREATE_TR
Create a transfer order for a transfer requirement
L_TO_CONFIRM
Confirm a transfer order
Please check the following link:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/c6/f83a294afa11d182b90000e829fbfe/frameset.htm
You could do that by using the user exit EXIT_SAPLL03T_002 not directly via function module.
Please also pay attention to the documentation of enhancement MWMTO002:
"... Therefore, you must never start a transfer order creation via a function module."
But you call FM L_TO_CREATE_SINGLE inside of this exit.
I hope it helps you.
Regards,
Fábio Almeida
MM Consultant -
Hi gurús,
Im doing an stock transfer posting between two differents plants, and the system show me the following error message:
"No accts maintained for company code clearing between comp.cds XXX and XX1"
Wich configuration is missing in our system?
Thanks in advance for the help.
Regards
Enzoyour going to transfer one company code plant to another company code plant?
if yes
ensure the settings in Company code clearings through FBKP, Clearing between company codes -
Function Module for Transfer Posting(MB1B)
Hi All,
Is there any Function Module to post the transfered stock?
Thanks,
DigamberHi,
Check this function module ME_CHECK_RESWK_STOCK_TRANSFER
Regards
Sudheer -
Mb1b Transfer posting problem (urgent)
hello
i m using movement type 309.
in the second screen they are entering batch..so based on that batch i m getting matnr and quantity in that batch.
In my ZBAPI ..
SELECT matnr clabs FROM mchb
INTO TABLE it_mb1b
WHERE werks = plant
AND lgort = send_stloc
AND charg = batch.
In the second line item..They are entering scrap material which the data has to get from MARD table. There is no batch exists for this second line item.
i m writing query to get the data from mard like this:-
SELECT matnr labst FROM mard
INTO CORRESPONDING FIELDS OF TABLE it_mard
WHERE matnr LIKE '%-SCRAP'
AND werks = plant
AND lgort = '2200'.
So, how to fill this second line item in BAPI.
For the first line item i m using it_gmitem-entry_qnt in the BAPI item list. This is for the first item in second screen.
Similarly how to fill the second line item in BAPI_GOODSMVT_CREATE.FUNCTION zbapi_mb1b_new.
""Local interface:
*" IMPORTING
*" VALUE(MOVE_TYPE) LIKE BAPI2017_GM_ITEM_CREATE-MOVE_TYPE DEFAULT
*" '309'
*" VALUE(PLANT) LIKE BAPI2017_GM_ITEM_CREATE-PLANT DEFAULT '2000'
*" VALUE(SEND_STLOC) LIKE BAPI2017_GM_ITEM_CREATE-STGE_LOC
*" VALUE(RECV_STLOC) LIKE BAPI2017_GM_ITEM_CREATE-MOVE_STLOC
*" VALUE(MOVE_PLANT) LIKE BAPI2017_GM_ITEM_CREATE-MOVE_PLANT
*" DEFAULT '2000'
*" VALUE(BATCH) LIKE BAPI2017_GM_ITEM_CREATE-BATCH
*" VALUE(QUAN_MEASURE) LIKE BAPI2017_GM_ITEM_CREATE-QUANTITY
*" EXPORTING
*" VALUE(MAT_DOC) LIKE BAPI2017_GM_HEAD_RET-MAT_DOC
*" TABLES
*" RETURN STRUCTURE BAPIRET2
DATA : ls_quan1 TYPE p DECIMALS 3,
ls_quan2 TYPE p DECIMALS 3,
ls_quan3 TYPE p DECIMALS 3,
ls_quan4 TYPE p DECIMALS 3,
ls_quan5 TYPE p DECIMALS 3,
ls_quan6 TYPE p DECIMALS 3.
DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
gmhead-pstng_date = sy-datum. "Posting date defaulted to system date
gmhead-doc_date = sy-datum. "Document date defaulted to system date
gmcode-gm_code = '04'. "Transfer Posting (MB1B)
SELECT matnr clabs FROM mchb
INTO TABLE it_mb1b
WHERE werks = plant "Plant
AND lgort = send_stloc "Storage location
AND charg = batch. "Batch Number
SELECT matnr labst FROM mard
INTO CORRESPONDING FIELDS OF TABLE it_mard
WHERE matnr LIKE '%-SCRAP'
AND werks = plant "Plant
AND lgort = '2200'. "2094 in production
LOOP AT it_mb1b INTO wa_mb1b.
ls_quan2 = ( 5 / 100 ) * wa_mb1b-clabs.
ls_quan3 = wa_mb1b-clabs + ls_quan2.
ls_quan4 = wa_mb1b-clabs - ls_quan2.
IF ( quan_measure EQ wa_mb1b-clabs ).
ls_quan6 = wa_mb1b-clabs.
ELSEIF ( quan_measure > wa_mb1b-clabs AND quan_measure <= ls_quan3 ).
ls_quan5 = quan_measure - wa_mb1b-clabs. "difference
READ TABLE it_mard WITH KEY matnr0(3) = wa_mb1b-matnr0(3).
IF sy-subrc EQ 0.
it_mard-labst = it_mard-labst - ls_quan5.
MODIFY it_mard TRANSPORTING labst WHERE
matnr0(3) = wa_mb1b-matnr0(3).
ELSE.
ENDIF.
MODIFY mard FROM TABLE it_mard.
CLEAR it_mard.
ls_quan6 = wa_mb1b-clabs + ls_quan5.
ELSEIF ( quan_measure < wa_mb1b-clabs AND quan_measure <= ls_quan4 ).
ls_quan5 = wa_mb1b-clabs - quan_measure.
it_mard-labst = it_mard-labst + ls_quan5.
MODIFY it_mard TRANSPORTING labst WHERE
matnr0(3) = wa_mb1b-matnr0(3).
MODIFY mard FROM it_mard.
ls_quan6 = wa_mb1b-clabs.
ENDIF.
it_gmitem-move_type = move_type. "Movement type
it_gmitem-plant = plant. "Plant
it_gmitem-stge_loc = send_stloc. "Storage Location
it_gmitem-move_plant = move_plant. "Receiving Plant
it_gmitem-move_stloc = recv_stloc. "Receiving storage location
it_gmitem-batch = batch. "Batch Number
it_gmitem-material = wa_mb1b-matnr. "Material Number
it_gmitem-move_mat = wa_mb1b-matnr. "Receiving/issuing material
it_gmitem-entry_qnt = ls_quan6. "Quantity in unit of entry
APPEND it_gmitem.
ENDLOOP.
CLEAR return.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = 'X'
IMPORTING
GOODSMVT_HEADRET =
materialdocument = mat_doc
MATDOCUMENTYEAR =
TABLES
goodsmvt_item = it_gmitem
GOODSMVT_SERIALNUMBER =
return = return
IF NOT mat_doc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN =
ELSE.
ENDIF.
ENDFUNCTION. -
Hello friends,
In mb1b second screen, they are entering second line item which is called scrap(eg: M03-SCRAP).This is updated in MARD table as the scrap materials doesn't belong to any batch.
So, they are entering matnr and labst (quantity in second line item).
How to identify this particular scrap material from mard table.
I m writing query like this:-
SELECT matnr labst FROM mard
INTO CORRESPONDING FIELDS OF TABLE it_mard
WHERE matnr = 'M03-SCRAP'
AND werks = plant
AND lgort = '2200'.
How to get this material number without hardcoding bcoz this ll be vary for different material numbers.Hello max,
scrap field they enter like "M03-SCRAP".
They said that if first 3 letters of scrap = first 3 letters of receiving material.
then data has to pick from mard-labst and to be added to the first line item of material and mard should be updated.
please luk into my coding(function module):-
DATA : ls_quan2 TYPE p DECIMALS 3,
ls_quan3 TYPE p DECIMALS 3.
DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmcode-gm_code = '04'. "Transfer Posting (MB1B)
SELECT matnr clabs FROM mchb
INTO TABLE it_mb1b
WHERE werks = plant
AND lgort = send_stloc
AND charg = batch.
SELECT matnr labst FROM mard
INTO CORRESPONDING FIELDS OF TABLE it_mard
WHERE matnr like '%SCRAP'
AND werks = plant
AND lgort = '2200'.
LOOP AT it_mb1b INTO wa_mb1b.
it_gmitem-move_type = move_type.
it_gmitem-plant = plant.
it_gmitem-stge_loc = send_stloc.
it_gmitem-move_plant = move_plant.
it_gmitem-move_stloc = recv_stloc.
it_gmitem-batch = batch.
it_gmitem-material = wa_mb1b-matnr.
ls_quan2 = quan_measure - wa_mb1b-clabs.
IF ls_quan2 LE 0.
ls_quan3 = wa_mb1b-clabs.
ELSE.
ls_quan3 = wa_mb1b-clabs + ls_quan2.
it_mard-labst = it_mard-labst - ls_quan2.
MODIFY table it_mard TRANSPORTING labst.
<b>MODIFY it_mard TRANSPORTING labst WHERE matnr = 'M03-SCRAP'.</b> MODIFY mard. " FROM TABLE it_mard.
ENDIF.
<b>" Here how we know that matnr only update in mard.</b>
it_gmitem-entry_qnt = ls_quan3.
APPEND it_gmitem.
ENDLOOP.
CLEAR return.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = 'X'
IMPORTING
GOODSMVT_HEADRET =
materialdocument = mat_doc
MATDOCUMENTYEAR =
TABLES
goodsmvt_item = it_gmitem
GOODSMVT_SERIALNUMBER =
return = return
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN = -
Authorization Control for Transfer Posting's Storage Location
Dear Gurus,
Hi ! May I know is that SAP has any Authorization Object to control Transfer Posting (SAP R3 4.0B) ?
Let say in MB1B I only allow certain user to do transfer posting with P230 storage location, how should I control it ? With Authorization Profile?
I had tried remove all storage location P230 authorization M_MSEG_LGO from those user who are not allow to use, but sad to say that most of the user who allow to use transaction MB1B also able to do good receipt or transfer posting with storage location P230.
I had check those user's profile, actually in their authorization, there could not get P230 in their M_MSEG_LGO authorization object.
Thank you!
Warm regardsHi,
I did not tried OLMB before, but I couldn't get the option you ask me to click.
Please refer to the screen, is it the Basis Administration is what you mention lately?
[http://www.pikipimp.com/pp/pimped_photo/s/image/40/552/543/OLMB-compiled.JPG?ts=1232093107390]
I had assign the storage location P230 to the authorize users, but the problem now was those unauthorized users also can use the storage location P230 to do Transfer Posting (MB1B) although I did not assign to them in PFCG.
Thank you.
Warm regards. -
Transfer posting stocks from quality inspection to unrestricted, problem
Hello Guys,
kindly help me i am having problems doing transfer posting (mb1b) using movement type 321. because in my stock overview (mmbe) thera are stocks in Quality Inspection, i want that to be trasfered in Unrestricted Stock. that's why i execute transfer posting but there is an error occured doing it so. the error is "change the inspection stock of material 1078 in QM only". how could i make this stocks transfer to unrestricted?
please advise me the correct way to settled this.
thanks and regards,Hello Guys,
I am very thankful for all of you contributing to this thread of mine hope in some other time you can work it out with me again I already done all this resolutions you have mention and I also know that is all the right wya to solve this issue but i dont see my problem exists on the configuration in material tpye allocation because in our business sample the FERTin standard SAP but with us it is customized name, have different code it was not define in TLtype in material allocation for quality inspection (Q), now i know what to do to call our admin to authorized my config there.
Thank you so much i will closed this thread now please help me in some of other query next time. hehehehe..
Regards, -
Transfer posting between plant to plant
Dear Experts,
I tried transfer posting MB1B using movement type 301.
System is showing following error message
u201CFor object RF_BELEG 1010, number range interval 49 does not exist FBN1u201D
Message no. NR751
Please help me out to fix this error.
Thanks in advance.
Prasanna A PHey
Goto FBN1 and maintain the number range against 49
It will work.
REgards,
Raman -
Difference between Stock transfer and transfer posting
I am little confused about the difference between stock transfer and transfer posting. Please clarify
<<Locked - reason: failed to search before posting question>>
Edited by: Csaba Szommer on Feb 9, 2011 9:10 AMHello,
Transfer posting may involve or not involve the physical goods transfer. In the system you might do transfer posting from quality to unrestricted, or from one store location to another.
In transfer posting you remove and or replace materials from storage in one storage location and place them in another storage location.
That transction code you use for transfer posting MB1B with following movement types may be used
301, 303,305,311,411,309.
301 is Stock Transfer Between Plants in One Step
303 & 305 : Stock Transfer Between Plants in Two Steps
In stock transfer, it always involves physical movement of goods, like transfer between plants under same company code or different company codes.
Following types are possible with STO's
Stock Transport Order Without Delivery
Stock Transport Order with Delivery via Shipping
Stock Transport Order with Delivery and Billing Document/Invoice
http://help.sap.com/saphelp_470/helpdata/en/4d/2b90dc43ad11d189410000e829fbbd/content.htm
Please go through attach SAP document
BR,
Tushar -
STO,Transfer posting and GI
Hi,
What is difference between STO,GI and Transfer posting? and Can we do the STO in MB1B Tcode?
Thanks,
Saran.HI,
STO is transfer of stocks between plants.Which may be between Intra co.cd or Inter co.cd stock tansfer.
ME21N
VL10B
VL02N
MIGO(Receiving plant)
GI-The goods may be issued for production(261),Cost center(201) scrapping etc.
MIGO
Transfer posting-MB1B
Qulaity to unrestricted & vice versa
UR to blocked stk & vice versa
Quality to blocked & vice versa -
Transfer posting between 2 StorLoc (Non HUM managed to HUM managed), MB1B
Hi,
I'm trying to figure out if after MB1B transfer posting (311 movement) an inbound delivery will be created automatically for the receiving StorLoc. This is for transfer of materials from a Non HUM StorLoc to a HUM StorLoc.
If a inbound delivery can be created automatically what costomizing steps do I have to do?
Thanks for you help.
Regards,
AlexanderHi,
Check following link
can any body send HUM configuration settings
Thanks
Diwakar
Maybe you are looking for
-
Need to find a specific word in a Text Field
I have a text field and I need to be able to perform a function if that field contains (not equals) the word "Excel". Textfield contains the word Excel My sample is below if (this.rawValue== "Excel") <---- instead of = I want something using wildcard
-
Hello. I'm trying to configure Solution Manager services. In service solman, which includes defaultUser and GraphicData, which is the correct handler? Im changing this and obtain different results, anyone ok. Sometimes it does nothing, another times
-
Cannot Load the iTones Store page from iTones and collect apps Update
My iTune account and credit card am belonging to Hong Kong, but often travel to different countries. I have recently purchased iPhone and MacBook Pro, and also purchased some apps when I was staying in Hong Kong. This week I visit Singapore and notic
-
Maximum size - Lexical Parameters - Report 2.5
Hi We are using Oracle Reports 2.5 . Want to know what is the maximus size we can have for a lexical parameter . Is it 2000 chars ? We have 3 lexical parameters in our where clause of the query . What is the maximum Length of the 3 lexical parameters
-
Upgraded to IOS 7 and phone sometimes rings and sometimes doesn't
Upgraded to IOS 7 and phone sometimes rings and sometimes doesn't. What's going on? I've missed several calls but my phones been sitting right in front of me (Yes, the sound switch is turned on on the side) What's going on? Its Random! John