Automatic external batch number assignment
Hi gurus,
I'm facing to an huge issue.
I've created an subcontracting PO. Into this PO, I have inserted a external batch number to a component.
When I make a good receipt with MB0A transaction. movement type 101 for the finished product and movement type 543/O for component. the external batch number is populated in the material document. But I don't want the MB0A transaction populates this bactch number. I want to input it manually in this transaction.
Is it possible to disengage the automatic external batch number assignment by the MB0A transaction and insert a external batch number manually?
Thanks for your help.
L. YDIR
Try this exit, its for external bacth number assignment EXIT_SAPLV01Z_003 .
EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
You also have the option of suppressing the batch number check, for example, based on the material or plant.
Further : EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.
You also have the option of suppressing the batch number check, for example, based on the material or plant.
Just wanted to ask : which version of SAP are u working on? is it some old version? coz I see u using MB* Transactions, while SA now recommends most goods movements by MIGO TCODE, aslo most new enhancements are for MIGO .
Similar Messages
-
Enter batch number - No Automatic Batch Number assignment allowed for plant
Hi SAP Gurus,
Upon checking the created new Goods receipt for Purchasing Order in tcode migo_gr, checking with the Batch tab, we can't see a batch number, then clicking the classification tab showing the message Enter batch number - No Automatic Batch Number assignment allowed for plant - XXXX
the question is there any missing configuration based for this kind of error? ive checked the availability check for the plant and it already setup. Hope for your kind responses.
ThanksHI,
Kindy check the below configuratoin
Logistics - General>Batch Management>Creation of New Batches>Define Batch Creation for Goods Movements
for your movement type check what is the Strategy for the new batches.
here you should assigne only automatic.
Also let me know what is the level of batch mgt> is it at client level, Plant level, Material level.?
reg
Dsk -
Batch number Assignment - urgent
Hi All,
I had implemented the screen exit (screen no 0900) with two customized fields in the enhancement CONFP007. For the same I had appended the two fields in the structure AFRUD. I can see the screen fields in the t-code CO11N.
<b>I want to pass one of these customized field value (from screen 0900) to the user exit EXIT_SAPLV01Z_003 & EXIT_SAPLV01Z_004 (enhancement SAPLV1ZE) to get the external batch number.</b>
The required external batch number would be (2 char customized fields from screen 0900) + (INRDP-NRLEVEL + 1) for INRDP-NRRANGENR = '02' and Object 'BATCH_CLT'.
But in the user exit i would not find any structure and global data to pass the value of cuctomized field from structure AFRUD to BNCOMZ structure.
How do I proceed to update/get the customized batch number without using IMPORT & EXPORT SAP command?
Please let me know your input on this.
Thanks & Regards,
SandeepHi,
I suggest you to sit down with your abaper to create logic statement in user exit. I had the same situation last time when I need to enter batch number base on system date automatically during GR. For your case, ask abaper to take into account system date, number range and mara table.
Thanks and best regards,
Mahnansa -
Batch Number assigned to Process Order
Hi Experts,
Which table should I use if I want to get the Batch number assigned in a process order?
Thanks,
KumarHi,
If u want to get the batch number of Process Order FG then u can get it from AFPO.If u want item level then get it from MSEG table.
Regards
R.Brahmankar -
External Document Number assignment using Bapi_acc_document_post
Hi All Experts and Max,
We want to post th same external document no using BAPI_ACC_document_post, but we are unable to post thatexternal Document no.
Note: If we are posting the same no using transaction FB01 , we are able to post the document , if we are passing the Acc_do_no field as the external Document no.
Our requirement is to post the document no of the e.g A system to B system with th esame document No .
Kindly provide what value we need to pass in the obj_type , obj_key and obj_sys fields of BAPI_ACC_Document_post.
I am aware about the scenario that in case of internal document no creation we will get all these 3 fields from th eBAPI, but we need the values in case of external document no assignment.
We tried with obj_type as 'BKPFF' but we are not able to post the document with that obj_type, In that case Bapi is clearing the exterbal document no acc_doc_no field in the first subroutine.
Note: We are uploading a file in different system with the .dat format and we are using BAPI_ACC_DOCUMENT_POST method.
Please refer the below link for more issue details.
Link:[External Document Number assignment using Bapi_acc_document_post;
Kindly provide the solution.
Thanks,
Rahul SisodiaHi All,
Please suggest if you came across such situation. <removed by moderator>
Thanks,
Rahul Sisodia
Edited by: Thomas Zloch on Sep 19, 2011 10:18 PM -
GRN batch number assignment error?
Dear All,
We have configured that whenever we do GRN batch number should generate automatically but while doing GRN if i don't save or post the document also it is generating batch number i mean to say without saving a PO GRN one batch number is generated and if i go in to MIGO screen for same PO then new batch number getting assigned.
so anyone tell me where have set wrong and how to check and correct it?Hi,
If you are coming out of the transaction completely by using F3, then system won't create any batch, but after entering all the details if you are clicking on "Check", then system will create a batch number, this is standard behaviour only. -
Dear Gurus
I have confirmed a production order say 100kg. Now while posting in MB31 I want to post in parts in 3 batches.But while posting the first part say 40kg system is automatically giving a batch number which is coming in deactivated mode i.e you cannot change.Again while posting the second part say 30kg system is giving the same batch number and not allowing me to post giving a message that you have posted once in that batch number- what to do ?
Regards
Sandip SarkarHi,
The batch number is taken by system from Production Order. You can't change the batch number. As per standard practice with one production order only one batch can be produced. You can not produce morethan one batch using same production order.
Hope this will help.
Navin -
Batch number assignment after receiving the goods
iam receiving material from my customer say 100 units, i am giving the challan that i have received 100 units from u, and the challan number will be 1000
After that i have to do job work, in the received 100 units,
50 i have to issue to production for different process
50 i have to issue to production for different process
I need to give batch number for first 50 units issued to production as 1000A
I need to give batch number for second 50 units issued to production as 1000B
How to do in SAP???Hi
You can assign the same material to different batches
To assign a batch number to the material, you can do it during goods issue in MIGO or MB1C.
In MB1C, you can give the Material , Qty and Batch No. Use movement type 561 to receive the goods in MB1C
Hope this helps
regards
Anand -
External Customer number assignment
Hello Gurus!!
I have requirement, while writing BDC to upload customers, based on combination of fields external numbers are assigned,
so at PBO of initial screen in Xd01 i have to pick the next available number from the number range and make it available by default in customer number field.
i have tried to check out badi's and customer exits but in vain,
also from which table can i get theese number ranges and next available number?
All usefull suggestions wud be rewarded.
Regardsfirst i am unable to get an exit which tiggers at PBO of XD01,
next if we make t internal, it wudnot change to external again,
i mean if its assigned to be external it wud not acept internal number either.
more suggestions please
Regards -
Generic Batch Number assignment via Customer exit
Hi Folks,
The client requirement is as follows:
Once a user enters a batch number customer exit EXIT_SAPLV01Z_002 should be triggered.
Here, in this exit via custom logic, i am supposed to create a generic batch code.
If the user enters a batch code from any tcode be it MSC1N, Purchase order creation, MB11, Process order etc.
First a validation should be done. Else, if field is blank then a generic batch number is to be created.
Generic batch would be like PMFGYMDxxx- PMFG- Plant of manufacture, YMD- Date in YMD format and xxx as next.
My concern is that when user enters a batch code from above mentioned TCODES this Customer exit does not get triggered.
It only gets triggered when batch number field is left empty.
Need help!!Moderator message - Welcome to SCN.
But please do not post your requirements and ask the forum to do your work for you - post locked
Also, Please read Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! and Please Read before Posting in the Performance and Tuning Forum and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Rob -
Automatic internal batch number in MIGO
Dear All,
I have set up internal batch numbering.
1) If I do MIGO with 311, the system is not proposing a new batch number. The field remains blank. I know it should propose the field if we do 'Check' in MIGO. Am I missing some settings?
2) Secondly, is it possible to have 'cREATE' button for batches in MIGO transaction?311 is a transfer posting, do you really want each time new batches when you move the material from one storage location to another?
if yes, then try the following:
Make message M7 199 an error message in OMCQ and try again. -
Assign component / batch number at subcon PO
hi,
We are using external batch number assignment to manage our components. At component overview of subcon PO, we will maintain the issue storage location and batch number of the component. However, we fount out error meesage ME178
, batch XXX not maintained for material XXX, will pop up if the batch master hasn't been created at that storage location. This has impacted on our biz process. That means we can't assign batch and storage location before we transfer the stock to that storage location. I tried to switch this system message to warning. But I can't locate it. Any input? Thanks.
Regards,
NancyHi Nancy,
Use transaction "SE91" to check the message. In your case the message class appears to be ME, so enter ME and go for display. Now you would get all the messages setup for the class ME.
Find message number 178 and hit where used button, it would list in which program/include this message is called. There you define it as "W" instead of "E".
Hope this helps you,
Regards,
Prasobh
Reward your points if this was useful -
External Btach Number for Finished Goods
Hi All....
We have a repetitive mfg scenario, where finished goods are managed with external batch numnber. Client has 20+ plants and each plant follows its own number ranges...
In each plant,each product shud have continuous batch numbers, eg., Product A - Batch number : MA040801 & Product B : MA040801 & respective 2nd batch produced will have ; product A : MA040802 & product B: MA040802 & so on...
These batch numbers will be entered in Backflush activity. ( ie., with GR or in Quality management after final GR to quality stock)
In SAP Batch Management for external Number assignment... what are the settings to be done for the above scenario..?
looking forward to early reply,
With regards,
LNTo be able to enter external numbers for the no. range object BATCH_CLT the external number check box is to be selected. Tranx OMAD
If you want to automatically assign an external number as per your criteria you can use the following user exit:
Set Up Customer Exits for External Batch Number Assignment
As part of the external batch number assignment, the following two
function module exits are available in the SAP enhancement SAPLV1ZE for
checking a new batch number that has been entered.
o EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed
number range object BATCH_CLT and/or external interval 02 with a
number range object and/or external interval you have defined
yourself.
You also have the option of suppressing the batch number check, for
example, based on the material or plant.
o EXIT_SAPLV01Z_004. Using this exit, you can define your own checking
rule.
Further notes
In both exits, a communication structure with the application data for
each business transaction (for example, plant or material type ) is
available. To obtain more information such as the time, user name, or
the date, you must use one of the exits.
Example
In the function module exit EXIT_SAPLV01Z_003, an external number range
XY is determined, against which the batch numbers are checked.
In the function module exit EXIT_SAPLV01Z_004, the batch number entered
is checked against your own rules.
Ram -
ME21N: Batch number to be populated automatically
Hello Gurus,
I have a requirement whereby, in ME21N after that the user has entered the material number, the batch number gets autmatically populated. I am looking for
1. A BADI or user exit that is triggered after entering the material number
2. A function module that will provide me with the next available batch number to be used which is derived from the first 5 characters of the material number followed by a 5 digit sequence number.
THanks in advance,
ParvezHello Pervez,
To accomplish this task you have to perform couple of steps.
First De-Activate Automatic Batch Number Assignment. You can find it under spro->Logistic-General->Batch Management->Batch Management Number Assignment.
Also under this node maintain external number range.
After this activity use this user exit.
SAPLV1ZE
this exit has 2 function module exits
1- In this function module exit EXIT_SAPLV01Z_003, an external number range XY is determined, against which the batch numbers are checked.
2- In this function module exit EXIT_SAPLV01Z_004, the batch number entered is checked against your own rules.
Regards
Ahsan -
Batch internl number assignment
Hello SAP gurus,
Lets suppose i have finished product, semifinished product and raw material with me.I am managing all of them in batches.I want to use automatic creation of batch (internal number assignment) for them.Now my question is i want to use different number ranges for all of them.
Currrently its using the same number range for all of them.Suppose if i created one production order for semifinished product than its giving it batch no. 0000001.Again if i create production order for finished material than its giving it batch no. 0000002.
I want different number ranges for both of them by internal number ranges only.
plz guide me in solving this problem.Hi
you want to maintain the different number ranges based on Material Types (Finished/Semi-finished/Raw material).
Please follow SPRO IMG Path
Logistics General >> Batch Management >> Batch Number assignment >> Configure Customer Exit for Intern. Batch Number assignment.
Going through node documentation, you need to use one of the fucntional module exist incorporated in SAP enhencement SAPLV01Z.
Pl go through documentation in detail and incorporate required ABAP code in the respective functional module Exit.
Thanks
JK
Maybe you are looking for
-
HT201302 How do I transfer pictures from my old device (phone) to my new device?
How do I export photos from my old device (phone) to my new device?
-
FTP Adapter stops polling on updating descriptors in BPEL Console
I have a bpel process activated by a file in a FTP dropzone. An FTP Adapter listens to this dropzone. I have set up a few preferences (Deployment descriptors) for this process. Once when I update any of these user defined preferences, ftp adapter sto
-
Popup a JDialog without it gaining focus. Can it be done?
Can it be done? I have thought about having a JDialog already on screen but positioned off screen and move it onscreen when needed but seems a ugly idea. Any one got a nicer solution?
-
Event programming (continuous run)
I'm developing an application that runs continuously, and has three buttons, corresponding to three different actions. I have used an event structure, and defined different cases, to be executed when the button values change. The problem is that whil
-
Flash movie will not show in HTML page
I have created 2 small *.swf flash movies using Adobe CS3 professional.. i inserted one move into indes.html and it works just fine I inserted another into a second page and all i see is a gray box???? Both movies are in the same directory,,, both ht