on 2015 Dec 11 10:42 AM
Hello,
Our R/3 system generates 4 txt files, which should be sended to our BPC 10.1 system.
In our case we’re putting this 4 files on a ftp server, and then use the standard method:
To send this files to the “…\Datamanager\datafiles…”, that are visible from the packages of BPC to upload this information to our system.
In Excel with de Data Preview option:
We can see the information is uploaded OK:
But, we’ve defined a package, which is using this file to upload this information to our dimension “CLIENTS”:
Which use that Script:
PROMPT(MESSAGE,"Importar DM Client")
'PROMPT(INFILES,,"Import file:",)
'PROMPT(TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
'PROMPT(DIMENSIONNAME,%DIMNAME%,"Dimension name:",,,%DIMS%,0)
'PROMPT(RADIOBUTTON,%WRITEMODE%,"Write Mode",2,{"Overwrite Hierarchy","Update Hierarchy"},{"1","2"})
INFO(%TEMPNO1%,%INCREASENO%)
INFO(%TEMPNO2%,%INCREASENO%)
INFO(%DIMNAME_DATEFROM%,)
INFO(%DIMNAME_KEYDATE%,)
TASK(/CPMB/MASTER_CONVERT,OUTPUTNO,%TEMPNO1%)
TASK(/CPMB/MASTER_CONVERT,FORMULA_FILE_NO,%TEMPNO2%)
TASK(/CPMB/MASTER_CONVERT,TRANSFORMATIONFILEPATH,\ROOT\WEBFOLDERS\PEF_DES\PEF\DATAMANAGER\TRANSFORMATIONFILES\DM\TF_DM_Client.xls)
TASK(/CPMB/MASTER_CONVERT,SUSER,%USER%)
TASK(/CPMB/MASTER_CONVERT,SAPPSET,%APPSET%)
TASK(/CPMB/MASTER_CONVERT,SAPP,%APP%)
TASK(/CPMB/MASTER_CONVERT,FILE,\ROOT\WEBFOLDERS\PEF_DES\PEF\DATAMANAGER\DATAFILES\DM\DIM_CLIENTS.TXT)
TASK(/CPMB/MASTER_CONVERT,DIMNAME,CLIENT)
TASK(/CPMB/MASTER_CONVERT,KEYDATE,%DIMNAME_KEYDATE%)
TASK(/CPMB/MASTER_LOAD,INPUTNO,%TEMPNO1%)
TASK(/CPMB/MASTER_LOAD,FORMULA_FILE_NO,%TEMPNO2%)
TASK(/CPMB/MASTER_LOAD,DIMNAME,CLIENT)
TASK(/CPMB/MASTER_LOAD,WRITEMODE,2)
TASK(/CPMB/MASTER_LOAD,DATEFROM,%DIMNAME_DATEFROM%)
TASK(/CPMB/MASTER_LOAD,KEYDATE,%DIMNAME_KEYDATE%)
When we execute the package, we get that error:
If we upload the file manually via the option:
In data preview we can see this information ok, like before:
But in that case, the package is processed OK:
We try to find some notes on SAP Support with the text returned by the error:
“Cannot find generated document content in DB Table”
And find the note:
1374116 – Error: “Cannot find generate document in table” when running IMPORT package in BPC Data Manager.
This note is talking about two ways to upload the file:
We download the file from the ftp server to our computer and try this option:
The file is uploaded successfully. In data preview option, we can see the information OK:
When we execute the package, it works ok.
As we said, we would like to automate the process, so this option it is not valid for us. Is there a valid way to do it without user intervention?.
Thanks In advance.
Request clarification before answering.
We find a solution to our problem.
Our upload process is using now the method "PUT_DOCUMENT_FTP_DATA_MGR" instead the "PUT_DOCUMENT_FTP" method.
With this method the file is uploaded OK and can be used by our packages without error.
Thanks to all!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not responding Andy Xu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You provided a lot of information, but you didn't show what error message you got when you tried running MD Import from FTP uploaded file. Can you please provide that log?
Additionally, I'd suggest comparing records in UJF_DOC* files for document that you uploaded manually and the one that your program uploaded. Can you find any difference besides the time stamp and doc name?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gersh,
This is the error message in the package execution import of master data:
In the UJF_DOC table, differences are shown when the program is done loading, and when the data load is executed by Excel, this is the screenshot of the load program:
This is the screenshot of the load Excel data:
As you can see there are differences in some areas.
Thanks,
First you have to download generated file to the desktop and perform byte compare with the working file! Data preview will not show possible differences!
Second - instead of text files you may fill some tables with the required data and on the BPC side use custom logic badi to read the mentioned tables and update master data. You may try to even launch data extraction to the tables from this badi...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.