How do I upload a network hierarhcy into SAP BW?
I am trying to import a large network hierarchy with "link nodes" into SAP BW.
I'm new to SAP, and BW 7.0 is all I know. However, apparently, you can't use the new 7.0 concepts and methods to import hierarchies. You must use older 3.5 methods, including a 3.5 InfoSource.
I found some instructions at http://help.sap.com/saphelp_nw70/helpdata/en/fa/e92637c2cbf357e10000009b38f936/frameset.htm
Which documents how do import hierarchies using 3.5 mechanisms in version 7.0.
Unfortunately, I am unable to follow these steps. I create the 3.5 InfoSource, and the docs say:
"Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System."
However, I see no option to "Assign Source System" anywhere. Also, when I create the 3.5 InfoSource, I see the target InfoObject show up in the InfoSources tree, but I don't see a InfoSource object show up in the InfoSources tree. I'm not sure what to do.
Message was edited by: Giesen
Completely revised post.
Krzys,
Thank you so much. I was trying to use a DB Connect Source System. I created a new flat file Source System and with that, I make it past step 4.
On step 5, I get asked about three different data sources. I choose "no" to the attributes and text data sources (those are import through BW 7.0 mechanisms) and "yes" to the hierarchy data source.
On Step 6, I am on the InfoSource change screen and I try to activate. I don't know what all the settings on the InfoSource mean. When I click activate, I get this error:
"InfoObj. 0GN_IOBJNM from fld IOBJNM of dataSource CSTOB_CBO_HIER is not active but BCT ex. -> Dtl Message no. RSAOLTP236"
I attempt to follow this help text and do: "RSA1" -> "Goto" -> "BI Content"
From there I see a panel, "InfoProviders by InfoAreas". There is a large tree underneath. I do a "find" for 0GN_OBJNM but nothing comes back. I don't know how to proceed.
I also do a Google for 0GN_OBJNM. I found the Best Practices Article BS1 which mentions activating the 0GN_OBJNM object. I try to follow step 3.3.2, however at step 2.c, I get a running stopwatch cursor that lasts for several hours. I assume it's hung. CPU+Disc on SAP server are idle.
Swapna,
I tried to follow the PDF file that you linked. However, I can't do transaction SE38 since I can't get a developer code. The following steps seem similar to Krzys's suggestion where I'm getting the issues above.
Similar Messages
-
How can we upload the Time data into SAP system
Dear all,
ingeneral which method we can use to read the Time data and how can we upload that data into SAP system. Please any one can answer this asap.In the recent project that I have done.. the time data is uploaded from the external time recording machine.. in the form a file...
The other way is through CATS... which in turn will populate the time entries as per hte work schedules... and will explicitly have to populate the deviations to the work scheudle by going through transactions..
Please reward the points if it is helpful...
Regards,
Suvan,
Yash Technologies Pvt Ltd, Hyderabad.
Message was edited by:
Suvan -
How to upload the Excel sheet into SAP
Hello Gurus,
Please let me know the steps how to upload excel sheet file in sap at one time.Suppose i have entered the employee details and their caste .This detail has been maintained in Excel.I want to know the total steps how to upload this total file into SAP System.
Regards
AM. TCode : LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
goto->Recording overview
create
recording name.
enter transaction code.
start recording
do recording as per ur choice.
save + back.
enter recording name in lsmw screen.
save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
display change
select structure
source_fields->copy fields.
a dialogue window will come .
select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structue and enter
repeat these steps for all fields.
save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it willl show records only.
back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
sm35 will come
Object name will be shown here
select object & process
inputs given by KAPIL -
How to upload a Flat file into sap database if the file is in Appl'n Server
Hello Sap Experts , Can you tel me
" How to upload a Flat file into sap database if the file is in Application Server.
what is Path for that ?
Plz Tel Me its Urgent
Thanks for allHi,
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
* con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
* Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop. -
After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?
Hello there, Elena Lyubina.
The following Knowledge Base article offers up some great steps for troubleshooting issues with an application not functioning as expected:
iOS: An app you installed unexpectedly quits, stops responding, or won’t open
http://support.apple.com/kb/ts1702
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
How to convert the flat file data into sap tables . ?
how to upload flat file data into sap table . before upload mapping is also there in some filds . any one can give me some steps how to upload and mapping . ?
Hi
See the sample code
REPORT zmmupload.
Internal Table for Upload Data
DATA: i_mara like MARA occurs 0 with header line
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_mara
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
MODIFY MARA from TABLE i_MARA.
Regards
Anji. -
How to convert JSR-168 compliant Portlets into SAP iviews
Hi All,
Its very urgent requirement for me...
<b>How to convert JSR-168 compliant Portlets into SAP Enterprise Portal supported iViews in SAP NetWeaver 2004 or 2004s.</b> Can you please tell me any tools are available for conversion or is there any another procedure to achieve this problem.
At last can we ach
Each answer will be awarded with points.
Regards
Sreedhar GHi Sreedhar,
Is there anyway to display Standard Business packages content in IBM websphere portal.If there is anyway please let me know.
thanks,
Anil -
How to save xml output of fm into sap as xml
how to save xml output of fm into sap as xml
thank you,
regards,
Jagrut bharatkumar shuklaHi Jagrut
The XML document can be stored in an ABAP variable rxml of the type STRING or XSTRING, or in an internal standard table sxml of the elementary line type C. Hence, I believe, your issue with the lenght can be resovled with this types.
For rxml, you specify an interface reference variable of the type IF_IXML_OSTREAM that points to an IXML output stream.
For rxml, you specify an interface reference variable of the type IF_IXML_DOCUMENT that points to an IXML document.
With the stream factory you have several options. Before you call your CALL TRANSFORMATION, you setup your stream factory for these different options.
1. You want to write the file to the application server file system. You want to create your OSTREAM as a binary string. In this example b_xml is an empty binary string. OSTEAM will be the reference variable of tyep IF_IXML_OSTREAM.
ostream =
streamfactory->create_ostream_xstring( b_xml ).
You get the output lenght with the following:
ressize = ostream->get_num_written_raw( ).
You can then send the entire string to the file system with the following:
transfer b_xml to filename1 length ressize.
Also refer to this weblog:
/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
Regards
Ravish Garg
<b>
*Remember reward points is the best way to say thank you :)</b> -
How to convert JSR 168 compliant Portlets into SAP supported iViews.
Hi,
How to convert JSR 168 compliant Portlets into SAP supported iViews in SAP NetWeaver 2004.
Thanks & Regards
SivaGuys,
JSR is not supported untill NW05. Please check this
/thread/176954 [original link is broken]
Akhilesh -
How do I upload an audio book into audio books instead of into my itunes music library?
How do I upload an audio book onto my ipod nano into audio books, rather than it going into my itunes music library?
iPod Manuals
iPod Models
iPod nano Troubleshooting Assistant
iPod Troubleshooting Assistant
Service Answer Center - iPod -
Can anybody help how to upload an excel file into sap-crm urgent
hi guys,
i need the right function module to upload the excel file from the presentation server in to sap-crm.
1) I know we use the function module 'ALSM_EXCEL_TO_INT_TABLE' in sap-r/3 but this function module is not exist in sap-crm.
2) i tried with the function moduel 'GUI_UPLOAD' but its not uploading correctly i am gettting hases(#).
Please can any one provide the right function module to upload the excel into sap-crm with an sample code.
thanks
viswa gunthaHi Visma,
Please check this link for sample custom FM.
Re: function mudule for MS excel file to sap crm
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful as away to say thanks. -
Upload data from Excel into SAP CRM using webservices
Hi,
I want to upload the data from EXCEL into SAP CRM using a web service, can anyone say me the process and also how to map the excel and the source code structures.
Thanks,
Sanju.Try the following :
Class: CL_GUI_FRONTEND_SERVICES
Method: GUI_UPLOAD
Thanks
<b>Allot points if this helps!</b> -
Need help in uploading an excel file into SAP
Hi All,
I got a requirement to upload an excel file to SAP.
But When i tried with the FM "ALSM_EXCEL_TO_INTERNAL_TABLE" , file not getting uploaded to internal table.
Getting expection 2, UPLOAD_OLE...
I think the problem is with the file... the following the sample text of the file...
Technical IdentNo. Line No. Text Location
BS-PZ-180 1 035-05 EXZENTER-SCHNECKENPUMPE 0026
BS-PZ-180 2 LIEFERANT : SOCSIL-INTER SA ECUBLENS 0026
BS-PZ-180 3 HERSTELLER : MONO PUMPS LIMITED MANCH 0026
BS-PZ-180 4 MODELL/TYP : SH 60 0026
But when I tried with only one Column..its getting successfully uploaded...
Pls suggest me how to upload the file? ( May be with sample code)
Also pls let me know hw to handle the file..which contains 5 differnt sheets of texts.. ( May be with sample code)
Your suggestion will be highly appreciated...
Thanks,
PriyaHi,
Use the FM: TEXT_CONVERT_XLS_TO_SAP. It will work perfectly. I used this function module and uploaded data from xls to sap. check the following code:
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE rlgrap-filename.
TYPES: BEGIN OF t_datatab,
PROP_NAME like SDOKPROP-PROP_NAME,
PROP_CHECK like SDOKPROP-PROP_CHECK,
TABNAME like SDOKPROP-TABNAME,
FIELDNAME like SDOKPROP-FIELDNAME,
DESCRIPT(30) type c,
END OF t_datatab.
DATA: it_datatab type standard table of t_datatab,
itab TYPE STANDARD TABLE OF t_datatab,
wa_itab TYPE t_datatab,
wa_datatab type t_datatab.
DATA: it_raw TYPE truxs_t_text_data.
At selection screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
*START-OF-SELECTION.
START-OF-SELECTION.
SELECT * FROM sdokprop INTO CORRESPONDING FIELDS OF TABLE itab
WHERE PROP_NAME LIKE 'DMS%'.
WRITE / 'Before Modification'.
LOOP AT itab INTO wa_itab.
WRITE:/1 wa_itab-PROP_NAME, 27 wa_itab-PROP_CHECK, 31 wa_itab-TABNAME, 65 wa_itab-FIELDNAME, 96 wa_itab-DESCRIPT.
CLEAR wa_itab.
ENDLOOP.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it_datatab[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
END-OF-SELECTION.
END-OF-SELECTION.
WRITE / 'After Modification'.
MODIFY sdokprop FROM TABLE it_datatab.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/1 wa_datatab-PROP_NAME, 27 wa_datatab-PROP_CHECK, 31 wa_datatab-TABNAME, 65 wa_datatab-FIELDNAME, 96 wa_datatab-DESCRIPT.
CLEAR wa_datatab.
ENDLOOP.
IF sy-subrc = 0.
MESSAGE 'successfull' TYPE 'S'.
ELSE.
MESSAGE 'failed' TYPE 'E'.
ENDIF.
Regards,
Bhaskar -
How to pass thr document from Webdynpro into SAP R/3?
HI Gurus,
I have a requirement to offer a Document uploading option through Java webdynpro screen.
I have referred the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
which has the steps till uploading the document into Webdynpro
Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
Please adRefer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.
-
How to maintain TFACS table (Factory calendar) into SAP BI
Hi,
I deal with a daily stock infocube and I would like to set a flag when the warehouse doesn't work (on holiday).
to do this, I would like to use the factory calendar (TFACS), and I have 2 questions:
1) How to maintain the TFACS table into SAP BI ?
2) How to use the TFACS data into SAP BI ? In other words, How to convert the TFACS data values in date ?
Thx.
Radj.1.
rsa1(source-systems) --> right-click on the source system you load from --> transfer global settings --> flag 'factory calendar' and 'rebuild' or 'update tables'
2.
use function module DATE_CONVERT_TO_FACTORYDATE.
it returns workingday_indicator (initial if it's a worling day) that you can use as a flag, or it also returns the next working day.
you can use this function module in the transformation in the field routine of the flag...i think this is the best option.
M.
Maybe you are looking for
-
Food for thought: integrating SOAP in WLS6
Looking at the multitude of questions regarding SOAP and WLS 6, I think the time has come to make some kind of HOWTO on integrating SOAP (especially apache's rpcrouter) in WLS 6. Like many others, I also have a strong need to make my EJB's available
-
I need to know before I Buy. Thanks OS X Lion
-
How to retrive archived messages in sxmb_moni
Hi, My client want to see specific date archive messages, how to see those messages in SXMB_MONI window. Let me know any standard program and procedure. I am using PI 7.0 version SP19.
-
Master data services 2012 domain trust issues
hi, we have a Master Data Services 2012 installation within one domain and the users exist within another domain. This has a selective trust both ways. the behaviour that we are seeing in MDS 2012 when adding users to the master data services from t
-
I have developed an application comprising of about 25 Forms. I have fully configured FormsWeb.cfg file and the application is running fine on the local intranet. BUT THE PROBLEM IS that I have been unable to set an easy to understand URL to my appli