SAP BLOG LSMW for Transaction Data – FB01

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,442
Tepki puanı
7
Puanları
6
In SAP ECC, LSMW tool is preferred for Master data uploads. For transaction data, most of the time BDC recordings are preferred over LSMW. It’s a belief that FB01 recording in LSMW is not feasible. This is untrue. LSMW can be used for FB01 recording.

In this blog focus will not be on LSMW recording steps. Prime focus will be on significant steps required for FB01 recording.

Pre-requisite: Readers should possess basic LSMW knowledge.

This blog coves below steps.

  1. Important steps
  2. Processing
  3. Output



  1. Important steps

Go to LSMW transaction and Create Project. Double click on ‘Maintain Object Attributes’.
1-107.png


1-110.png
1-111.png


Create entries as below. Create your own recording.
1-112.png


Once recording is completed, below screen will be displayed. This is most important part.

NEWBS, NEWKO, WRBTR and KOSTL are repeating in both screen. First screen represent line 1 in document and second screen line 2. We need to make some minor changes in 2 line entries.
1-113.png


1-114.png


Double click on NEWBS and change to NEWBS2. Please see below screenshot. Carry out this activity for KOSTL, WRBTR, NEWKO and change to KOSTL2, WRBTR2, NEWKO2.
1-115.png


Once done, changes should appear as shown in below screen.
1-116.png


1-117.png


Click on Maintain Source structure.
1-118.png


Maintain entry here.

1-119.png


Click on ‘Maintain Source Fields’
1-120.png


In below screenshot, for first line it is NEWBS, NEWKO, WRBTR, KOSTL. For line 2 its NEWBS2, NEWKO2, WRBTR2, KOSTL2. This will help system to identify 1st and 2nd line item from the file. If there are 3 or more lines, enter 3 or next number for above fields and complete recordings.
1-121.png


Click on specify files. Step 4 and 5 are skipped.
1-122.png


Select the file, click on Tabulator and check ‘Field Name at Start of file’. Steps till Display Converted Data are skipped.

1-123.png


File converted successfully.
1-124.png


Create Batch Input Session.
1-126.png


  1. Processing

Click on Run Batch Input session and execute. Select Session FB01.
1-127.png
Select foreground mode to see if LSMW picks correct values.

x.png


Check below screen. Its picking up.

x-1.png


x-3.png


.Convert this Session to background

x-2.png


4-59.png


Click on Session Overview. Double click on session.
5-52.png


  1. Output

Documents are posted.

6-50.png


Check in FB03.
7-47.png


I hope this document is useful to you.

Any suggestion/mistakes/opinions are welcomed.

Zunaid Hingora

Okumaya devam et...
 
Üst