on 06-01-2015 11:20 AM
Hi,
I have enhanced the Master data datsource for 0COMP_CODE_TEXT and added Long text field(TXTLG) to the DS.
Now i need populating the data to that TXTLG field writing the ABAP Code.
Could you please any one can help with this code.
Many Thanks in Advance.
Regards,
Ananda
Hi,
Are you sure to enhance field 0TXTNG?
because text data source always holds short/medium/long text fields. we don't need to enhance them.
so please check table - ROOSOURCE table based on your data source.
Later check available fields, if you see field TXTNG there then it might be hidden(SELECTION - A).
if yes then we can make it as visible by simple code.
Later it can work without any enhancement.
please share your data source fields from table ROOSOURCE.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Enhancement was not required. So delete added field(ZTXTLG).
Your data source have fiield TXTLG but its hidden(SELECTION - A) by SAP.
thru below code, we can make TXTLG as visible and part of your data source at RSA6.
Write below program at ECC , TX - SE38,save ,do syntax check and run it once.
Later see your data source at RSA6, it may shows field TXTLG is part of it.
Later run data source at RSA3 and see the data.
REPORT <program name>
Tables: ROOSFIELD.
SELECT SINGLE * FROM ROOSFIELD WHERE OLTPSOURCE = '0COMP_CODE_TEXT' AND
OBJVERS = 'A' AND FIELD ='TXTLG'.
IF SY-SUBRC = 0.
ROOSFIELD-SELECTION ='P'.
MODIFY ROOSFIELD.
ENDIF.
Thanks
Hi,
Ok, thanks for your valuable suggestions.
Source team is FI.
And one more thing My Sr. Consultant is told to me there is one Program in Function module
BAPI_COMPANYCODE_DETAIL in that Company is having short descrption and long descp. as well in source system side.
Is there any Code to write to get the data from FM to this TXTLG field ?
Please help me on this, it would be so good
Thanks,
Ananda
Hi,
0comp_code_text data source pulls data from a table. so table needs to hold long text other wise it won't pulls.
About FM and filling data, am not familiar with them. Ask your abap team to help it.
Other wise try to execute above FM At SE37. Give input values as compcode number and execute it.
it may shows results.
Later take abaer help and develop a program at SE38 and fill all the data for all company codes
Even this is not bw part. Directly you can ask them to working this.
Thanks
Hi Ananda,
See what I wrote yesterday :
The coding for adding the long text should be added to exit_saplrsap_002.
Here are some guidelines :
https://help.sap.com/saphelp_nw70/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
Kind Regards,
Els
Hi Ananda,
The coding for adding the long text should be added to exit_saplrsap_002.
Here are some guidelines :
https://help.sap.com/saphelp_nw70/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
Kind Regards,
Els
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.