cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MBBM Transaction(Create Batch Input for Material document posting)

Former Member
0 Likes
1,591

Dear All,

There is a transaction code MBBM in Materials Management.Kindly explain the basic function it carries and the procedure to be followed.

View Entire Topic
Former Member
0 Likes

Dear,

see the help file copy

MBBM

Short text

Batch Input: Post Material Document

Report used to create batch input sessions, in order to post material

documents for goods movements.

Description

The report RM07MMBL is used to create batch input sessions for goods

movements. In a second step, you must process the BTCI sessions, in

order to post the material documents for the goods movements.

The data for the BTCI session is imported from an external dataset as a

sequential file. The structure of this sequential file is predefined in

table BMSEG. You can display this structure via the Data Dictionary

information system (object class Fields).

Requirement

Before you start the report, make sure that the file entered on the

selection screen is stored in the specified directory at operating

system level.

Similar to entering data online, the system expects certain data for

each goods movement (for example, posting date, document date, material

number, quantity). If this data is not made available, an error will

occur when the BTCI session is processed.

Via batch input, you can post material documents with reference to

purchase orders or reservations only if the reference documents exist in

the system.

Procedure using test data

Before data is imported for the production system, a run should be

performed using test data. In this case, data is not imported from the

sequential file but from the Customizing system. This means that you

have to maintain test data for the Customizing system of Inventory

Management (under Tools -> Adopt data) -> Stocks -> Test data.

For testing purposes, the following goods movements are allowed:

o SAP transaction MB01, movement type 101 (goods receipt for PO)

For this movement, the order number and order item are required (not

the material number).

o SAP transaction MB11, movement type 501 (goods receipt w/o PO)

For this movement, the material number is required.

o SAP transaction MB11, movement type 201 (goods issue for cost

center)

For this movement, the material number and the account assignment

(cost center) are required.

Output

The system generates a batch input session which you can process via

options System -> Services -> Batch input -> Sessions.

When processing the batch input session for testing purposes, you should

set the Display errors only indicator.

When importing the actual productive data, you should always use the

Background indicator.

If data expected by the system (required-entry fields) does not exist,

an error will occur during the batch input session which will interrupt

processing.

An error will also occur during the batch input session if you try to

maintain data not expected by the system (fields not ready for input).

However, processing will not be interrupted. The system writes a comment

in the session log.

Former Member
0 Likes

Dear Rajesha,

I have also read the same through F1 help,but it was not giving the actual clarity and thats why I posted it on SDN. My query is how the sequential file will be created. As per my understanding,will this transaction automatically do the stock transfer posting (like 311).Do I need to have all fields mentioned in table.I wanted that clarity.

Former Member
0 Likes

Dear,

it depends on your requirement.

this step only help you to create a session. Usually we create it in SM35 after recording the steps required. but in this transaction it is already done.

check with BMSEG structure,,,are all the required fields are available, if not then you need to modify the program.

This we are using for mass GR of production order where in data will sent by a verification dept and background job will be run every 1 hr to post the documents.

Just check your data what you are entering usually during GR or MA1B, just maintain the data in the sequence as in BMSEG and save the file in the directory specified.

If you need nay help please let us know

We copied the same prog and modified it to suit our requirement of verification by a senior inventory manager after checking the data from the file.

Former Member
0 Likes

Dear Rajesha,

Iam trying to use this tansaction for collective Stock transfer i. e MB1B with movement type 311.So,do I need to fill all th available field in the table or only applicable to my scenario.I have tried using field relevant to my scenario.did all relevant settings like logical file N physical file in the define location.As Iam executing the transaction,system shows error that Physical file'X' can not be opened.Can You please contribute something.

Former Member
0 Likes

whta is the file type?

please discuss with your basis person, it os because of correcpt file or format issue.\

pl come back