Unable to Create a Material -- All replies will be rewarded..
Hi All,
When I try to create a new material number using MM01 I get the Error Message 'The internal Number already Exists"
I debugged the code and I found the following things
SAP is using the function module MATERIAL_NUMBER_GET to get the next number
SAP returns the material number and we take only last 4 digits and prefix our own code to generate an internal number
For example
Number returned from MATERIAL_NUMBER_GET is 19718
wE Prefix 'CORP' to MATNR to create our own standard internal number range called CORP19718 in this example.
the function module is returning the numbers which already exists in the database( Since we prefix Our own code in front of SAP returned Material Number )
The numbers 10000 to 20000 are not returned by SAP when I call the Function Module.
in a clear way call the function module MATERIAL_NUMBER_GET pass 10 as the maximum new numbers u needed now the function module returns say 1000 to 1010.
I did not use these numbers and I called the function module again now it reurns 1011 to 1020.
Actually I did not used numbers from 1000 to 1010 now if i want to use those numbers what should i do.
I can use these un used Numbers in this range to generate an SAP number
now the question, can anyone please tell me if there is any customising needed so that system returns the number which is not used .
All Replies will be Rewarded..
Regards
Martin
Hi Rich,
Yep, thats right. My only solution for this problem would be to get those unused numbers.
Can U throw some light on this?
I rewarded U points too
Cheers
Martin
Similar Messages
-
Copy Material Master Record -- All Answers will be rewarded
Hello All,
I need to copy the set of materials from one plant to another plant.
Say I need to copy Materials from plant 1123 to 1128.
Say some 10000 materials approximately.
one way is to create using MM01 with the reference Material. However this is not possible as different material numbers can have different Views.
Is there a smart way to do this.
Please let me know Marting...I will Reward all Answers
Regards
Martingtry this sample program in which it will copy one material to another material it will work
REPORT ZM_MAT_EXT_TO_PLANT
NO STANDARD PAGE HEADING
LINE-SIZE 255
MESSAGE-ID ZI.
Program : ZM_MAT_EXT_TO_PLANT *
Author : warun kumar todimala P *
Type : Extend Material from one plant to another using BDC *
Description : The program will use BDC CALL TRANSACTION to extend *
material from one plant to another plant. If error *
occurs, an error session will be created with name *
given on selection screen. So that it can be manually *
processed using SM35 *
TCODE used : MM01 - Create Material *
SAP Request : D51K912730 *
Date : 13SEP2006 *
C H A N G E L O G *
Date | Req No | Initial | Description
14SEP06 D51K912772 Plant validation from T001W *
Warehouse view validation *
18SEP06 D51K912817 Change for xl file *
Tables Declaration
TABLES: MARA, "General Material Data
MARC, "Plant Data for Material
MVKE, "Sales Data for Material
MBEW, "Material Valuation
MARD, "Storage Location Data for Material
MAKT, "Material Descriptions
T100, "Messages
T130M, "Transaction control parameters: mat. master maintenance
MLGN. "Material Data for Each Warehouse Number
Internal table declaration
*--Internal table for Sales data for material
DATA: BEGIN OF INT_MVKE OCCURS 0,
MATNR LIKE MVKE-MATNR,
VKORG LIKE MVKE-VKORG,
VTWEG LIKE MVKE-VTWEG,
VMSTA LIKE MVKE-VMSTA,
VMSTD LIKE MVKE-VMSTD,
DWERK LIKE MVKE-DWERK,
KONDM LIKE MVKE-KONDM,
PRODH LIKE MVKE-PRODH,
MTPOS LIKE MVKE-MTPOS,
END OF INT_MVKE.
*--Internal table for material if input file is given
TYPES: BEGIN OF T_MAT,
MATNR LIKE MATERIALID-MATNR_EXT,
SLGORT LIKE MARD-LGORT,
TLGORT LIKE MARD-LGORT,
END OF T_MAT.
TYPES: BEGIN OF T_VALID_MAT,
MATNR LIKE MATERIALID-MATNR_EXT,
END OF T_VALID_MAT.
DATA: BEGIN OF IT_RMAT OCCURS 0,
MATNR LIKE MARA-MATNR,
TLGORT LIKE MARD-LGORT,
SLGORT LIKE MARD-LGORT,
END OF IT_RMAT.
*--Warehouse data
DATA: BEGIN OF INT_WAREH OCCURS 0,
MATNR LIKE MLGN-MATNR,
LGNUM LIKE MLGN-LGNUM,
LTKZA LIKE MLGN-LTKZA,
LTKZE LIKE MLGN-LTKZE,
LGBKZ LIKE MLGN-LGBKZ,
END OF INT_WAREH.
*--Marked for deletion
TYPES: BEGIN OF T_MAR_DEL,
MATNR LIKE MARA-MATNR,
LVORM LIKE MARA-LVORM,
END OF T_MAR_DEL.
*--Range for material FOR input file in
in internal format
RANGES: R_MATNR FOR MARA-MATNR.
*--Internal table for Material Valuation
DATA: BEGIN OF INT_MBEW OCCURS 0,
MATNR LIKE MBEW-MATNR,
VPRSV LIKE MBEW-VPRSV,
STPRS LIKE MBEW-STPRS,
BKLAS LIKE MBEW-BKLAS,
ZPLD1 LIKE MBEW-ZPLD1,
ZPLD2 LIKE MBEW-ZPLD2,
END OF INT_MBEW.
*--Types for inal internal table contains all the data used to extend
*--the material(s)
TYPES: BEGIN OF T_FINAL,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
VPSTA LIKE MARA-VPSTA,
MBRSH LIKE MARA-MBRSH,
MEINS LIKE MARA-MEINS,
MATKL LIKE MARA-MATKL,
GEWEI LIKE MARA-GEWEI,
RAUBE LIKE MARA-RAUBE,
SPART LIKE MARA-SPART,
PRDHA LIKE MARA-PRDHA,
MAGRV LIKE MARA-MAGRV,
WERKS LIKE MARC-WERKS,
PSTAT LIKE MARC-PSTAT,
PLIFZ LIKE MARC-PLIFZ,
SSQSS LIKE MARC-SSQSS,
LADGR LIKE MARC-LADGR,
SERNP LIKE MARC-SERNP,
PERIV LIKE MARC-PERIV,
STAWN LIKE MARC-STAWN,
HERKL LIKE MARC-HERKL,
EKGRP LIKE MARC-EKGRP,
DISMM LIKE MARC-DISMM,
DISPO LIKE MARC-DISPO,
DISLS LIKE MARC-DISLS,
LGPRO LIKE MARC-LGPRO,
FHORI LIKE MARC-FHORI,
DZEIT LIKE MARC-DZEIT,
BWSCL LIKE MARC-BWSCL,
AWSLS LIKE MARC-AWSLS,
LGFSB LIKE MARC-LGFSB,
MAKTX LIKE MAKT-MAKTX,
TLGORT LIKE MARD-LGORT,
SLGORT LIKE MARD-LGORT,
VKORG LIKE MVKE-VKORG,
VTWEG LIKE MVKE-VTWEG,
VMSTA LIKE MVKE-VMSTA,
VMSTD LIKE MVKE-VMSTD,
DWERK LIKE MVKE-DWERK,
KONDM LIKE MVKE-KONDM,
PRODH LIKE MVKE-PRODH,
MTPOS LIKE MVKE-MTPOS,
VPRSV LIKE MBEW-VPRSV,
STPRS LIKE MBEW-STPRS,
BKLAS LIKE MBEW-BKLAS,
ZPLD1 LIKE MBEW-ZPLD1,
ZPLD2 LIKE MBEW-ZPLD2,
LGNUM LIKE MLGN-LGNUM,
LTKZA LIKE MLGN-LTKZA,
LTKZE LIKE MLGN-LTKZE,
LGBKZ LIKE MLGN-LGBKZ,
END OF T_FINAL.
TYPES: BEGIN OF T_LOG,
MATNR LIKE MATERIALID-MATNR_EXT,
MTART LIKE MARA-MTART,
WERKS LIKE MARC-WERKS,
MSG(480),
MSGTYP TYPE C,
END OF T_LOG.
TYPES: BEGIN OF T_INVALID,
MATNR LIKE MATERIALID-MATNR_EXT,
WERKS LIKE MARC-WERKS,
MSG(100),
END OF T_INVALID.
*--Internal to for mateial descriptions
*DATA: BEGIN OF INT_MAT_DES OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF INT_MAT_DES.
DATA: BEGIN OF IT_FINAL1 OCCURS 0,
MATNR LIKE MATERIALID-MATNR_EXT,
MTART LIKE MARA-MTART,
MBRSH LIKE MARA-MBRSH,
WERKS LIKE MARC-WERKS,
PSTAT LIKE MARC-PSTAT,
LGPRO LIKE MARC-LGPRO,
LGFSB LIKE MARC-LGFSB,
TLGORT LIKE MARD-LGORT,
SLGORT LIKE MARD-LGORT,
END OF IT_FINAL1.
*--Internal table for Storage Location Data
DATA : BEGIN OF INT_MARD OCCURS 0,
MATNR LIKE MARD-MATNR,
WERKS LIKE MARD-WERKS,
LGORT LIKE MARD-LGORT,
END OF INT_MARD.
*--For Views
TYPES: BEGIN OF T_XBILDTAB.
INCLUDE STRUCTURE MBILDTAB.
TYPES: END OF T_XBILDTAB.
*--Internal table for VIEWS
DATA: IT_XBILDTAB TYPE STANDARD TABLE OF T_XBILDTAB WITH HEADER LINE.
*--Final internal table contains all the data used to extend the
material(s)
DATA: IT_FINAL TYPE STANDARD TABLE OF T_FINAL WITH HEADER LINE,
IT_TPLANT TYPE STANDARD TABLE OF T_FINAL WITH HEADER LINE,
int_fplant TYPE STANDARD TABLE OF t_final WITH HEADER LINE,
IT_TOTAL TYPE STANDARD TABLE OF T_FINAL WITH HEADER LINE,
WA_FINAL TYPE T_FINAL,
WA_TPLANT TYPE T_FINAL,
INT_TEST TYPE STANDARD TABLE OF T_FINAL WITH HEADER LINE,
WA_T130M LIKE T130M,
*--table for bdcdata to store the bdc data
IT_BDCDATA TYPE STANDARD TABLE OF BDCDATA WITH HEADER LINE,
*--table for messages come from the 'CALL TRANSACTION'
IT_MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE,
IT_SREP TYPE STANDARD TABLE OF T_LOG WITH HEADER LINE,
IT_EREP TYPE STANDARD TABLE OF T_LOG WITH HEADER LINE,
IT_AVL TYPE STANDARD TABLE OF T_LOG WITH HEADER LINE,
IT_ERR TYPE STANDARD TABLE OF T_LOG WITH HEADER LINE,
IT_DUPREC TYPE STANDARD TABLE OF T_MAT WITH HEADER LINE,
IT_MAT TYPE STANDARD TABLE OF T_MAT WITH HEADER LINE,
IT_MAT1 TYPE STANDARD TABLE OF T_MAT WITH HEADER LINE,
IT_DELREC TYPE STANDARD TABLE OF T_MAT WITH HEADER LINE,
IT_MAR_DEL TYPE STANDARD TABLE OF T_MAR_DEL WITH HEADER LINE,
IT_DELREC35 TYPE STANDARD TABLE OF T_MAT WITH HEADER LINE,
IT_VALID_REC TYPE STANDARD TABLE OF T_VALID_MAT WITH HEADER LINE,
IT_IN_VALID TYPE STANDARD TABLE OF T_VALID_MAT WITH HEADER LINE,
IT_INVALID TYPE STANDARD TABLE OF T_INVALID WITH HEADER LINE,
IT_INVALID1 TYPE STANDARD TABLE OF T_INVALID WITH HEADER LINE,
*--Standard views
IT_T133A TYPE STANDARD TABLE OF T133A WITH HEADER LINE,
IT_T134 TYPE STANDARD TABLE OF T_XBILDTAB WITH HEADER LINE.
Global variables declaration
DATA:
GV_TRANS_CODE TYPE SY-TCODE VALUE 'MM01',"Tcode
GV_MTART LIKE MARA-MTART, "Material type
GV_MATNR LIKE MATERIALID-MATNR_EXT, "40 char material
HOLDDATE LIKE SY-DATUM, "Holdate for session
GV_SES_OPEN, "Session open check
GV_LAST LIKE MBILDTAB-GUIFU, "View code
GV_VIEW_CODE LIKE MBILDTAB-GUIFU, "Function code
GV_PURCH_VIEW TYPE I, "Purch view
GV_FIRST_VIEW(2) TYPE N, "First view
GV_OKCODE TYPE SY-UCOMM, "Ok code
GV_MSG1(150), "Message
GV_CNTR TYPE I VALUE '1', "Counter
GV_VIEW_CNT LIKE SY-TABIX, "View count
GV_NXT_VIEW LIKE MBILDTAB-GUIFU, "Function code
GV_ERCNT TYPE I, "Error records count
GV_SCNT TYPE I, "Success records count
GV_VALIDREC TYPE I, "Valid record count
GV_DUPREC TYPE I, "Duplicate record count
GV_AVL TYPE I, "Available records count
GV_MSG(120), "Message
GV_INREC TYPE I, "Input records count
GV_MAR_DEL TYPE I, "Marked for deletion
GV_FILE_STR TYPE STRING, "Hold file name except 'txt'
GV_LAST_4_CHARS TYPE STRING, "To hold '.txt' from inpfile
GV_TCNT TYPE I, "Total record count
GV_INVALID_REC TYPE I, "Invalide record count
GV_FILE_CRT_Y_OR_NO TYPE C. "file created or not
CONSTANTS
CONSTANTS:
TCODE_MM01 LIKE TSTC-TCODE VALUE 'MM01',
C_UPDATE TYPE C VALUE 'A'.
S E L E C T - O P T I O N S
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 1(25) TEXT-009.
SELECTION-SCREEN: POSITION 33.
PARAMETER P_WH AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN: END OF LINE.
SELECT-OPTIONS : S_MATNR FOR MARA-MATNR.
PARAMETERS : P_FWERKS LIKE MARC-WERKS OBLIGATORY,
P_TWERKS LIKE MARC-WERKS OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK B1.
SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 1(25) TEXT-004.
SELECTION-SCREEN: POSITION 32.
*--Input file
PARAMETERS: P_IFILE LIKE RLGRAP-FILENAME. "input file
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 1(25) TEXT-005.
SELECTION-SCREEN: POSITION 32.
*--Unix output file
PARAMETERS: P_OFILE LIKE RLGRAP-FILENAME LOWER CASE DEFAULT
'./sap_out/matextplnt'. "Output file in UNIX
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 1(25) TEXT-012.
SELECTION-SCREEN: POSITION 32.
*--PC file ( used to create the files from internal tables)
PARAMETERS: P_PCFILE LIKE RLGRAP-FILENAME LOWER CASE OBLIGATORY
DEFAULT 'C:\'.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN : END OF BLOCK B2.
SELECTION-SCREEN : BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.
*--Session Name
PARAMETERS : P_GROUP LIKE APQI-GROUPID DEFAULT 'MAT_Extension'.
*--Mode (like All Screen - A)
PARAMETERS P_MODE LIKE CTU_PARAMS-DISMODE DEFAULT 'N'.
SELECTION-SCREEN: END OF BLOCK B3.
*- A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN.
IF ( P_IFILE = ' ' ) AND ( S_MATNR[] IS INITIAL ).
MESSAGE E000(ZI) WITH 'Please Enter the Material or Input file'.
ENDIF.
*--download the data from pc file
IF P_IFILE NE ' '.
PERFORM VALIDATE_IN_FILE.
PERFORM GET_DATA_FRM_FILE.
ENDIF.
Validate selection screen entries
PERFORM VALIDATE_SEL_SCREEN_ENTRIES.
*- A T S E L E C T I O N S C R E E N --- Value Request
*--F4 help for input flie
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_IFILE.
PERFORM VALUE_REQUEST_FOR_PC_FILE USING P_IFILE.
*--F4 help for pc file
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PCFILE.
PERFORM VALUE_REQUEST_FOR_PC_FILE USING P_PCFILE.
*--F4 help for Unix file
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_OFILE.
PERFORM VALUE_REQ_FOR_UNIX_FILE USING P_OFILE.
T O P O F P A G E
TOP-OF-PAGE.
PERFORM TOP_OF_PAGE.
S E L E C T - O P T I O N S
START-OF-SELECTION.
*--Fecth the data from the Data Base tables
PERFORM GET_DATA.
*--Process the above data to create the final internal table
PERFORM PROCESS_DATA.
*--Extend the data to plant
PERFORM EXTEND_DATA_2_PLANT.
end of selection
END-OF-SELECTION.
PERFORM MAT_CONV_FOR_ALL_INT_TABLES.
*--Success
DESCRIBE TABLE IT_SREP LINES GV_SCNT.
*--Error
DESCRIBE TABLE IT_EREP LINES GV_ERCNT.
*--Already existing
DESCRIBE TABLE IT_AVL LINES GV_AVL.
*--Input
DESCRIBE TABLE IT_MAT LINES GV_INREC.
*--Valid
DESCRIBE TABLE IT_FINAL1 LINES GV_VALIDREC.
*--Duplicate
DESCRIBE TABLE IT_DUPREC LINES GV_DUPREC.
*--Marked for deletion
DESCRIBE TABLE IT_DELREC LINES GV_MAR_DEL.
*--Invalid
DESCRIBE TABLE IT_INVALID LINES GV_INVALID_REC.
GV_TCNT =
GV_ERCNT + GV_SCNT + GV_AVL + GV_INVALID_REC + GV_DUPREC +
GV_MAR_DEL + GV_VALIDREC + GV_INREC.
IF GV_TCNT NE 0.
*--create output PC files for each internal table
PERFORM PC_FILES_CREATION.
*--Create Unix file all internal tables
PERFORM OUT_UNIX_FILE. "create unix file for output.
*--Create the report
PERFORM REPORT_DIS.
*--Clear the contents
CLEAR: IT_SREP,
IT_EREP,
IT_AVL,
IT_MAT,
IT_FINAL1,
IT_DUPREC,
IT_DELREC,
IT_INVALID.
REFRESH:
IT_SREP,
IT_EREP,
IT_AVL,
IT_MAT,
IT_FINAL1,
IT_DUPREC,
IT_DELREC,
IT_INVALID.
ELSE.
FORMAT COLOR 6 INTENSIFIED ON.
WRITE:/ 'No Data found for the Selection Criteria'(007).
FORMAT RESET.
ENDIF.
*& Form get_data
*--Fetch the data from required data base tables
FORM GET_DATA .
DATA: LV_TABIX LIKE SY-TABIX.
**--Material type is in BAPI structures filling.
IF P_IFILE NE ' '.
PERFORM CONVERT_MAT_FRM_FILE.
ENDIF.
*--Ranges for the plants
RANGES:R_WERKS FOR MARC-WERKS.
R_WERKS-SIGN = 'I'.
R_WERKS-OPTION = 'EQ'.
R_WERKS-LOW = P_FWERKS.
APPEND R_WERKS.
R_WERKS-SIGN = 'I'.
R_WERKS-OPTION = 'EQ'.
R_WERKS-LOW = P_TWERKS.
APPEND R_WERKS.
CLEAR R_WERKS.
*--Fetch the data for the given selection from the DB table MARA & MARC
(General Material Data)
IF P_IFILE NE ' '.
SELECT R~MATNR "R = MARA
R~VPSTA
R~MTART
R~MATKL
R~MBRSH
R~MEINS
R~GEWEI
R~RAUBE
R~SPART
R~PRDHA
R~MAGRV
C~MATNR "C = MARC
C~WERKS
C~PSTAT
C~PLIFZ
C~SSQSS
C~LADGR
C~SERNP
C~PERIV
C~STAWN
C~HERKL
C~EKGRP
C~DISMM
C~DISPO
C~DISLS
C~LGPRO
C~FHORI
C~DZEIT
C~BWSCL
C~AWSLS
C~LGFSB
INTO CORRESPONDING FIELDS OF TABLE IT_TOTAL
FROM ( MARA AS R
INNER JOIN MARC AS C ON CMATNR = RMATNR )
WHERE R~MATNR IN R_MATNR AND
R~MTART IN S_MTART AND
C~WERKS IN R_WERKS .
LOOP AT IT_TOTAL.
LV_TABIX = SY-TABIX.
READ TABLE IT_RMAT WITH KEY MATNR = IT_TOTAL-MATNR.
IF SY-SUBRC = 0.
IT_TOTAL-TLGORT = IT_RMAT-TLGORT.
IT_TOTAL-SLGORT = IT_RMAT-SLGORT.
MODIFY IT_TOTAL INDEX LV_TABIX.
ENDIF.
ENDLOOP.
ELSE.
SELECT R~MATNR "R = MARA
R~VPSTA
R~MTART
R~MATKL
R~MBRSH
R~MEINS
R~GEWEI
R~RAUBE
R~SPART
R~PRDHA
R~MAGRV
C~MATNR "C = MARC
C~WERKS
C~PSTAT
C~PLIFZ
C~SSQSS
C~LADGR
C~SERNP
C~PERIV
C~STAWN
C~HERKL
C~EKGRP
C~DISMM
C~DISPO
C~DISLS
C~LGPRO
C~FHORI
C~DZEIT
C~BWSCL
C~AWSLS
C~LGFSB
INTO CORRESPONDING FIELDS OF TABLE IT_TOTAL
FROM ( MARA AS R
INNER JOIN MARC AS C ON CMATNR = RMATNR )
WHERE R~MATNR IN S_MATNR AND
R~MTART IN S_MTART AND
C~WERKS IN R_WERKS .
ENDIF. " if P_IFILE ne ' '.
IF NOT IT_TOTAL[] IS INITIAL.
SORT IT_TOTAL BY WERKS.
IT_FINAL[] = IT_TOTAL[].
IT_TPLANT[] = IT_TOTAL[].
SORT IT_FINAL BY WERKS.
SORT IT_TPLANT BY WERKS.
*Logic 1
*--Delete all entries having the plant value equal to 'to plant' value
*--So, IT_FINAL have only from plant data. But in which some data
*--already in 'to plant'
DELETE IT_FINAL WHERE WERKS = P_TWERKS.
*Logic 2
*--Delete all entries having the plant value equal to 'from plant' value
DELETE IT_TPLANT WHERE WERKS = P_FWERKS.
IF NOT IT_FINAL[] IS INITIAL.
SORT IT_FINAL BY MATNR WERKS.
SORT IT_TPLANT BY MATNR WERKS.
*Logic 3
*--Delete all the material from the 'IT_FINAL', which is already
extended to 'to plnat'.
In Logic 1 and Logic 2, just deleted the materials having the plant
value equal same. Here 'IT_FINAL' contains materials of 'from plant'
only,because 'to plant' materials have been deleted in the 'Logic1'.
But it contains the materials already extended to 'to plant', So we
Need to delete those. And it is done in the below Logic. From now
'IT_FINAL table contains materials that are to be extended.
(Already extended materials have been deleted)
LOOP AT IT_TPLANT.
READ TABLE IT_FINAL
WITH KEY MATNR = IT_TPLANT-MATNR
WERKS = P_FWERKS
BINARY SEARCH.
LV_TABIX = SY-TABIX.
IF SY-SUBRC EQ 0.
*--continue the process. This materil to be extend for other views
IF IT_FINAL-PSTAT = IT_TPLANT-PSTAT.
IT_AVL-MATNR = IT_TPLANT-MATNR.
IT_AVL-WERKS = P_TWERKS.
IT_AVL-MTART = IT_TPLANT-MTART.
IT_AVL-MSG = 'Material already in plant'.
IT_AVL-MSGTYP = 'E'.
APPEND IT_AVL.
CLEAR IT_AVL.
DELETE IT_FINAL INDEX LV_TABIX.
CLEAR IT_FINAL.
*--If the material already exist in the target plant, check for the
*--warehouse view. If only warehoues view does not exist and checked
warehouse not required, then consider that the record is exist
in target plant
ELSEIF IT_FINAL-PSTAT CA 'S' AND IT_TPLANT-PSTAT NA 'S'.
If warehouse view does not require, then no need to copy again
IF P_WH = 'X'.
IT_AVL-MATNR = IT_TPLANT-MATNR.
IT_AVL-WERKS = P_TWERKS.
IT_AVL-MTART = IT_TPLANT-MTART.
IT_AVL-MSG = 'Material already in plant'.
IT_AVL-MSGTYP = 'E'.
APPEND IT_AVL.
CLEAR IT_AVL.
DELETE IT_FINAL INDEX LV_TABIX.
CLEAR IT_FINAL.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
*--Logic 4 ( Get the data from MARD, MVKE, MBEW and MAKT)
IF NOT IT_FINAL[] IS INITIAL.
*--Get the data from DB tabel MVKE (Sales Data for Material)
for all the materials in 'IT_FINAL'.
SELECT
MATNR
VKORG
VTWEG
VMSTA
VMSTD
DWERK
KONDM
PRODH
MTPOS
FROM MVKE
INTO TABLE INT_MVKE
FOR ALL ENTRIES IN IT_FINAL
WHERE MATNR = IT_FINAL-MATNR.
*--Get the data from DB table MBEW (Material Valuation)
for all the materials in 'IT_FINAL'.
SELECT
MATNR
VPRSV
STPRS
BKLAS
ZPLD1
ZPLD2
FROM MBEW
INTO TABLE INT_MBEW
FOR ALL ENTRIES IN IT_FINAL
WHERE MATNR = IT_FINAL-MATNR AND
BWKEY = IT_FINAL-WERKS.
Start of change by Hema on 09/21/06
Since basic view is not required to copy, no need description also
*--Get the data from DB table MAKT (Material Descriptions)
for all the materials in 'IT_FINAL'.
SELECT MATNR
MAKTX
FROM MAKT
INTO CORRESPONDING FIELDS OF TABLE INT_MAT_DES
FOR ALL ENTRIES IN IT_FINAL
WHERE MATNR = IT_FINAL-MATNR AND
SPRAS = SY-LANGU.
End of change by Hema on 09/21/06
*--Get the warehouse data.
SELECT MATNR
LTKZA
LTKZE
LGBKZ
INTO CORRESPONDING FIELDS OF TABLE INT_WAREH
FROM MLGN
FOR ALL ENTRIES IN IT_FINAL
WHERE MATNR = IT_FINAL-MATNR.
SELECT SINGLE * FROM T130M
INTO WA_T130M
WHERE TCODE = GV_TRANS_CODE.
*--Sort the internal table by material
SORT INT_MARD BY MATNR WERKS.
SORT INT_MVKE BY MATNR.
SORT INT_MBEW BY MATNR.
SORT INT_MAT_DES BY MATNR.
SORT INT_WAREH BY MATNR.
ENDIF.
ENDFORM. " get_data
*& Form process_data
*--Fill the final internal with data from all the internal tables
FORM PROCESS_DATA .
DATA: LV_LINES TYPE I.
*--Logic 5: Fill the 'IT_FINAL' table from the 'int_mard', 'int_mvke'
'int_mat_des' and int_mbew' as follows.
LOOP AT IT_FINAL.
*--Copy Target storage locaction to Prod.Stor.Loc and stor.Loc.for EP
IT_FINAL-LGPRO = IT_FINAL-TLGORT.
IT_FINAL-LGFSB = IT_FINAL-TLGORT.
READ TABLE INT_MVKE WITH KEY MATNR = IT_FINAL-MATNR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
IT_FINAL-VKORG = INT_MVKE-VKORG.
IT_FINAL-VTWEG = INT_MVKE-VTWEG.
IT_FINAL-VMSTA = INT_MVKE-VMSTA.
IT_FINAL-VMSTD = INT_MVKE-VMSTD.
IT_FINAL-DWERK = INT_MVKE-DWERK.
IT_FINAL-KONDM = INT_MVKE-KONDM.
IT_FINAL-PRODH = INT_MVKE-PRODH.
IT_FINAL-MTPOS = INT_MVKE-MTPOS.
ENDIF.
READ TABLE INT_MAT_DES WITH KEY MATNR = IT_FINAL-MATNR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
IT_FINAL-MAKTX = INT_MAT_DES-MAKTX.
ENDIF.
READ TABLE INT_MBEW WITH KEY MATNR = IT_FINAL-MATNR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
IT_FINAL-VPRSV = INT_MBEW-VPRSV.
IT_FINAL-STPRS = INT_MBEW-STPRS.
IT_FINAL-BKLAS = INT_MBEW-BKLAS.
IT_FINAL-ZPLD1 = INT_MBEW-ZPLD1.
IT_FINAL-ZPLD2 = INT_MBEW-ZPLD2.
ENDIF.
READ TABLE INT_WAREH WITH KEY MATNR = IT_FINAL-MATNR
BINARY SEARCH.
IF SY-SUBRC EQ 0.
IT_FINAL-LGNUM = INT_WAREH-LGNUM.
IT_FINAL-LTKZA = INT_WAREH-LTKZA.
IT_FINAL-LTKZE = INT_WAREH-LTKZE.
IT_FINAL-LGBKZ = INT_WAREH-LGBKZ.
ENDIF.
MODIFY IT_FINAL
TRANSPORTING
VKORG
VTWEG
VMSTA
VMSTD
LGPRO
LGFSB
DWERK
KONDM
PRODH
MTPOS
MAKTX
VPRSV
STPRS
BKLAS
ZPLD1
ZPLD2
LGNUM
LTKZA
LTKZE
LGBKZ.
ENDLOOP.
ENDFORM. " process_data
*& Form value_request_for_pc_file
*--F4 help for the file names.
FORM VALUE_REQUEST_FOR_PC_FILE USING P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SY-CPROG
DYNPRO_NUMBER = SY-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = P_FILE.
ENDFORM. " value_request_for_pc_file
*& Form extend_data_2_plant
*--Use the final internal table to extend the material from one plant 2
*--another using the following logic which involved in 'four performs'
FORM EXTEND_DATA_2_PLANT .
DATA: BEGIN OF INT_VIEWS OCCURS 0.
INCLUDE STRUCTURE MBILDTAB.
DATA END OF INT_VIEWS.
IF NOT IT_FINAL[] IS INITIAL.
LOOP AT IT_FINAL.
GV_MTART = IT_FINAL-MTART.
*--Get the 32 char Lenth Material number
PERFORM MATERIAL_CON USING IT_FINAL-MATNR.
CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT'
EXPORTING
INPUT = IT_FINAL-MATNR
IMPORTING
OUTPUT = GV_MATNR.
*--Get the views for the current material
PERFORM GET_THE_VIEWS_4_MAT.
*--Fill bdctable for all view available in 'copy from material'
PERFORM CREATE_DATA_FOR_VIEWS.
*--Use the above structures and call the 'MM01' to extend the material
PERFORM EXTEND_MAT_2_PLANT.
CLEAR: GV_FIRST_VIEW, GV_NXT_VIEW, GV_MATNR.
ENDLOOP.
*--close the session if open
IF GV_SES_OPEN EQ 'X'.
PERFORM CLOSE_GRP.
SKIP 1.
WRITE:/5 'Session Created', 40 P_GROUP COLOR 4.
ENDIF.
ELSE.
SKIP 2.
WRITE:/5 TEXT-010 COLOR 4.
'No Data exists for the given selection'.
ENDIF.
IF NOT IT_EREP[] IS INITIAL.
LOOP AT IT_EREP.
CALL FUNCTION 'CONVERSION_EXIT_MATN2_OUTPUT'
EXPORTING
INPUT = IT_EREP-MATNR
IMPORTING
OUTPUT = IT_EREP-MATNR.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
MODIFY IT_EREP.
ENDIF.
ENDLOOP.
ENDIF.
ENDFORM. " extend_data_2_plant
*& Form get_the_views_4_mat
*--Get the views for current material
FORM GET_THE_VIEWS_4_MAT .
DATA: LV_BILDSEQUENZ TYPE T133A-BILDS,
LV_PSTAT LIKE T134-PSTAT.
CLEAR: T130M,
LV_BILDSEQUENZ,
IT_XBILDTAB.
REFRESH IT_XBILDTAB.
*--Get the Build sequece for particular Material type
CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
EXPORTING
BRANCHE = IT_FINAL-MBRSH
MATERIALART = IT_FINAL-MTART
TCODE_REF = WA_T130M-TRREF
KZRFB = ' '
IMPORTING
BILDSEQUENZ = LV_BILDSEQUENZ
KZ_BILDS_CHANGED =
EXCEPTIONS
WRONG_CALL = 1
NOT_FOUND = 2
OTHERS = 3
*--Get the actual number views for the current material will stored
*--in the internal table 'IT_XBILDTAB'.
IF SY-SUBRC = 0.
CALL FUNCTION 'SELECTION_VIEWS_FIND'
EXPORTING
BILDSEQUENZ = LV_BILDSEQUENZ
PFLEGESTATUS = IT_FINAL-VPSTA
PFLEGESTATUS = IT_FINAL-PSTAT
TABLES
BILDTAB = IT_XBILDTAB
EXCEPTIONS
CALL_WRONG = 1
EMPTY_SELECTION = 2
OTHERS = 3.
ENDIF.
*--Build actual table for view sequence
SELECT SINGLE PSTAT FROM T134
INTO LV_PSTAT
WHERE MTART = GV_MTART.
CALL FUNCTION 'SELECTION_VIEWS_FIND'
EXPORTING
BILDSEQUENZ = '01'
PFLEGESTATUS = LV_PSTAT
TABLES
BILDTAB = IT_T134
EXCEPTIONS
CALL_WRONG = 1
EMPTY_SELECTION = 2
OTHERS = 3.
IF NOT IT_XBILDTAB[] IS INITIAL.
*--Delete the Basic(SP01),
*--Classification(SP02)
*--Sales: Sales Organization Data(SP03)
*--Sales: General/Plant Data(SP04)
*--Sales Text(SP05)
*--Production Resources and Tools(SP12) which are not required
LOOP AT IT_XBILDTAB.
CASE IT_XBILDTAB-GUIFU.
WHEN 'SP01'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP01'.
WHEN 'SP02'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP02'.
WHEN 'SP03'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP03'.
WHEN 'SP04'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP04'.
WHEN 'SP05'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP05'.
WHEN 'SP12'.
DELETE IT_XBILDTAB." WITH KEY GUIFU = 'SP12'.
WHEN 'SP14'.
*--If 'do not copy warehouse' is ticked, delete the view from table.
*--problem is, if that view is last view then Save problem will
*--come in the BDC.
IF P_WH EQ 'X'.
DELETE IT_XBILDTAB.
ENDIF.
ENDCASE.
ENDLOOP.
ENDIF.
*--Get the first view of the material to select that view from Views
*-- List of the MM01
LOOP AT IT_XBILDTAB.
READ TABLE IT_T134 WITH KEY GUIFU = IT_XBILDTAB-GUIFU.
IF SY-SUBRC EQ 0.
GV_FIRST_VIEW = SY-TABIX.
GV_NXT_VIEW = IT_XBILDTAB-GUIFU.
EXIT.
ENDIF.
ENDLOOP.
ENDFORM. " get_the_views_4_mat
*& Form CREATE_DATA_FOR_VIEWS
text
--> p1 text
<-- p2 text
FORM CREATE_DATA_FOR_VIEWS .
DATA: LV_LAST_VIEW_NO TYPE I.
DESCRIBE TABLE IT_XBILDTAB LINES LV_LAST_VIEW_NO.
LOOP AT IT_XBILDTAB.
IF LV_LAST_VIEW_NO EQ SY-TABIX.
MOVE IT_XBILDTAB-GUIFU TO GV_LAST.
ENDIF.
ENDLOOP.
*--Hit the Basic view in the 'View selection Pop up', i.e very beginning
*--in Tcode: MM01. So that, only views which already in (Copy from)
*--Material can extend to the Target Plant. Int.,table IT_XBILDTAB
*--contains these views. Here flexibilty is that, not all views are
*--extended, whether the 'copy from material' contains or not.
*--i.e Dynamic selection of views.
*--So in order to ease the Dynamic selection (of views), first
*--Hit the Basic view in the 'View selection Pop up'.
PERFORM FILL_BASIC_VIEW.
PERFORM FILL_ORG_DATA USING GV_VIEW_CODE.
LOOP AT IT_XBILDTAB.
MOVE IT_XBILDTAB-GUIFU TO GV_VIEW_CODE.
CASE IT_XBILDTAB-GUIFU.
--Purchasing view
WHEN 'SP06'.
PERFORM FILL_PURCH_VIEW USING GV_VIEW_CODE.
--Purchase Order Text View
WHEN 'SP07'.
PERFORM FILL_PURCH_ORD_TEXT USING GV_VIEW_CODE.
--MRP1 View
WHEN 'SP08'.
PERFORM FILL_MRP1_VIEW USING GV_VIEW_CODE.
--MRP2 View
WHEN 'SP09'.
PERFORM FILL_MRP2_VIEW USING GV_VIEW_CODE.
--Forecast View
WHEN 'SP10'.
PERFORM FILL_FORECAST_VIEW USING GV_VIEW_CODE.
WHEN 'SP11'.
IF GV_FLG NE 'Y'.
PERFORM FILL_WORKSCHED_VIEW USING GV_VIEW_CODE.
ENDIF.
--General Plant Data / Storage View
WHEN 'SP13'.
PERFORM FILL_PLANT_STRGE_VIEW USING GV_VIEW_CODE.
--Warehouse Management View
WHEN 'SP14'.
IF P_WH <> 'X'.
-- If the 'do not warehouse' check box unchecked on sele screen
PERFORM FILL_WAREHOUSE_VIEW USING GV_VIEW_CODE.
ENDIF.
--Quality Management View
WHEN 'SP15'.
PERFORM FILL_QUALITY_VIEW USING GV_VIEW_CODE.
-- Accounting View
WHEN 'SP16'.
PERFORM FILL_ACCOUNTING_VIEW USING GV_VIEW_CODE.
--Costing View
WHEN 'SP17'.
PERFORM FILL_COSTING_VIEW USING GV_VIEW_CODE.
--Plant/Storage Location Stock View
WHEN 'SP18'.
PERFORM FILL_PLANT_ST_LOC_STK_VIEW USING GV_VIEW_CODE.
ENDCASE.
CLEAR GV_OKCODE.
ENDLOOP.
ENDFORM. " CREATE_DATA_FOR_VIEWS
*& Form fill_basic_view
text
--> p1 text
<-- p2 text
FORM FILL_BASIC_VIEW .
DATA FIELD_STR(40).
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '0060'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RMMG1-MATNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'RMMG1-MATNR'
GV_MATNR."nt_final-matnr.
PERFORM BDC_FIELD USING 'RMMG1_REF-MATNR'
GV_MATNR."IT_FINAL-matnr.
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '0070'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
CONCATENATE 'MSICHTAUSW-KZSEL(' GV_FIRST_VIEW ')' INTO FIELD_STR.
PERFORM BDC_FIELD USING FIELD_STR 'X'.
ENDFORM. " fill_basic_view
*& Form fill_purch_view
Purchasing view
FORM FILL_ORG_DATA USING GV_VIEW_CODE.
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '0080'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RMMG1_REF-WERKS'.
PERFORM BDC_FIELD USING 'RMMG1-WERKS'
P_TWERKS.
PERFORM BDC_FIELD USING 'RMMG1_REF-WERKS'
P_FWERKS.
IF GV_NXT_VIEW EQ 'SP08'.
PERFORM BDC_FIELD USING 'RMMG1-LGORT'
IT_FINAL-TLGORT.
PERFORM BDC_FIELD USING 'RMMG1_REF-LGORT'
IT_FINAL-SLGORT.
ENDIF.
ENDFORM. " fill_org_data
*& Form fill_purch_ord_text
Purchase order text
FORM FILL_PURCH_ORD_TEXT USING GV_VIEW_CODE.
CONCATENATE '=' GV_VIEW_CODE INTO GV_OKCODE.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SP07'.
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '3050'.
IF GV_VIEW_CODE EQ GV_LAST.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=BU'.
ENDIF.
ENDFORM. " fill_purch_ord_text
*& Form fill_MRP1_view
MRP1
FORM FILL_MRP1_VIEW USING GV_VIEW_CODE.
CONCATENATE '=' GV_VIEW_CODE INTO GV_OKCODE.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=SP08'.
IF GV_NXT_VIEW EQ 'SP06'.
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '0081'.
PERFORM BDC_FIELD USING 'RMMG1-LGORT'
IT_FINAL-TLGORT.
PERFORM BDC_FIELD USING 'RMMG1_REF-LGORT'
IT_FINAL-SLGORT.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
CLEAR GV_NXT_VIEW.
ENDIF.
PERFORM BDC_DYNPRO USING 'SAPLMGMM' '3006'.
PERFORM BDC_FIELD USING 'MARC-LGPRO'
IT_FINAL-LGPRO.
PERFORM BDC_FIELD USING 'MARC-LGFSB'
IT_FINAL-LGFSB.
IF GV_VIEW_COD -
Unable to create a Materialized View
I have this query to generate continous dates for the given number of months (12 in this case).
(SELECT ADD_MONTHS(TO_DATE('2007-01-01', 'yyyy-mm-dd'), rownum - 1) Transaction_Date_Month
FROM DUAL
CONNECT BY level <= 12)I am using this query alongside with another query to get some results. I want to put the whole query what i have in a "Materialized View". But it is not allowing me to create the materialized view becuase of using "rownum". So how can i avoid "rownum" for getting all the dates and also use it in Materialized View.Why do you want to create this a materialized view?
I presume the date changes dynamically somehow otherwise you'd want to use a table
What is the actual date range you want to use?
Would you be better off using a materialized subquery using WITH?
WITH subq_months AS
(SELECT /*+materialize */ADD_MONTHS(TO_DATE('2007-01-01', 'yyyy-mm-dd'), rownum - 1) Transaction_Date_Month FROM DUAL CONNECT BY level <= 12)
SELECT -- use months here somehow --
FROM subq_months -
HI ALL
Why is that it is not possible to create the material, when i enter the oranization data at while i creating the material. it says that invalid Sales Area thought the assignment of Sales Organization to Distribution channel is done all most all the setting are done which are required (iam working on ECC 6.0)
plz help me in this regard
Thanks & Regards
BMSHi Krishna,
Have u maintain the sales area. After assignement you have to create different combination of sales area. Go to SPRO
Enterprise Structure
Assignment
Sales and Distribution
Setup Sales area T CODE is [OVXG]
Select the Sales Organisation and assign Distribution channels
Select the distribution channel and assign the divisions and save it.
Reward Point if helpful.
Thanks,
Raja
Edited by: Raja Singh Chhabeda on Jun 10, 2008 5:27 PM -
Dear SAP Experts,
We are trying to create one material with the internal number range but, after filling up all the data in the material master and during saving the material master System is showing that Procurement Type is mandatory and needs to be filled up. We agianed filled up the procurement type but again system is not allowing us to post and gives the same message.
Please help us if anyody have experienced such kind of issues.
With Best Regards
Debjeet BanerjeeHi,
What material type you are using for creating material.
If you facing same problem again & again during material creation, check the material type in OMS2 and see Internal/external purchase orders segment and see field what you enter in Ext. Purchase Orders --- & Int. purchase order ---, so its mismatching during material creation. Just check material type ROH{Ext. Purchase Orders 2 & Int. purchase order 0}, FERT {Ext. Purchase Orders 1 & Int. purchase order 2}and HALB {Ext. Purchase Orders 2 & Int. purchase order 2 } and then do /set accordingly for your material.
Regards,
Biju K -
Unable to create packaging material PO
Hi Expert!
Need your help again..
I can't create packaging material PO.. The error is.."source not include in list despite source list requirement". Why am i having this error? How to fix it? Is it because of vendor has been blocked? How to check? Please anyone help me to solve this problem. Otherwise i can't create any PO for packaging material..
Thanks..Hi
Please maintain the source list for the material
Or remove the soure-list req tick form the material master.
Regards
Niti Narayan -
Illustrator 18.1 - Unable to create preview
After upgrading to Illustrator 18.1 when I open a file I get an error "Unable to create preview" and all the artwork on the page is gone. I can see it in outline view, but not in preview mode.
Hi Aneta G.,
the ruler origin has changed with CS5.
Maybe this can help a little to your understanding:
// ArtboardsAddInEachQuadrant_CS5.jsx
// regards pixxxelschubser
var AB_1 = activeDocument.artboards.add([0,50,200,0]);
AB_1.name = 'first quadrant';
var AB_2 = activeDocument.artboards.add([-200,50,0,0]);
AB_2.name = 'second quadrant';
var AB_3 = activeDocument.artboards.add([-200,0,0,-50]);
AB_3.name = 'third quadrant';
var AB_4 = activeDocument.artboards.add([0,0,200,-50]);
AB_4.name = 'fourth quadrant';
Have fun -
Unable to create Material CR , cannot display the page , dump in ST22
Hi Experts,
We are implementing MDG with EHP6 with following components installed with
But I am unable to create Material CR . I am getting the initial page for Create Material but after I hit continue, the next page cannot be displayed .
It is creating an ST22 dump that the config id 'MDG_BS_MAT_PLANT_LIST_ATS' is having an invalid column 'DISPO_TXT' . But I am unable to find the relevant UIBB for this config id . Any thoughts on this issue and how to resolve it. How can I edit the configuration , I don't see that UIBB .
I am unable to find the UIBB for config id 'MDG_BS_MAT_PLANT_LIST_ATS'
I am unable to see the UIBB for MDG_BS_MAT_PLANT_LIST_ATS
I could see the component configuration for MDG_BS_MAT_PLANT_LIST_ATSI found a note 1830324 from SAP regarding this issue , but it is related to SP08 and we are already in SP09.
This note is about the List Component (WD ABAP component FPM_LIST_UIBB_ATS). When the List Component is started it reads the columns from the configuration. All columns in the configuration should be part of the field catalog that is defined by the feeder class (feeder class method get_definition, parameter io_field_catalog). Otherwise the column is invalid (this could happen e. g. when a column that has already been configured is later removed from the field catalog). When such a invalid column is detected the List Component should raise an X-message and in the short text the name of the configuration and the name of the invalid column should be mentioned. The solution then would be to remove that invalid column from the configuration.
Not sure why we are still getting the invalid column issue. -
I deleted my email account that is tied with my original apple account. I created a new apple Id and I'm afraid that I will lose all of my previous purchases. Please help.
Sort of.
- Apps and other purchases are locked to the account that purchased them.
- You have to log into the account opd do certain things with the purchases like transfer then to your computer.
- To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
Try recovering yur PS for the first axccount so y can change the email address.
How do I change or recover a forgotten Apple ID Password?
If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
Note: @mac.com and @me.com Apple IDs can not be renamed. If you no longer use the .mac or .me email address be sure to add your valid email address as an additional email address. -
If I create a new apple ID will I lose all the apps I have purchased with my original ID?
If I create a new apple ID will I lose all the apps I have purchased with my original ID?
I set up FaceTime and Messages on four different devices with only one Apple ID. I used the exact method that is described in the video that AnaMusic has provided to you in the link in her response above. That method worked fine for my family, but you can create new Apple ID's just to use for FaceTime and Messages if you like. Many users prefer doing that as opposed to adding new email addresses.
IMO - using unique email addresses (like in the video) makes sense, because we (my family) all have different email addresses anyway, and it was very simple to add each family members email address to both apps and remove my Apple ID email address as the contact address on each device.
BTW .... if you are using your Apple ID on both devices - your phone number should be the number that is showing in the settings - not you daughter's. Did you set up the Apps with your Apple ID? -
iPhoto is no longer allowing me to export & resize photos into a file on my desktop. It just states that it is Unable to create file on desktop. I'm not sure what this means on how to correct this issue. Any support would be greatly appreciated!
Then do the following:
Fix #1
Launch iPhoto with the Command+Option keys held down and rebuild the library.
Select the options identified in the screenshot.
If Fix #1 fails to help continue with:
Fix #2
Using iPhoto Library Manager to Rebuild Your iPhoto Library
Download IPhoto Library Manager 4 for OS XC 10.6.8 and iPhoto 8.1.2 and later or iPhoto Library Manager 3 (for OS X 10.5.8 and iPhoto 7.1.5 and earlier) and launch.
Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu (iPLM 3) or Library ➙ Rebuild Library menu (iPLM 4) option.
In the next window name the new library and select the location you want it to be placed.
Click on the Create button.
Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory. -
I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have…I guess I can auto start the DVD but would prefer a button…how and where would I put this "play all" marker?? Thanks..
The start chapter button is a play the whole movie button regardless of how many other markers you have.
Once a DVD starts playing it continues to the end.
Chapters marker simply gives the viewer a place to start playback whether it be the start, middle or near the end.
Al -
Problems with CX dropping all traffic - error message: Unable to create policy params (policy-params-failed) seen when issuing cli cmd show opdata framedrop on CX.
Data hits ASA Service Policy and is redirected to CX, but no traffic is passed (user experience is timeout in browser).
Problem started after SW upgrade - present running versions:
ASA version: 9.1.5(21)
CX version: 9.3.3.1 (13)
Have tried to disable all policies and create a 'permit any any' policy, which at present is the only activve policy - still same problem.
Any suggestions?If i am using 11G andrtp is 11g but on rtp side if they configure SSL, is it mandatory to do it from our side also?No it not mandatory to enable SSL at your end however you have to configure identity and trsut at your end.
Any update on my regular question(The main forum question)?You mentioned that you are posting message from 10g to 11g and as per log you are sending it to URL - https://dev-nog.server:443/b2b/transportServlet
So few things which I see as a problem are-
1. You should use URL https://hostname:soa_server_ssl_port/b2b/httpReceiver instead of https://dev-nog.server:443/b2b/transportServlet
2. SOA server SSL port should be enabled (SSL should be enabled on SOA server)
3. You should configure wallet at 10g side to contain trust cert of 11g server
Regards,
Anuj -
Unable to create PR via SO for DIEN material type
Hi Gurus
Need yr expertise.. I have a request from user to create PR from Sales Order for DIEN material type..Is it possible to create PR from SO for DIEN material type?
When I try to create I hit an error "No comsumption account".. This is because DIEN material type do not have valuation class..
Pls advise on the possiblities to create PR from SO (3rd party process) for DIEN...
SanjayHi,
Not sure... but when you create the material master with DIEN as the material type the item category group will be deafulted to LEIS, change this to BANS or maintain TAS in the order and try. Please post the result.
Prase -
Unable to create excise invoice against the Material document
Hi experts,
Unable to create excise invoice against the Material document in J1IEX transaction.
Material document is generated through quality management which movement type is 105.
error message :
Material document cannot be processed
Message no. M7130
Thanks
SAP MMSteps to do GR along with excise,
1.Capture excise invoice using J1IEX.
2. Refer excise invoice no. in MIGO(SAP not recommends to post excise invoice against 105 mvmt against blocked stock)
3. Post excise invoice using J1IEX
Maybe you are looking for
-
Help with creating a layout.
I need help creating a layout for my program, but am having tons of problems. I just an't that good at creating this, and it's been driving me insane. Here's the link to how I want it to look like. http://s94182144.onlinehome.us/randomstuff/layout.JP
-
MIME settings for SEEBURGER SFTP channel
Can we have MIME settings for SFTP, is Attachment option in SFTP seeburger adapter same as MIME extentions
-
.change IUCONFIG attribute value in an event-handler of IUICCON (move in)
Hi there, I have been searching for over a week now both on SDN and using the debugger, hopefully this brings more luck. On the web-client there is this new contracts page with 3 tabs. On the first tab you can choose a product, select a contract and
-
link href="style sheet error returned"
<link href="rescueRegister.css" rel="stylesheet" type="text/css" /> Check browser compatibility in DW CS4 on mac returned the following but did not suggest solution. Anyone have a suggestion? Found 4 errors in rescueRegister.css Affects: Internet Exp
-
What is difference between row format and table format in form setting of SAP B1. What is the use of Row format. Thanks Arpit