Good Movement confirmation Issue
Hi all,
iam trying to use the function module
MB_CREATE_GOODS_MOVEMENT
to confirm goods for CO11N transcation
I have populated the valuse correctly into the parameter imseg .
sample code is as given below:
CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
EXPORTING
imkpf = s_imkpf
xallp = ' '
XALLB = 'X'
xallr = 'X'
ctcod = 'CO11N'
XQMCL = ' '
OLD_SUBRC = ' '
IPKCOM =
X_AUTHORITY = ' '
xlisu = 'X'
XQMSR = ' '
IMPORTING
emkpf = s_emkpf
E_LVS_TAFKZ =
ES_MKPF =
TABLES
emseg = t_emseg
imseg = t_imseg
IMSEG_CSL_TOKEN =
ET_MSEG =
the status in s_emkpf after execution of this function module are
MBLNR 4900000789
MJAHR 2006
CPUDT 00000000
CPUTM 000000
XABLN 10
SUBRC 1
the value of subrc is coming as 1.and the goods are not confirmed.
when the function module doc is searched it says:
01 Allocation of YMBUZ to XMSEG incorrect
please help regarding this.
thanks in advance,
SS
try to make use of BAPI <b>BAPI_GOODSMVT_CREATE</b> and see its documentation.
Regards
Prabhu
Similar Messages
-
Confirmation of process order create : goods movement
Dear Sir/Madam ,
I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
i have already searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
thanks and regards ,
arunHi,
I believe you would need to append the below line for your code for goods movement.
wa_timetickets-order_itno = p_itno. " Order item nos.
Check & revert if it resolves the issue.
Regards,
Vivek -
Automatic goods movement at the time of confirmation in IW42
Hey gurus,
In a maintenance order i ve reserved some materials to be issued from the stores. Now i am not issuing the reserved materials from the stores and going to iw42 for confirming the operations of the order. If i select the item overview of the operation line against which we have booked the material, in the goods movement section i can see my reserved material which hasn't been issued from the stores. Now when i'm saving the confirmation, goods movement of the unissued material is automatically taking place and the cost of the material is getting booked in the order. How do i stop this automatic posting of material?
Regards,
AbhishekHi friend
in spro
Plant Maintenance and Customer Service-Maintenance and Service ProcessingMaintenance and Service OrdersCompletion ConfirmationsDefine Control Parameters for Completion Confirmations
you can define the setting of goods movements
jitender -
Error in Goods Movement during order confirmation
Hi,
I am trying to confirm a production order through CO11n,but i am getting an error in Goods Movement .
The following message is displayed in the log - "* Posting only possible in /11 anperiods 2008d 2008/10 in company code A100*". Can any one guide me what should i do to confirm the order without any error in Goods Movement,
Thanks in advance.Hi,
It is advisable to correct the Goods Movement Errors in COGI in the same period (before closing the period by MM in MMPV). You cannot correct the same if the period is closed.
Only option is you need to open the closed period in consulatation with FI and MM team members
OR
Delete the Error movement records in COGI and post the Goods Issue for the production order in Tcode : MB1A with movt type 261 and go inside and mention the materials which you want to issue to the order.
Hope this will help you.
regards
radhak mk -
Restriction of manual goods movements before confirmation.
hi dudes,
can any one suggest me the way to restict MB31 and MB1A before order confirmation.
thanks in advance
madhuHi Madhu,
How can somebody perform an operation and confirm, if goods are not Issued? Anyhow you can use "User Status" to control. Ex. If CNF is not active Goods Movement (GMPS) not allowed.
"BS02" and assign this to "order type dependent parameters"(OPJH).
Hope this helps...Reward your points if so,
Regards,
Prasobh -
Restrict user to delete item in good movement at the time of confirmation
Hi ,
I have one requirement i.e. When user confirming the partial confirmation and if he selected the goods movement button i have to restrict the user not to change the material quantities in the goodsmovement screen.How i can do it .Is there any user-exits to do so, if any plz give me more info .
Regards,
AnandHi
Try any of the below enhancements
CONFPP01
With this customer enhancement you can determine your own default values
(ones that deviate from SAP logic) for a confirmation. The confirmation
can be changed in the customer enhancement.
The following are copied to the interface: the operation in the order
(AFVGD), the order header (CAUFVD) and the confirmation (AFRUD) as well
as the confirmation parameters (TCORU). The confirmation is copied back
from the customer enhancement to the SAP standard program.
CONFPP02
With this customer enhancement you can make your own checks of the
confirmation after the SAP checks have taken place. The confirmation
cannot be changed.
The following are copied to the interface: the operation in the order
(AFVGD), the complete order header (CAUFVD) and the confirmation
(AFRUD).
CONFPP03
With this customer enhancement you can make your own checks once an
operation has been selected for confirmation. The data cannot be
changed.
The following are copied to the interface: the operation in the order
(AFVGD) and the complete order header (CAUFVD).
CONFPP04
With this customer enhancement you can carry out your own checks on the
confirmation. The confirmation can for example be changed depending on
the user's entries.
The following are copied to the interface: the operation in the order
(AFVGD), the complete order header (CAUFVD) and the confirmation
(AFRUD). The confirmation is copied back from the customer enhancement
to the SAP standard program.
CONFPP05
With this customer enhancement you can update your own data once you
have saved the confirmation. You cannot change the confirmations.
In this customer enhancement it is strictly FORBIDDEN to send error
messages or other messages because otherwise there is the danger that
data will be inconsistent. SAP takes no responsibility for this !!!
The following are copied to the interface: a table with all the
confirmations (AFRUD) created in this transaction and a table with the
order headers (CAUFVD) that belong to it.
CONFPP06
With this enhancement you can determine which data from a manually
entered confirmation is transferred to the automatically created
confirmations, for example, when a confirmation is entered for a
milestone operation.
In addition to the order data (IS_CAUFVD) and operation data (IS_AFVGD),
the confirmation type (I_CONF_TYPE) is also transferred. The data from
the manually entered confirmation is imported via the structure
IS_AFRUD_MAIN and the data determined by the system for the
automatically created confirmation is imported via the structure
IS_ACT_DATA.
The data from the automatically created confirmation can then be
modified and exported via the structure ES_ACT_DATA.
CONFPP07
With this enhancement you can define your own detail areas (screens)
that can be issued for the single screen entry of time ticket
confirmations.
Two function modules are available to implement the flow control for the
customer-defined screens. While the function module EXIT_SAPLCORU_S_100
transmits the data from the confirmation, order, operation and work
center, the entered confirmation data can be exported using the function
module EXIT_SAPLCORU_S_101 and the structure ES_AFRUD. -
Goods Movement on Order Confirmation
Hi all,
Whenever i issue a material while doing Order confirmation (IW41: Using goods movement option) , the material is issued but its cost doesnt get populated on the maintenance order. I guess i am missing some configuration end but can anybody guide me or give me hint where is the root cause lies of this problem.
Why the material cost is not getting populated on the maintenance order.
(Note: I am using my own Order Type not the standard one)hi
I hope this is the problem in ur config
Plant Maintenance and Customer Service - Maintenance and Service Processing - Completion Confirmations - Define Control Parameters for Completion Confirmations
If u have tick at Materials, remove it
It will give only plan cost, not the actual cost
If u dont use this tick, you can do goods movement from iw41 and the cost will be calculated in the actual cost
- Pithan -
Goods Movement through order confirmation for IS oil material
Hello Experts,
I am doing the goods issue posting through the confirmation transaction CORK for process order. The materials that I am posting are IS oil relevant.
When Iam trying to save the confirmation, system is taking to the screen of additional quantity calculation for each materials. When I maintain the details, system is saving the confirmation. But in case if there is a change in the parameters mentioned for additional quantity calculation, system is not giving any option.
In other goods issue transactions, we can see a calculator button which will take us to the quantity calculation screen, if we double click a line item. But I dont find this option in the goods movement screen through order confirmation transactions.
Is there any way to activate it in confirmation screen also, so that we can individually maintain the qty calculation parameters of each goods issue item?.
Appreciate your earliest reply
Thanks & Regards
PrathibNo Inputs?????
-
Issue of goods movement in co11n
hello,
anybody please guide me.
i am doing production order confirmation in co11n. i am using control key as pp03 in routing. during goods moment posting i am not getting storage location column in goods movement overview screen. how can i resolve this issue.
Thanks & Regards
BhaktaDear Baktha,
Extream right in in description row you can find option ( button ) Configuration button
it will have three cloours i.e blue, yellow & white click that and check if any variant is set
if set remove it it will resolve the issue
if notthing is set in configuration button then
Check if any transcation variant if set for CO11N
you can check for transcation variant in SHDO
if possible take Abaper help on SHD0
Regards
Madhu -
Restriction to delete goods movement data during confirmation thru CO11N
hello all
Please let me know how to prevent the user to delete the rows in goods movement screen during confirmation through transaction CO11N ,as users are able to confirm without goods issue by deleting that rows.
Should we contact basis person for the same
with regardsDear,
Please refer my reply in this thread,
https://forums.sdn.sap.com/click.jspa?searchID=16368869&messageID=6047820
https://forums.sdn.sap.com/click.jspa?searchID=16368869&messageID=6151829
Try using transaction variants. There is a utility called GUIXT in transaction. You can write code to add a pushbutton on the desired screen by using the GUIXT. The coding syntax is provided in the SAP application help. Use transaction SHD0 to create the variants.
http://wiki.ittoolbox.com/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction
Hope it will help come back if any problem.
Regards,
R.Brahmankar -
Good Movement at the confirmation of an operation
Dear All,
I tried to make good movement when I maked an confirmation for an operation.
I configured whit TC: OPK4 automatic good movement and whit TC: OP67 I choosed option automatic good movement for control key.
However, when I maked an confirmation (TC: CO1F), the system didn't propose the material from BOM, for issues, or the finished good to get in stock.
And an additional question: if I have many operations on the routing and each of them have the same control key (PP01, for example) the system cannot accept any automatic good movement.
What can I do in this case?
Thank you very much for the answers.
Regards,
MarianHi,
You are trying progress confirmation right...
As per my knowledge for production order confirmation you could findth egoods movement...
in CO15 or CO11N...
For th e second question if u have N number of operations then you could confirm operation wise in CO11n and for first operation goods issue and for the final operation goods recipet will happen
Regards,
sravanthi
Edited by: Sravanthi683 on May 21, 2009 10:34 AM -
COOIS confirmation vs document goods movement
Hello Guru,
I have question with regards to my production order, when check COOIS for Confirmation and in Documented Good Movement there is a difference, upon checking in Confirmation in COOIS i found out the detailed of all the confirmation and even the canceled confirmation was been recorded there but in the Documented Goods Movement there one loss cancellation not recorded on it? how this happen? how can i check this one?
ThanksHi,
Are you using Backflush? What is the delivered quantity shown in Production Order?
I had the same problem few days back. Pls refer to the thread below and if it matches your requirement, you may need to report the issue to SAP.
Not updating GR reversal
As per thier reply, the SAP system could be accessed by some external system. They have sent a patch to implement, which would clear the redundancy in the data.
I am still working on it. Will let you know the results if your requirement is same.
Pls revert.
Regards,
Rohit. -
Confirmation of Production Order without all Goods Movements
Hello experts!
I've tried to do a confirmation of one material that had only one level BOM with one material, but, when I try to do the Goods Movement in CO15, only the component appears. To another materials the goods movements was done for the two materials.
I've changed routing, BOM, material record... but I didn't have success.
Any ideas?
Regards,
Rodrigo.Dear
You might have kept Backflashing Indicator -1 in MRP2 view and while doing CO15-In goods movement tab -You will find BOM compoenets with movement type -261 .But your requirement is to carry out the Auto GR-101 while confirmation posting .
Please do the following :
1.Goto -OPJK-Define Production Scheduling Profile -Here for that scheuling profile which have been assinged in Work Scheduling view -Mark the Auto GR active .
2.In the routing or in the Production Order -Operation Overview screen -Goto Operation Details -Slect the last operation -Assing the Operation Control Key which has Auto GR active like SAP Stanrda PP03 .Please check in OPJ8-Slect the Operation Control key -Hit the details information -Check the Auto GR Marked .Based on this while you will do CO15 , GR-101 (MIGO-101) will happen .
Hope it helps
Regards
JH -
Good Movement issue in SAP retail ITS
Hi All,
Business is posting goods movement using SAP retail store ITS. The document gets posted in SAP successfully but storage location is not coming correct for a movement type. We have checked the configuration and it is fine. We are not able to replicate the issue in test systems.
Kindly help us on how we can able to find a cause of this issue.
Thanks for you help.
Regards,
JohnHi John,
Retail Store Application is desinged in such a way that for the movement type,the default storage location for the destination plant is automatically taken.
But you can modify the code as per your requirments by implementing the given BAdI.
CALL METHOD exit_gr_field->CHECK_INPUT_GR_item
Modify the field for stroage location W_UMLGO .
I hope this helps.
Regards,
Lorraine -
Completion Confirmation of PM orders before goods movement
Hi,
Is there any settings available to stop completion confirmation of PM orders before goods movement (release purchase requisitions, create purchase order, goods issuance and good receipt), if stock, non stock material and external service are assigned on order?
Regards,Hi ,
Not sure but look at BADI WORKORDER_CONFIRM : Business Add-In PM/PP/PS/PI Orders Operation: Confirm
regrds
pushpa
Maybe you are looking for
-
how do i restore my backup from an iphone 4s to a brand new 5? my 5 had to be updated to the newest ios and therefore was prompted to restore as a new iphone first
-
I've got a mac mini connected to my Samsung Widescreen TV. The display is in standard 4:3 ratio and I'd like it to be wide screen 16:9. I can strech the display through the TV controls, but this is just stretching the picture rather than changing the
-
How to place a binary zip files using sftp receiver adapter
Hi experts, we got one scenario , where we need to pick the file (.zip) from local source path and place it in SFTP server path. we have done all configuration setting and processed a zip to SFTP server. but the client are saying the .zip file is not
-
Scheduling ABAP Program to run Daily
Hi, In my current scenario, i require my ABAP program(ZMYPROGAM) to run periodically (say every 1 hour/ 1 Day). Is it possible to schedule it so? kindly let me know how to go about. Regards, Siva Maranani.
-
How to create a working SaveAsDoc command
Hi Everybody, I need to create a SaveAs command to save converted document (from previous versions to CS5) without any user intervention. Unfortunately all the utility functions like IDocFileHandler, IDocumentUtils, etc. don't work or miss the saveAs