Commodity code from GTS to Feeder - full load
Which report can I use to transfer all materials / commodity codes to the feeder system. I know that report /SAPSLL/STAWN_RETRANSFER can be used to select the materials as of a certain date, but I want to re-synchronize GTS with the feeders because the batchjob which was created for this stopped running for a number of days.
Regards,
Luc Schouterden
Hello Luc,
to re-transfer commodity codes execute on GTS side report /SAPSLL/STAWN_RETRANSFER and on feeder side /SAPSLL/STAWN_RETRANSFER_R3.
1. /SAPSLL/STAWN_RETRANSFER calls RFC function module into the feeder system which fills up intermediate tables /SAPSLL/T604R3 and /SAPSLL/SWNWLR3 (preparation of takeover commodity code to feeder)
2. Than report /SAPSLL/STAWN_RETRANSFER_R3 takes the records from 2 intermediate tables from previous step and distributes these into the MARC, T604 and T604T tables (assignment of commodity codes and descriptions to materials)
Best regards,
Gabriel.
Similar Messages
-
GTS How to get commodity code from material master ? function/ table
Hello,
I have to write a "simple" program in GTS system. (In SD Commodity code is field MARC-STAWN )
The customer wants to enter material numbers ( from x to y )
and the program should display:
Material--Material text--Commodity codevalidity from--
validity to
4711--Maschine_A--12345678905.08.2006--
31.12.2008
124587444--01.01.2009--
31.12.9999
4712--Maschine_B--5656568901.12.2007--
31.12.2009
(The customer wants to have a look if all Commodity codes in GTS are maintained)
Can someone give me the name of the tables where it is stored in GTS?
Or are there any function calls to get material data?
best regards and many thanks
Norbert
Edited by: Norbert Zanders on Jan 1, 2009 5:08 PMYou have to consider the following tables:
/SAPSLL/PNTPR --> product number and GUID
/SAPSLL/PRCTS --> product GUID and GUID of commodity code
/SAPSLL/CTSNUM or /SAPSLL/CTSNUMC--> commodity code (general or country specific)
/SAPSLL/CTSNUMT --> commodity code description
/SAPSLL/PRT --> material description -
Feching Eccn code and HTS code from GTS to ECC
Hi Gurus,
I am extending a standard delivery idoc (DELVRY05) for some of the header and items fields.
i have tried to pull them throgh the FM /SAPSLL/***_DOCS_SD0C_GET_R3 i have passed the sales order number, item number and VBTYP to this FM to pull the Eccn code and HTS code.but all the tables are containing the zero entries.
Please help me. i have to populate the ECCN code and HTS code at the item level in my EXTENDED (Z)DELVRY05 idoc.
I have the SO number POSNR and material with me in the program.Hi All,
I am now fetching the ECCN code and HTS code as beow:
You need to write an RFC enabled function module in GTS system, and then call this FM from ECC6.0 passing the RFC destination with help of the FM: /SAPSLL/CD_ALE_RECEIVER_GET_R3.
Call the FM as below:
Coding in ECC 6.0.
data: lv_rfc_dest TYPE bdibapi_dest-rfc_dest.
clear : w_so.
w_so-vbeln = w_e1edl24-vgbel." It can be the SO number or the delivery number which will be passed to the RFC ZFM to GTS to fetch the ECCN and HTS code.
append w_so to t_so .
clear: w_so.
CALL FUNCTION '/SAPSLL/CD_ALE_RECEIVER_GET_R3'
IMPORTING
ev_rfc_dest = lv_rfc_dest.
IF lv_rfc_dest IS NOT INITIAL.
CALL FUNCTION 'ZS_HS_ECCN_SCHB_COPY'
DESTINATION lv_rfc_dest
EXPORTING
PRVSY = <fs_lips>-matnr
IMPORTING
ECCN = lv_eccn
HSCODE = lv_stawn
TABLES
REFNO = t_so
EXCEPTIONS
systen_error = 1
connection_failure = 2.
Lv_eccn and Lv_Stawn contains the ECCN and HTS code.
Coding of the ZFM in GTS:
Note: tables parameter of FM RefNo is optional, where as the material number is mandatory parameter for the FM.
FUNCTION ZS_HS_ECCN_SCHB_COPY.
*"*"Local Interface:
*" IMPORTING
*" VALUE(PRVSY) TYPE /SAPSLL/PRVSY
*" EXPORTING
*" VALUE(ECCN) TYPE /SAPSLL/CCNGN
*" VALUE(HSCODE) TYPE /SAPSLL/CCNGN
*" VALUE(SCHB) TYPE /SAPSLL/CCNGN
*" VALUE(RADIO) TYPE /SAPSLL/CCNGN
*" VALUE(RADIO_ECCN) TYPE /SAPSLL/CCNGN
*" VALUE(TEXT) TYPE /SAPSLL/TEXT60
*" TABLES
*" REFNO STRUCTURE /SAPSLL/API6800_DLN_LC_S OPTIONAL
DATA:lv_prtyp TYPE /sapsll/prtyp VALUE '01'.
DATA: lv_rptdt TYPE /sapsll/rptdt.
DATA:lr_datab TYPE /sapsll/rptst_r_t,
lr_datbi TYPE /sapsll/rptet_r_t.
TYPES : BEGIN OF s_pr,
guid_pr TYPE /sapsll/guid_16,
END OF s_pr.
DATA: w_pr TYPE s_pr.
DATA: t_pr TYPE STANDARD TABLE OF s_pr.
TYPES : BEGIN OF s_hscode,
guid_ctsnum TYPE /sapsll/guid_16,
stcts TYPE /sapsll/stcts,
datbi TYPE /sapsll/rptet,
datab TYPE /sapsll/rptst,
END OF s_hscode.
TYPES : BEGIN OF s_corref,
GUID_POBJ TYPE /SAPSLL/CORREF-GUID_POBJ,
REFNO TYPE /SAPSLL/CORREF-REFNO ,
end of s_corref.
TYPES: begin of s_cuit,
GUID_CUHD TYPE /SAPSLL/CUIT-GUID_CUHD,
GUID_PR TYPE /SAPSLL/CUIT-GUID_PR,
CTYDP TYPE /SAPSLL/CUIT-CTYDP,
end of s_cuit.
TYPES : BEGIN OF s_t606g,
LGREG TYPE /SAPSLL/T606G-LGREG,
GGLND TYPE /SAPSLL/T606G-GGLND,
end of s_t606g.
TYPES : BEGIN OF s_TLEGSU ,
LGREG TYPE /SAPSLL/TLEGSU-LGREG ,
CTSEX TYPE /SAPSLL/TLEGSU-CTSEX,
end of s_TLEGSU .
TYPES : BEGIN OF s_ctsnum,
GUID_CTSNUM TYPE /SAPSLL/ctsnum-GUID_CTSNUM ,
STCTS TYPE /SAPSLL/ctsnum-STCTS ,
CCNGN TYPE /SAPSLL/ctsnum-CCNGN ,
END OF s_ctsnum.
DATA: w_hscode TYPE s_hscode.
DATA: t_hscode TYPE STANDARD TABLE OF s_hscode,
t_corref TYPE STANDARD TABLE OF s_corref,
t_cuit TYPE STANDARD TABLE OF s_cuit,
t_t606g TYPE STANDARD TABLE OF s_t606g,
t_tlegsu TYPE STANDARD TABLE OF s_tlegsu,
t_ctsnum TYPE STANDARD TABLE OF s_ctsnum,
w_ctsnum TYPE s_ctsnum,
w_tlegsu TYPE s_tlegsu,
w_cuit TYPE s_cuit,
lv_refno TYPE /sapsll/corref-refno,
t_refno type STANDARD TABLE OF /SAPSLL/API6800_DLN_LC_S,
w_refno TYPE /SAPSLL/API6800_DLN_LC_S.
TYPES : BEGIN OF s_eccn,
ccngn TYPE /sapsll/ccngn,
guid_ctsnum TYPE /sapsll/guid_16,
END OF s_eccn.
DATA: lv_pname TYPE sy-repid,
t_ztuhcd1 type STANDARD TABLE OF ztuhcd1,
w_ztuhcd1 type ztuhcd1.
CONSTANTS: c_eccn TYPE char7 VALUE 'ECCN',
c_HSCODE TYPE char7 value 'HSCODE'.
DATA: w_eccn TYPE s_eccn.
DATA: t_eccn TYPE STANDARD TABLE OF s_eccn.
DATA: w_radio TYPE s_eccn.
DATA: t_radio TYPE STANDARD TABLE OF s_eccn.
DATA:w_text TYPE /sapsll/text60.
REFRESH: t_pr,t_hscode,t_eccn,t_radio,lr_datbi,lr_datab, t_cuit,t_t606g,t_tlegsu,t_ctsnum.
CLEAR: t_pr,t_hscode,t_eccn,w_radio,hscode,eccn,schb,lr_datbi,lr_datab,lv_rptdt,w_ctsnum,w_tlegsu.
GET TIME STAMP FIELD lv_rptdt.
*BREAK-POINT.
CALL FUNCTION '/SAPSLL/VALID_RANGES_PREPARE'
EXPORTING
iv_rptdt = lv_rptdt
iv_option = 'LT'
IMPORTING
er_datab = lr_datab
er_datbi = lr_datbi.
CALL FUNCTION 'CONVERSION_EXIT_SLLPR_INPUT'
EXPORTING
input = prvsy
IMPORTING
output = prvsy.
SELECT guid_pr
INTO TABLE t_pr
FROM /sapsll/pntpr
WHERE grvsy = 'LSG_ECC'
AND prvsy = prvsy
AND prtyp = lv_prtyp.
if refno[] is initial.
IF NOT t_pr[] IS INITIAL.
SELECT guid_ctsnum
stcts
datbi
datab
INTO TABLE t_hscode
FROM /sapsll/prcts
FOR ALL ENTRIES IN t_pr
WHERE guid_pr = t_pr-guid_pr
AND stcts IN ('US_HTS','EARECCN','US_SCHB','NRC_SCHB', 'NRCECCN')
AND datbi IN lr_datbi[]
AND datab IN lr_datab[].
ENDIF.
IF NOT t_hscode[] IS INITIAL.
SELECT ccngn
guid_ctsnum
INTO TABLE t_eccn
FROM /sapsll/ctsnum
FOR ALL ENTRIES IN t_hscode
WHERE guid_ctsnum = t_hscode-guid_ctsnum.
ENDIF.
LOOP AT t_eccn INTO w_eccn.
READ TABLE t_hscode INTO w_hscode WITH KEY guid_ctsnum = w_eccn-guid_ctsnum.
IF sy-subrc = 0.
IF w_hscode-stcts = 'US_HTS'.
hscode = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'EARECCN'.
eccn = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'US_SCHB'.
schb = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'NRC_SCHB'.
radio = w_eccn-ccngn.
ELSEIF w_hscode-stcts = 'NRCECCN'.
radio_eccn = w_eccn-ccngn.
ENDIF.
IF NOT radio IS INITIAL OR
NOT radio_eccn IS INITIAL .
SELECT SINGLE text
INTO w_text
FROM /sapsll/ctsnumt
WHERE guid_ctsnum = w_hscode-guid_ctsnum
AND ctstt = 'F'
AND langu = 'EN'.
IF sy-subrc = 0.
text = w_text.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
Else.
IF NOT t_pr[] IS INITIAL.
SELECT guid_ctsnum
stcts
datbi
datab
INTO TABLE t_hscode
FROM /sapsll/prcts
FOR ALL ENTRIES IN t_pr
WHERE guid_pr = t_pr-guid_pr
AND datbi IN lr_datbi[]
AND datab IN lr_datab[].
endif.
read table refno into w_refno index 1.
if sy-subrc eq 0.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = w_refno-refno
IMPORTING
OUTPUT = lv_refno.
endif.
select GUID_POBJ
REFNO
from /sapsll/corref into TABLE t_corref
where REFNO = lv_REFNO.
if t_corref is not initial.
select GUID_CUHD
GUID_PR
CTYDP
from /sapsll/cuit into table t_cuit
for all entries in t_corref
where GUID_CUHD = t_corref-GUID_POBJ.
endif.
if t_cuit is not initial .
select LGREG GGLND from /SAPSLL/T606G
into table t_T606G
for all entries in t_cuit
where GGLND = t_cuit-CTYDP.
endif.
if t_T606G is not initial.
select LGREG
CTSEX from /SAPSLL/TLEGSU
into TABLE t_TLEGSU
FOR ALL ENTRIES IN t_T606G
where LGREG = t_T606G-LGREG.
endif.
if t_hscode[] is not INITIAL.
select GUID_CTSNUM
STCTS
CCNGN
from /SAPSLL/CTSNUM
into TABLE t_CTSNUM FOR ALL ENTRIES IN t_hscode
where GUID_CTSNUM = t_hscode-GUID_CTSNUM .
endif.
REFRESH: t_ztuhcd1.
CLEAR: t_ztuhcd1,w_ztuhcd1.
* loop at t_TLEGSU into w_TLEGSU.
READ TABLE t_cuit INTO w_cuit index 1.
lv_pname = sy-repid.
* To retrive all the hard coded values
w_ztuhcd1-name = c_eccn.
* w_ztuhcd1-field = c_eccn.
w_ztuhcd1-zkey = w_cuit-ctydp.
APPEND w_ztuhcd1 TO t_ztuhcd1.
CLEAR: w_ztuhcd1,lv_pname.
* To retrive all the hard coded values
CALL FUNCTION 'Z_UHARD_CODE_VALUE'
TABLES
t_ztuhcd1 = t_ztuhcd1
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
if sy-subrc eq 0.
loop at t_ztuhcd1 into w_ztuhcd1 .
read table t_CTSNUM into w_CTSNUM with key STCTS = w_ztuhcd1-low.
if sy-subrc eq 0.
eccn = w_CTSNUM-CCNGN.
endif.
endloop.
endif.
REFRESH: t_ztuhcd1.
CLEAR: t_ztuhcd1,w_ztuhcd1.
* lv_pname = sy-repid.
* To retrive all the hard coded values
w_ztuhcd1-name = c_HSCODE.
* w_ztuhcd1-field = c_HSCODE.
w_ztuhcd1-zkey = w_cuit-ctydp.
APPEND w_ztuhcd1 TO t_ztuhcd1.
CLEAR w_ztuhcd1.
* To retrive all the hard coded values
CALL FUNCTION 'Z_UHARD_CODE_VALUE'
TABLES
t_ztuhcd1 = t_ztuhcd1
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
if sy-subrc eq 0.
loop at t_ztuhcd1 into w_ztuhcd1 .
read table t_CTSNUM into w_CTSNUM with key STCTS = w_ztuhcd1-low.
if sy-subrc eq 0.
HSCODE = w_CTSNUM-CCNGN.
endif.
endloop.
endif.
endif.
ENDFUNCTION. -
Set Commodity Code in Purchase order
hello,
I have implemented a BADi for purchase order for updating the commodity code/weight and Volume from material configuration.
It works fine with updating for weight and volume. But when trying to update the Commodity code I got a "time out" because it stops just before the call "CALL Method->Set_foreign_trade".
Do I miss something???
See the codes below.
METHOD if_ex_me_process_po_cust~process_item .
DATA: ls_mepoitem TYPE mepoitem.
DATA: it_conf TYPE TABLE OF conf_out.
DATA: wa_conf TYPE conf_out.
DATA: gs_zvcsd_conf TYPE zvcsd_conf.
DATA: im_data TYPE mepoitem.
DATA: l_data_new TYPE mepoitem.
DATA: lv_mtart TYPE mtart.
DATA: len TYPE i.
DATA: ls_mepo_eipo TYPE mepo_eipo.
DATA: ls_mepo_eipo_new TYPE mepo_eipo.
Get data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls_mepoitem = im_item->get_data( ).
check entry from control table zvcsd_conf
SELECT SINGLE * FROM zvcsd_conf INTO gs_zvcsd_conf
WHERE matnr EQ ls_mepoitem-matnr.
CHECK sy-subrc = 0.
SELECT SINGLE mtart
FROM mara
INTO lv_mtart
WHERE matnr EQ ls_mepoitem-matnr.
CHECK lv_mtart EQ 'KMAT'.
CALL FUNCTION 'VC_I_GET_CONFIGURATION_IBASE'
EXPORTING
instance = ls_mepoitem-cuobj
language = sy-langu
TABLES
configuration = it_conf
EXCEPTIONS
instance_not_found = 1
OTHERS = 2.
CHECK sy-subrc = 0.
check weight is set from control table
IF NOT gs_zvcsd_conf-zweight IS INITIAL.
READ TABLE it_conf INTO wa_conf WITH KEY atnam = 'VCSD_ZNTGEW'.
IF sy-subrc = 0.
len = STRLEN( wa_conf-atwrt ).
IF len LE 7.
REPLACE ',' WITH '.' INTO wa_conf-atwrt.
ELSE.
REPLACE '.' WITH ' ' INTO wa_conf-atwrt.
REPLACE ',' WITH '.' INTO wa_conf-atwrt.
CONDENSE wa_conf-atwrt NO-GAPS.
ENDIF.
ls_mepoitem-ntgew = wa_conf-atwrt.
ls_mepoitem-brgew = wa_conf-atwrt.
ENDIF.
ENDIF.
check volume is set from control table
IF NOT gs_zvcsd_conf-zvolum IS INITIAL.
READ TABLE it_conf INTO wa_conf WITH KEY atnam = 'VCSD_ZVOLUM'.
IF sy-subrc = 0.
len = STRLEN( wa_conf-atwrt ).
IF len LE 7.
REPLACE ',' WITH '.' INTO wa_conf-atwrt.
ELSE.
REPLACE '.' WITH ' ' INTO wa_conf-atwrt.
REPLACE ',' WITH '.' INTO wa_conf-atwrt.
CONDENSE wa_conf-atwrt NO-GAPS.
ENDIF.
ls_mepoitem-volum = wa_conf-atwrt.
ls_mepoitem-voleh = gs_zvcsd_conf-voleh.
ENDIF.
ENDIF.
Set weight and volume
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
l_data_new = ls_mepoitem.
CALL METHOD im_item->set_data( im_data = l_data_new ).
End of get data
Get commodity code from configuration
IF NOT gs_zvcsd_conf-zstawn IS INITIAL.
READ TABLE it_conf INTO wa_conf WITH KEY atnam = 'VCSD_STAWN'.
IF sy-subrc = 0.
ls_mepo_eipo_new-stawn = wa_conf-atwrt.
ENDIF.
ENDIF.
Get foreign trade data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CALL METHOD im_item->get_foreign_trade
RECEIVING
re_data = ls_mepo_eipo.
ls_mepo_eipo-po_item = ls_mepoitem-ebelp.
ls_mepo_eipo-stawn = ls_mepo_eipo_new-stawn.
set foreign trade
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CALL METHOD im_item->set_foreign_trade
EXPORTING
im_data = ls_mepo_eipo.
ENDMETHOD.hello Christian,
Thank you for your comments and the quick response.
I have solved my problem now. I found two sap notes regarding this situation.
841803 -
ME_PROCESS_PO_CUST: Endless loop with SET_FOREIGN_TRADE
803749 -
ME_PROCESS_PO_CUST - Endless Loop
I also have found out an other thing. When I'm using the SAP Notes Search and type the key word "SET_FOREIGN_TRADE" and "ME_PROCESS_PO_CUST" I found nothing. Then I try to create a Customer Message and as you already knew that you have to enter a some words in the "Search term*" before you are allowed to create a customer message. The system shows the note 841803. Strange, rite?
So my conclusion is, if I can't find any note from SAP Notes Search then I will try to create an customer message.
Best regards
Linh Nguyen -
Hi Experts,
When i am loading the data from ODS to cube (FUll load) load is failed due to the below error.
Short dump in the Warehouse
Diagnosis
The data update was not completed. A short dump has probably been logged in BW providing information about the error.
System response
"Caller 70" is missing.
Further analysis:
Search in the BW short dump overview for the short dump belonging to the request. Pay attention to the correct time and date on the selection screen.
You get a short dump list using the Wizard or via the menu path "Environment -> Short dump -> In the Data Warehouse".
Error correction:
Follow the instructions in the short dump.
and i checked in ST22 and the error analysis is,
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure "WRITE_ICFA
"(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The database system recognized that your last operation on the database
would have led to a deadlock.
Therefore, your transaction was rolled back
to avoid this.
ORACLE always terminates any transaction that would result in deadlock.
The other transactions involved in this potential deadlock
are not affected by the termination.
Please can any one tell me why the error occured and how to resolved.
Thanks in advance
DavidDavid,
It appears that there was a Table lock when you executed your DTP. This means that there was a multiple read on any of the tables used by DTP at the same time. This has resulted in the error. Check your PC's once.
As of now, delete the request in IC and reload!
-VA -
Commodity code & does not exist
Hi Experts,
We modify the length of your commodity codes (from 11 to 8). So I decided to add all new commodity codes (length 8) in the T604 / T604t, and to keep all existing commodity codes (length 11) until we modify all Master Data with new commodity codes.
In the MM02 when I try to modify the commodity code for a material, I have the following message:
Entry 12345678 does not exist in T604 (check entry)
This entry is available in the T604 / T604t and I can see it in the dropdown-list when pressing F4 on the field.
Any idea ?
Regards,
DCNever asked yourself why thousand other SAP customers can use VE94?
you did not answer whether you are on a retail system and if you can see the commodity code numbers in F4 help
When did you the last time enter a commodity code number without error?
I think there was a customizing change in the meantime. -
How to extend commodity codes list to a new plant?
Dear friends,
I've created a new plant in our organization.
I would like to use the same commodity codes we use for the other plants. It means thousands commodity codes.
I guess there is a way in SAP to copy commodity codes from one plant to another one.
Could you please let me know how to do that?
Thank you very much.Hi,
You can use LSMW for this purpose.
You can use standard LSMW or do recording for this.
In the LSMW, enter only plant specific data for input file.
Regards,
Prashant -
Manually create HTS/Commodity Code:
I have some information at the following link that indicates it is possible to manually enter commodity codes (as I only need a small number of codes and do not require an XML updoad).
http://help.sap.com/saphelp_gts80/helpdata/en/eb/755b3fe4ee1e26e10000000a114084/frameset.htm
When I attempt to follow the navigation path within the Implementation SPRO transaction, I do not see the specified path:
"1. Choose SAP Customs Management ® Classification ® Tariff Code Numbers ® Maintain Tariff Code Numbers orCommodity Codes ® Maintain Commodity Codes."
I already have set up the numbering schemes. Is it possible to manually enter commodity codes in GTS 7.2? If so why does this path not appear on my system, I do not see "Classification".This is user-maintained data, so you would follow the path using the GTS user menu (/sapsll/menu_legal).
-
GTS table linking the commodity code/tariff num to the declaration
Does anyone know the GTS table linking the commodity code / tariff number field (ccnst or ccncu) to the customs declaration item. I have search through the tables with entries of doman ccngn looking for a GUID reference but cannot find a link to CUIT.
We want to write out the text description in an IDOC IWTX but cannot find the link.
Thanks
ChrisYes, it helped us understand the EDI process better. However, we went a different route. Somehow the module to write out IWTX in the transit document started working.
So we decided to populate the text field. When we call the programs to create a transit declaration from a customs declaration we perform the following steps.
We are using a hardcode number scheme "CAPNL"
1. We read the reference customs document number from the call stack.
2. We used the customs document to get the CUHD
3. We loop through all the items on CUIT getting the product (PR)
4. Then we go to PRCTS with PR plus hardcoded number scheme
5. Then finaly we go to CTSNUM to get the commodity code
Chris -
Full load from a DSO to a cube processes less records than available in DSO
We have a scenario, where every Sunday I have to make a full load from a DSO with OnHand Stock information to a cube, where I register on material and stoer level a counter if there is stock available.
The DTP has no filters at all and has a semantic group on 0MATERIAL and 0PLANT.
The key in the DSO is:
0MATERIAL
0PLANT
0STOCKTYPE
0STOR_LOC
0BOM
of which only 0MATERIAL, 0PLANT and 0STORE_LOC are later used in the transformation.
As we had a growing number of records, we decided to delete in the START routine all records, where the inventory is not GT zero, thus eliminating zero and negative inventory records.
Now comes the funny part of the story:
Prior to these changes I would [in a test system, just copied from PROD] read some 33 million of records and write out the same amount of records. Of course, after the change we expected to write out less. To my total surprise I was reading now however 45 million of records with the same unchanged DTP, and writing out the expected less records.
When checking the number of records in the DSO I found the 45 million, but cannot explain why in the loads before we only retrieved some 33 millions from the same unchanged amount of records.
When checking in PROD - same result: we have some 45 million records in the DSO, but when we do the full load from the DSO to the cube the DTP only processes some 33 millions.
What am I missing - is there a compression going on? Why would the amount of records in a DSO differ from the amount of records processed in the DataPackgages when I am making a FULL load without any filter restrictions and only a semantic grouping in place for parts of the DSO key?
ANY idea, thought is appreciated.Thanks Gaurav.
I did check if there were more/any loads doen inbetween - there were none in the test system. As I mentioned that it was a new copy from PROD to TEST, I compared the number of entries in the DSO and that seems to be a match between TEST and PROD, ok a some more in PROD but they can be accounted for. In test I loaded the day before the changes were imported to have a comparison, and between that load and the one ofter the changes were imported nothing in the DSO was changed.
Both DTPs in TEST and PW2 load from actived DSO [without archive]. The DTPs were not changed in quite a while - so I ruled that one out. Same with activation of data in the DSO - this DSO get's loaded and activated in PROD daily via process chain and we load daily deltas into the cube in question. Only on Sundays, for the begin of the new week/fiscal period, we need to make a full load to capture all materials per site with inventory. The deltas loaded during the week are less than 1 million, but the difference between the number of records in the DSO and the amount processed in the DataPackages is more than 10 millions per full load even in PROD.
I really appreciated the knowledgable answer, I just wished you would pointed out something that I missed out on. -
Change the mapping generation code from sql*loader to pl/sql
I want to use a mapping with a flat file operator to generate pl/sql code even if a mapping generate sql*loader code as default.
I tried to change the Language generation property of the mapping but an API8548 error message is shown. The suggested solution by OWB is to change the language generation code in the property inspector of the mapping.
I can't use external table because I have to work with a remote machine.
What i have to do to change the generation code from SQL*Loader to PL/SQL?How about breaking this out into 2 mappings? In the first mapping, map a flat file operator to an table using SQL*Loader code. Then define a second mapping using the table as source and therefore generate PL/SQL. Then use process flow to launch the 2nd map to run after completion of first.
-
HR Full Load error in Payroll loading from EBS
Hi,
We have configured HR anylatics and when runs the Full load from EBS 11.10 (Vision Demo Database) we are receiving an error which says can not allocate 128 from temp tablespace. We have found the 11i database temp has been grown hugely (more than 10GB) and hard disk space been allocated fully.
And we found this has been occurred by payroll package (selecting from a view).
Is there any optimization or any solution for this issue.
Thanks.
Nilaksha.and remember to fix the bug in the database first:
UPDATE per_all_people_f
SET effective_start_date = '07-FEB-02'
WHERE person_id = 6272
AND effective_start_date = '04-JAN-91'
AND effective_end_date > '06-FEB-02';
because you will see 2 rows if you for:
SELECT *
FROM per_all_people_f
WHERE person_id = 6272
AND effective_start_date = '04-JAN-91';
And this isn't possible, becuase HR is date tracked and you can't start twice on 1 date! -
Full load from r/3 failed due to bad data and no psa option selected
SDN Experts,
Full load from R/3 failed loading in to ODS and in the infopackage on psa selected. how to fix it? can i rerun the infopackage again to load from R/3? May be it will fail again? is this a design defect?
i will assign points. Thank you.
LesHi,
There is obsolutely no prob. in re executing the package, but before that, check
your ODS and Info Source is re active and update rules are also active if any..
and you can check the option of target info provider selected properly along with
the PSA option and also check whether you have any subsequent process like
updating data from ODS to Cube and so on..
You can also check the data availability at R/3 for the respective DS by executing
RSA3.
Hope this helps..
assign points if useful..
Cheers,
Pattan. -
How to kill a "Full load" scheduled from R/3 system in the middle
Friends,
I scheduled a full load from an R/3 system to BW by mistake.. now I want to kill that job in the middle... I don't want to wait until it is finished, because R/3 contains quite a millions of records and the load may take place couple of days...
I delete the requests from the cube, but they keep popping up again and again... I suspect this is because the job is still running in the background... couldn't find the job in SM37 to kill it there...
Please help.
VenkatHi ,
Go to your load >>> enviorment >> job oevrview >> in source sytsem >> fron there you copy tthe job in name ..
now to go to sm37 of your R/3 and search that job (keep active ,finshed and cnacelled checked)>>
and then double click on taht job >> got o job details <<< copy the application server and work process ID and then serch that piD in that server >>> and "cancel it without core .."..
your job will stop in R/3 after that and some times it happens that even though you cancel the job in R/3 some data packet processing wll be still going on in R/3 side so check for locks in R/3 and if you find your request there .. then delete those locks it will stop the load
regards,
shikha -
Load Commodity codes through XML
Hi,
I'm trying to upload the commodity codes through an XML file.
Transaction code - /SAPSLL/LLNS_UPL102
I'm getting the following error. Can someone help me with this. Can anyone send me a file with the correct format which was accepted here earlier.
Error during consistency check for numbering scheme : Initial load
Message no. /SAPSLL/CORE_LLNS060
Diagnosis
The file to be uploaded is an initial file. This means that numbers and the corresponding scheme definition must not already exist in the system.
System Response
Processing is suspended.
regards
SurenderHi,
I'm trying to upload the commodity codes through an XML file.
Transaction code - /SAPSLL/LLNS_UPL102
I'm getting the following error. Can someone help me with this. Can anyone send me a file with the correct format which was accepted here earlier.
Error during consistency check for numbering scheme : Initial load
Message no. /SAPSLL/CORE_LLNS060
Diagnosis
The file to be uploaded is an initial file. This means that numbers and the corresponding scheme definition must not already exist in the system.
System Response
Processing is suspended.
regards
Surender
Maybe you are looking for
-
Values not read from database table.
Hi experts, I have an issue reading values from the database table. In my custom table I have a KUNAG field. The Sold-to partyis a 10 character field. I have saved a record with KUNAG = '0000694012'. But when i read the values in a program using KUNA
-
Add-Ons Manager Tab won't go away
Using Firefox 10.0.2 on a brand-new Mac Mini running Lion 10.7.3. Every time I open up Firefox, it opens in two side-by-side tabs. The one on the left is my home page; the one next to it says 'Add-Ons Manager' and it simply tells me the add-ons I've
-
XML files dont copy to standby unit
Hi, I have failover active/standby topology with two ASA (version 8.0.4), and Clientless SSL VPN configured. I have created differents profiles, bookmarks and portal in this solution. But when I try to see this files in the standby unit, I can't to s
-
Cisco 871w, radius server local, and leap or eap-fast will not authenticate
Hello, i trying to setup eap-fast or leap on my 871w. i belive i have it confiured correctly but i can not get any device to authenticate to router. Below is the confiureation that i being used. any help would be welcome! ! Last configuration chan
-
Recently I purchased a new charger for my Zen Xtra from the site which took about month or so to arri've. After it arri'ved I added all my albums to the Zen Xtra 40GB player and carried it with me everywhere, then all of a sudden it got stuck at EAX