BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

Find Out Read_Text FM Parameter

 Suppose we have a requirement to show long text value in a smartforms. In this case we need to  use 'Read_Text' FM. In read_text FM we need to provide some field values for: Client,ID, Language,Name,Object.

We can find out those value from our desired field. Firstly we need to go desired T-Code, I am showing one example: QA03: 

Follow below steps:



 
  DATALINES TYPE STANDARD TABLE OF TLINE.
 
CALL FUNCTION 'READ_TEXT'
	EXPORTING
		CLIENT	= SY-MANDT
		OBJECT	= 'QPRUEFLOS'
		                    NAME  = 'concatenate of Sy-mandt Insp_lot'
		ID		= 'QALS'
		LANGUAGE	= 'E'
		ARCHIVE_HANDLE	= 0
	IMPORTING
		HEADER		=
	TABLES
		LINES	= LINES
	EXCEPTIONS
		ID		=
		LANGUAGE	=
		NAME		=
		NOT_FOUND	=
		OBJECT		=
		REFERENCE_CHECK	=
		WRONG_ACCESS_TO_ARCHIVE =

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

Convert First character to Upper case in SAP ABAP