ABAP coding error...enhance transactional datasource
i need to enhance CRM extractor with additional field.
This is transactional data so i used Exit_rs_001
Here is the extractor result -
Guid...date...........objectid...item guid
1122......1.1.10....901..........8811
1122......2.1.10....901..........8812
1123......1.1.10....902..........8813
1123......2.1.10....902..........8814
now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
itemguid...referencekey...product
8811............01.................110011
8812............02.................110012
8813............03.................110013
now i want to extract data--
Guid...date...........objectid...item guid...product
1122......1.1.10....901..........8811.........110011
1122......2.1.10....901..........8812.........110012
1123......1.1.10....902..........8813.........110013
so i appended the extractor...with field zproduct
FOLLOWING Code doesnot work:::
DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
CASE I_DATASOURCE.
FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
CASE i_datasource.
WHEN 'ziw_orderma_i.'. " Upper case
LOOP AT c_t_data ASSIGNING <PRO_01>.
SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.
Hi,
For this, you can do as below
REFER EXTRACTOR GUID --1122
Find GUID References for guid = 1122 in table CRMD_ORDERADMI (item level table)
for the guid reference in CRMD_ORDERADMI, find the Product >0 in table CRMD_SRV_REFOBJ
select that Product and write into extractor field zzproduct#
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
data: temp_guid like CRMD_ORDERADM-GUID. to create a temporary variable
SELECT single GUID FROM CRMD_ORDERADMI INTO temp_guid
WHERE GUIDREF = l_s_ziw_orderma_i-GUID.
The above statement would give you value for GUID from this table i.e. z1122
SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = temp_guid.
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDSELECT.
This would fetch your value
clear temp_guid. to clear this temporary variable
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
PS: It appears that you have corrected already so not requried any more
Edited by: Rahul K Rai on Oct 17, 2010 9:27 PM
Similar Messages
-
Enhance BW Extractor - Transactional data ABAP CODING ERROR
i need to enhance CRM extractor with additional field.
This is transactional data so i used Exit_rs_001
Here is the extractor result -
Guid...date...........objectid...item guid
1122......1.1.10....901..........8811
1122......2.1.10....901..........8812
1123......1.1.10....902..........8813
1123......2.1.10....902..........8814
now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
itemguid...referencekey...product
8811............01.................110011
8812............02.................110012
8813............03.................110013
now i want to extract data--
Guid...date...........objectid...item guid...product
1122......1.1.10....901..........8811.........110011
1122......2.1.10....901..........8812.........110012
1123......1.1.10....902..........8813.........110013
so i appended the extractor...with field zproduct
FOLLOWING Code doesnot work:::
DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
CASE I_DATASOURCE.
FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
CASE i_datasource.
WHEN 'ziw_orderma_i.'. " Upper case
LOOP AT c_t_data ASSIGNING <PRO_01>.
SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.actually
coding doesnt give any error
but in output in rsa3 i dont see any data
it worked fine wit the same code for master data datasource in exit...2
now same code different parameters doesnt work in exit..1 for transactional data. -
ABAP Coding- enhance transactional datasource
i need to bring in data from different tables and following code works for me:
DATA: l_s_ziw_orderma_i like ziw_orderma_i.
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_IT FROM CRMD_SRV_REFOBJ INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDSELECT.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Guid...date...........objectid...item guid
1122......1.1.10....901..........z1122
1122......1.1.10....901..........z1123
1122......1.1.10....901..........z1124
using this ITEM GUID from extractor, i want to pull out data from table - CRMD_SRV_REF
guid ...............product...............Product type..........product quality
z1122.............110011..........ABC.........................GUD
z1123.............110012..........DEF..........................GUD
z1124.............110013...........DFG.........................GUD
NOW my code works for extracting PRODUCT..
what MODIFICATION I need to do so that i can bring in PRODUCT TYPE & PRODUCT QUALITYHI ,
I am not sure about the Product quality( Do you know the source table ?) , but Product type will be available in the
will not be available in CRMD_SRV_REFOBJ, you can get that from table COMM_PRODUCT ,
Change your code as below sample code to get product id and Type , find the source table for product quality and extend this code in the similar way , check for syntax error if any and fix it
TYPES : BEGIN OF PROD ,
PRODUCT_ID TYPE COMT_PRODUCT_ID ,
PRODUCT_TYPE TYPE COMT_PRODUCT_TYPE,
END OF PROD .
DATA: l_s_ziw_orderma_i like ziw_orderma_i,
i_PROD TYPE TABLE OF PROD ,
WA_PROD LIKE LINE OF i_PROD .
CASE i_DATASOURCE.
WHEN 'ziw_orderma_i'.
LOOP AT c_t_data INTO l_s_ziw_orderma_i.
l_tabix = sy-tabix.
SELECT PRODUCT_ID
FROM CRMD_SRV_REFOBJ
INTO l_s_ziw_orderma_i-ZZPRODUCT
WHERE GUID = l_s_ziw_orderma_i-GUID .
ENDSELECT.
IF SY-SUBRC EQ 0 .
SELECT PRODUCT_ID
PRODUCT_TYPE
INTO TABLE i_PROD
FROM COMM_PRODUCT
WHERE PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
ENDIF .
IF i_PROD[] IS NOT INITIAL .
READ TABLE I_PROD INTO WA_PROD WITH KEY
PRODUCT_ID = l_s_ziw_orderma_i-ZZPRODUCT .
IF SY-SUBRC EQ 0 .
l_s_ziw_orderma_i-ZZPROD_TYPE = WA_PROD-PRODUCT_TYPE .
ENDIF.
ENDIF .
MODIFY c_t_data FROM l_s_ziw_orderma_i INDEX l_tabix.
ENDLOOP.
WHEN OTHERS.
EXIT.
ENDCASE.
Regards,
Sathya -
Enhance BW Extractor -abap coding error
hi gurus
i need to enhance extractor 0customer_attr so that field from KNKK-GRUPP is pulled in along with 0customer_attr extraction
so i enhance the extractor using append and type it in the data element, PROVIDED zzxyzno in the field name
Activated it and UNHIDE it.
now my abap code in CMOD in ZXRSAU01 for EXIT RS*01 DOESNT WORK...
now i wrote below code:
DATA: L_S_INFOSTRU LIKE biw_kna1_s.
CASE I_DATASOURCE.
WHEN '0ustomer_attr'.
DATA: biw_kna1_s_data LIKE biw_kna1_s.
LOOP AT C_T_DATA INTO L_S_INFOSTRU.
L_TABIX = SY-TABIX.
biw_kna1_s_data-ZZXYZNO = KNKK-GRUPP
ENDLOOP.
ENDCASE.
but it is still not pulling in values from extractor...
can you please correct my code ???Try something like
FIELD-SYMBOLS: <customer_attr> TYPE biw_kna1_s.
CASE i_datasource.
WHEN '0CUSTOMER_ATTR'. " Upper case
LOOP AT c_t_data ASSIGNING <customer_attr>.
SELECT grupp INTO <customer_attr>-zzxyzno
FROM knkk UP TO 1 ROWS
WHERE kunnr = <customer_attr>-kunnr.
ENDSELECT. " not whole primary key
ENDLOOP.
ENDCASE.
If performance problems arise ("SELECT in a LOOP"), first fill an internal table with a FOR ALL ENTRIES IN c_t_data in a sorted internal table (kunnr and grupp field, key kunnr) , then in the LOOP use a READ TABLE. (mandatory if you use such exits on big extractions.
Regards,
Raymond -
i created GENERIC datasource and i am trying to fill the values in that datasource using Fm.
Within my FM i want to call FM- CRM_ORDER_READ to get the values.
now when u execute CRM_ORDER_READ, i want the data from segments
ET_ORDERADM_H : GUID
ET_ORDERADM_H : OBJECT ID
& ET_ORDERADM_I : HEADER
ET_ORDERADM_I : ITM_TYPE
now, when HEADER = guid extract ALL ITEM TYPES
extract data for all guids. (guid is something like order number which is key in between different segments.)
my code below gives NO-Error and short dumps at execution in RSA3-
ERROR IS : FM- CRM_ORDER_READ is called with ITM-TYPE. ITM_TYPE is not defined.
can somebody suggest corrections:
CASE I_DSOURCE.
WHEN 'ZCRM_COMP_TEST_D2'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
LOG_WRITE 'E' "message type
'R3' "message class
'009' "message number
I_DSOURCE "message variable 1
' '. "message variable 2
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
ELSE. "Initialization mode or data extraction ?
loop at s_s_if-t_select into l_s_select
where fieldnm = 'ITM_TYPE'.
move-corresponding l_s_select to L_R_ITM_TYPE.
append L_R_ITM_TYPE.
endloop.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT * FROM CRMD_ORDERADM_H
WHERE PROCESS_TYPE EQ 'STT1'.
ENDIF. " this endif is for the IF S_COUNTER_DATAPAKID = 0.
" this will ensure the base records are selected from header with a pariticular doc type for the
" for the cursor
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC EQ 0.
Here select the guid of the header table which can be used in the FM
DATA : LT_HEADER TYPE CRMT_OBJECT_GUID_TAB .
SELECT GUID FROM CRMD_ORDERADM_H
INTO TABLE LT_HEADER
WHERE PROCESS_TYPE EQ 'STT1'.
"CAll the FM here
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
IT_HEADER_GUID = LT_HEADER
IMPORTING
ITM_TYPE = CRMD_ORDERADM_I-ITM_TYPE.
" MOdify e_t_data .... transporting your fields from FM
ENDIF .
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF. "Initialization mode or data extraction ?
ENDIF.
ENDFUNCTION.
any inputs??so i modified the code , it is bringing values for GUID & Object id (Order Numbers) but the field for ITEM_TYPE is always empty.
what modification needs to be done in code so that it item_type is populated.
(the logic is something like when GUID of et_orderadm_h = Header of et_orderadm_i, bring in all ITEM TYPES)
so data in et_orderadm_h is
GUID--OBJECT ID
111.......101
112.......102
and data in et_orderadm_i is :
GUID--Header guid.........item types
911.......111........................ORD1
912.......111........................ORD2
913.......111........................ORD3
914.......112........................ORD4
915.......112........................ORD5
916.......112........................ORD6..............
IF S_COUNTER_DATAPAKID = 0.
loop at s_s_if-t_select into l_s_select
where fieldnm = 'ITM_TYPE'.
move-corresponding l_s_select to L_R_ITM_TYPE.
append L_R_ITM_TYPE.
endloop.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT * FROM CRMD_ORDERADM_H
WHERE PROCESS_TYPE EQ 'ZSRV'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC EQ 0.
DATA : LT_HEADER TYPE CRMT_OBJECT_GUID_TAB .
SELECT GUID FROM CRMD_ORDERADM_H
INTO TABLE LT_HEADER
WHERE PROCESS_TYPE EQ 'ZSRV'.
"CAll the FM here
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_header_guid
it_requested_objects = lt_request_objs
IMPORTING
et_orderadm_h = lt_orderadm_h
et_orderadm_i = lt_orderadm_i
et_status = lt_status.
ENDIF .
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF...
any inputs??????? -
Enhancing a transaction datasource!
Hi all,
Can anyone please tell me where I can find documentation on writing User exits/enhancing transaction datasources. Is the procedure for enhancing transaction datasource same for all extraction methods like LO-Cockpit, LIS, COPA, Generic Datasource and FISL or are they dependent on the extraction method.
I need to enhance LIS datasource and write code to populate value for couple of new fields.
I appreciate your help.
thanks.Your question has been already answered !
https://websmp205.sap-ag.de/bi -> BI InfoIndex -> Exits
Bye,
Roberto
Anyway, try to do a search inside these forums...you will try a lot of very useful material and sample... -
Error : while converting a WD ABAP object into SAP Transaction
Hi,
I am trying to converting a WD ABAP object into SAP Transaction but i am getting the following error while executing the transaction :
Network Access Message: The page cannot be displayed
Technical Information (for Support personnel)
Error Code: 502 Proxy Error. The specified Secure Sockets Layer (SSL) port is not allowed. ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
IP Address: 10.114.6.144
Date: 4/7/2011 10:41:
Please help.> ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
This seems to be your specific network configuration. It seems that your corporate network is blocking HTTPS requests which don't use port 443. Your ABAP system is configured to use a port other than 443. Either talk to your basis admins about changing your ABAP system configuration to use port 443 or talk to your network administrators to allow whichever port the ABAP system is running on. -
Abap Code TO ENHANCE DATASOURCE with KEY FIELD OF SOURCE TABLE
Dear Friends, Please help me to resolve this important issue at my end.
<b>Requirement</b>: enhance the STRUCTURAL data source which is
based on the table VISTSU , now this table has a <b>key INTERNO</b> (Data Element : SECAINTRENO) which i want to enhance in datasource
SGONR = STRUCTURAL NUMBER present in extract structure of datasource
Solution: I am not able to see any records for zzinterno enhance field in datasource rsa3 (Extractor CHECKER). Can u help me correct the ABAP code or tell me the way to pull the records for ZZINTERNO from VISTSU table.
Thanks
Poonam Roy
ABAP Code
data: l_s_REIS_STRUCTURAL_ATTR like REIS_STRUCTURAL_ATTR.
case i_datasource.
WHEN '0STRUCTURAL_ATTR'.
loop at C_t_data into l_s_REIS_STRUCTURAL_ATTR.
l_tabix = sy-tabix.
clear I_VISTSU .
select single * from VISTSU into i_VISTSU where SG0NR = l_s_REIS_STRUCTURAL_ATTR-SGONR.
if sy-subrc = 0.
l_s_REIS_STRUCTURAL_ATTR-ZZINTRENO = I_VISTSU -INTRENO.
modify C_t_data from l_s_REIS_STRUCTURAL_ATTR index l_tabix.
endif.
endloop.
endcase.Try the below code.
data: l_s_REIS_STRUCTURAL_ATTR like REIS_STRUCTURAL_ATTR.
data: temp_interno like VISTSU -INTRENO.
data: h_tabix LIKE sy-tabix.
case i_datasource.
WHEN '0STRUCTURAL_ATTR'.
loop at C_t_data into l_s_REIS_STRUCTURAL_ATTR.
MOVE SY-TABIX TO H_TABIX.
clear temp_interno.
select single INTERNO from VISTSU into temp_interno where SG0NR = l_s_REIS_STRUCTURAL_ATTR-SGONR.
if sy-subrc = 0.
l_s_REIS_STRUCTURAL_ATTR-ZZINTRENO = temp_interno.
endif.
modify C_t_data from l_s_REIS_STRUCTURAL_ATTR index H_TABIX.
ENDLOOP.
ENDCASE.
Regards, Siva -
ABAP runtime error in ME2N Transaction
Hi All,
I am getting an ABAP runtime error when i run transaction ME2N and then click on th Account Assignment Button.
This is the error i get.
Runtime Errors GETWA_NOT_ASSIGNED
Date and Time 06/01/2009 16:35:59
Short text
Field symbol has not yet been assigned.
The section of the code which is creating problem is
2326|*... ... find the row that holds the first requested cell |
2327
loop at ct_stin assigning <ls_stin>
2328
where start_indx le i_start.
2329
l_start = sy-tabix.
2330
endloop. "Y6DK065306
>>>>>
if <ls_stin>-filled eq abap_false.
2332
lt_delete_row-low = <ls_stin>-row_pos.
2333
lt_delete_row-sign = 'I'.
2334
lt_delete_row-option = 'EQ'.
2335
insert lt_delete_row into table lt_delete_row.
2336
endif.
| 2337|
the internal table ct_stin is not gettin any data in Runtime.
Can anybody help me out in analysing this.
SaurabhAs I understand you have modify the standard SAP program. The problem is when the internal table
ct_stin does not have data the field symbol <ls_stin> does not have any assign. to correct this
LOOPAT CT_STIN ASSIGNING <LS_STIN>
WHERE START_INDX LE I_START.
L_START = SY-TABIX.
ENDLOOP. "Y6DK065306
Check <LS_STIN> IS Assigned.
IF <LS_STIN>-FILLED EQ ABAP_FALSE.
LT_DELETE_ROW-LOW = <LS_STIN>-ROW_POS.
LT_DELETE_ROW-SIGN = 'I'.
LT_DELETE_ROW-OPTION = 'EQ'.
INSERT LT_DELETE_ROW INTO TABLE LT_DELETE_ROW.
ENDIF. -
Transaction IA12:ABAP runtime errors:TIME_OUT
Hi,
We are executing transaction IA12.We are getting ABAP runtime errors:Time_Out.
We have searched for a SAP note to sort the issue:SAP Note 607086 - Functional location: Problems when displaying structure list.
Please suggest what will be the option to solve the issue.
Thanks.Hi,
searching for the FORM routine where the timeout occurs ("mara_predecessor_f50") and excluding SAP notes that are modification notes or based on the implementation of modification notes, there is only one remaining note
Note 658930 - Structure list: Configuration not considered with BOM
for 46C up to Support Package SAPKH46C46.
If this is still not in your system, the note may be a solution.
If not, I'm running out of good ideas. Then also the SAP modification notes can be your last option.
Regards,
Klaus -
MIR4 transaction is giving ABAP Runtime Error
Hi Experts,
When I am trying to display the invoice in MIR4 and/or MIRO the system is generating ABAP runtime error. DYNPRO_FIELD_CONVERSION. This is in Version ECC 6.0.
Short text
Conversion error
What happened?
The current screen processing action was terminated since a situation
occurred where the application could not continue.
This is probably due to an error in the ABAP program or in the curren
screen.
What can you do?
Note which actions and input led to the error.
For further help in handling the problem, contact your SAP administrator
You can use the ABAP dump analysis transaction ST22 to view and manag
termination messages, in particular for long term reference.
Error analysis
The program has been interrupted and cannot resume.
Program "SAPLMR1M" attempted to display fields on screen 6310.
An error occurred during the conversion of this data.
How to correct the error
There was a conversion error in the output of fields to the screen.
The formats of the ABAP output field and the screen field may not match.
Some field types require more space on the screen than in the ABAP
program. For example, a date output field on the screen requires two
more characters than the corresponding field in the ABAP program. When
the date is displayed on the screen, an error occurs resulting in this
error message.
Screen name.............. "SAPLMR1M"
Screen number............ 6310
Screen field............. "DRSEG-REMNG"
Error text............... "FX015: Sign lost."
Other data:
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Please help us to solve this issue.
Thanks and Regards,
Havina
Edited by: Havina Kutty on May 19, 2009 11:54 AMHello,
Please refer
Note 503934 - MIRO: Dump DYNPRO_FIELD_CONVERSION -> field 'REMNG'
Note 445853 - MIR4:more credit memos than invoices for service
Note 393189 - MIRO: Incorrect update of BPMNG -> DYNPRO_FIELD_CONVERSION
Regards,
Ravi -
Finding the transaction of an abap runtime error
hello,
is it possible to find out the corresponding transaction to an abap runtime error?
till now i've got all informations like they are shown in ST22 in my abap program. but i'd also like to have the transaction code, not only the corresponding devclass, subapplication and application.
does anyone know a function module or any other solution for that problem?
thanks in advance
joschiWhen you are analyzing your short dump via ST22, there is a section called "User, transaction..." where the following information is shown:
Client
User
Language key
Transaction
Program
Screen
That section will show you the transaction code you need.
I hope that helps, -
Transactional datasource enhancement
Need documentation for transactional datasource enhancement
Please search SDN
Edited by: Pravender on May 25, 2010 12:28 PMhi,
chk the links
Master data enhancement
CMOD Enhancements
Enhancing master data extractor
Lo Enhancement- Transactional data
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
Ramesh -
Transaction Datasource Enhancement
Hi Experts,
I did the extractor enhancement for 0WBS_ELEMT_ATTR. Data will be loaded to an infocube using infosource 0CO_OM_NWA_1. Do I still need to enhance the transaction datasource to populate data into a infoobject related to WBS element? Please help on this.
Thanks,
BillWas the masterdata enhancement for a new attribute to WBS ?
For reporting purposes you may use master data.
It depends, if you want to use the attribute data for drill down it has to be made navigational. -
ABAP code to enhance a standard data source
Hi BW experts,
I am a novice in BW and I need to append a standard datasource <b>0DAT_SRC</b> with a field <b>FLD1</b> from table <b>TABL1</b>.Extract structure: <b>EX0001</b>.
Can anybody please suggest how this can be done?I guess it requires some ABAP coding to be done in the conversion exits.
<b><i>Many,many thanks in advance!!</i></b>Following are the steps to enhance Standard Data source.
1. goto tc RSA6.
2. Select the Data Source which you want to enhance.
3. Select display Data Source (Ctr+f2)
4. Double click on the Extract structure.
5. click on the Append Structure.
6. Add the required fieds starting with ZZ*.
7. Avtivate the Append Structure.
To populate the data into this field you must have a project created to access the FM 'EXIT_SAPLRSAP_001'.
to Create Project code goto tcode: CMOD
1. Enter the Project name and click on create
2. go to components select the required function module.
EXIT_SAPLRSAP_001 for Transactional DS (RSR000
EXIT_SAPLRSAP_002 for Master DS
Goto SE37 and enter the Respective Function module (ex . EXIT_SAPLRSAP_001) and click on the include zxxxxx. then write the code to populate the extra fields added to the DS.
Sample code:
CASE i_datasource.
WHEN '2LIS_11_VAITM'.
loop at c_t_data into work_ar.
do some selections, some calculations ....
append work_ar to c_t_data. " add a new record
modify c_t_data from wa. " change the existing record
endloop.
endcase.
Maybe you are looking for
-
How do I get a button to show in a list only when a survey is filled?
I am using cf9 with mySQl 5+. I have two tables: Signups - where people signup to take a course. Course_eval – once the course is completed, the student fills in the course evaluation I use an inner join on userID in both tables. I have a page, show
-
I can't open a pages document.
I can't open a pages document. It says I need a new version of pages. I searched for upgrades but can't find any. Am I being forced to re-buy the program in order to access my documents? I looked into upgrading operating system, but Mavericks says I
-
Exporting a movie with time code when time code doesn't exist
Title says it all. I need to export a 150 frame movie from CG rendered frames that contain no time code so that I can find which frames to re-render
-
Service product replication for test and developement system
Hi Experts, In our scanario service product is created in production system and later manually created in test and developement system. Is there is any standard function module avilable to replicate the product master data into test and developement
-
Re: purchase order change
HI Waqkas here, in BUS2012 if pO is released i m using event Releasestepcreated event, its working fine But if any one rejecgt it through Workflow n after that if if v released it againt BUS2012 event releasestepcreated not trigged, which event is tr