Posts

Showing posts from September, 2023

생산라인에 자동재고 보충 하는 방법 ? Ways to replenish stock to production line?

Image
SAP WM을 사용하는 환경에서 생산라인에 자동재고 보충하는 하려고 하는데 어떤 방안이 효율적일까요? 1. 생산 투입자재별로 Min/Max을 설정(WM view 2)하고 자동재고 보충 LP21 수행하면 TR 이 생성되고, 해당 TR은 background job(schedule program RLAUTA10 )을 통해 TO 생성된다. 생성된 TO에 있는 자재별로 RF scanner을 사용하여 확정(confirmation)을 한다 2. 생산 투입자재별로 Min/Max을 설정이 없는 경우에는 엑셀 등을 사용하여 생산 투입자재별로 보충량을 계산하여 LB01 에서 TR을 생성한다. 해당 TR은 background job을 통해 TR 생성된다. 생성된 TO에 있는 자재별로 RF scanner을 사용하여 확정(confirmation)을 한다. - 엑셀에서 투입자재별로 보충 수량으로 TR을 생성하는 Macro는 아래 코드 참조한다. Sub CreateTR_LB01() Dim SapGui Dim Application Dim connection Dim session Dim WSHShell Dim ObjR3 Dim Grid Dim sap_message Dim lastRow As Long Dim i As Long ' Assuming you want to write the sap_message to cell A2 in "Sheet1" Dim DestinationSheet As Worksheet Set DestinationSheet = ThisWorkbook.Sheets("LB01") lastRow = ThisWorkbook.Sheets("LB01").Cells(ThisWorkbook.Sheets("LB01").Rows.Count, "D").End(xlUp)

How to execute Transaction with mass data without ABAP coding using SAP Script Recording, 코딩없이 대량 데이타를 SAP 업로드 할 수 있나요?

Image
In the realm of SAP, there exists a menu that holds significant value for both SAP users and consultants. Allow me to acquaint you with this menu, a gateway to executing transactions involving substantial data volumes, all without the need for intricate ABAP coding. Intrigued? Imagine a scenario where you effortlessly transfer vast data sets from Excel to SAP transactions, all facilitated by a bit of VBA coding. This menu, known as "Script Recording and Playback" in SAP, is the key to this endeavor. To embark on this journey, simply copy the provided source code and paste it into the Visual Basic Editor. You can access this editor by launching Excel and pressing ALT+F11. The possibilities that unfold are truly captivating. Absolutely, I'm here to help you through the process. Let's break it down step by step: 1. Review the SAP VBS File: First, let's thoroughly review the SAP VBS file I've provided below which will help you understand its content and identify