How look the flat file for CALL Transaction
Hi ABAPERS
i am new for BDC i want to know how the flat file format for call transaction execution.
if any one have sample flat file data for any transaction please send me.
Hi,
The file format differ for different transaction. Basically you can have the field in any order. It matters how you upload into SAP. Use the function module GUI_UPLOAD to upload the flat file.
Please see this sites for more info.
http://www.sap-img.com/abap/learning-bdc-programming.htm
Help with BDCs and flat files.....
Cheers
Vinod
Message was edited by: Vinod C
Similar Messages
-
How to design Flat file for loading attribute dimension in a planning application
Dear Gurus,
I have a requirement to extract attribute dimensions from an essbase application and load it to another planning application. I have a dimension called Program and two attribute dimensions Sales Manager, Accounts manager associated with Program dimension in Essbase application. I will Extract these dimensions using Essbase outline extractor. After Extracting the attribute dimensions I have to load these dimensions to planning applications using outline load utility. Kindly guide me how to design the flat file for loading attribute dimensions in planning application.
Thanks and Regards
SCYou could dig through the docs and try to figure out the file format manually, or you could do this the easy way. Simply use the Outline Load Utility to export your attribute dimension from Planning. The export file format is the same as the import file format. You might have to manually add a couple of test members to your attribute dimension so that your export file has some content. Then simply update the file you exported, and import it.
(I am assuming you have already manually created the Attribute dimension in Planning, and that you simply need to add members to it.)
Hope this helps,
- Jake -
How to Prepare Flat File for Vendor Open Items for RFBIBL00
Hi Experts,
I have to prepare a flat file structure for vendor open items to use in RFBIBL00.
I tried to take structure from the structures BBKPF and BBSEG structures.
I have 59 fields in my file and I need to map these fields with the structures BBKPF and BBSEG to prepare the structures for
Header and Items for vendor open items.
Can any body help me how to prepare the flat file structures.
Thanks & Regards,
Sudheer
Edited by: sudheer kumar on Dec 4, 2009 11:09 AMRFBIBL00 has a documentation please check it
-
Different formats of the flat file for the same target
In our deployment, we use plugin code to extract the csv files in the required format. The customers are on same version of datamart, but they are on different versions of source database - from 3.x to 4.5 depending on which version of application they are using. In 4.0, we introduced a new column email in the user table in the source database. Accordingly, plugin will add the field in the csv file. But not all the customers will get the upgraded version of plugin at the same time. So ETL code needs to decide which data flow to process depending on the format of the csv file to load data to the same target table. I made the email field in the target table nullable but it still expects the same format of the csv file with delimiter for null value.
Need help to achieve this. Can I read the structure of the flat file in DS or get the count of delimiters so that I can use a conditional to use different data flow based on the format of the flat files.
Can I make the email column in the flat file optional?
Thanks much in advance.You can add an email column that maps to null in a query transform for the source that does not contain this column.
Or else you can define two different file formats that map to the same file. One with the column and one without -
Error in when loading the flat file for hierarchy
Hi all,
I get this error when i do the entire Hierarchy process and try to upload the flat fil in the infopackage.
Has anyone faced this kind of error.
No Transfer Structure Available SS_DEMOH IO_SRID_HIER (SY-SUBRC=5)
Can someone tell me how to proceed further.
HarishHi lakshmi,
I have checked it thrice before loading it through infopackage.Everything is fine.
Harish -
How to verify the message id for call transaction ?
Hi all,
After calling transaction, I collect the message into a message table msgtab. There is an entry in msgtab with message type (MSGTYP) and message id (MSGID).
How to know that the message type and message id is correct / relevant to my transaction?Hi macy,
1. How to know that the message type and message id is correct / relevant to my transaction?
I don't think thats requried,
bcos,
these message are ISSUED from the
TRANSACTION itself.
The message id, which is used in the transaction,
(it can be more than one message id used in the transaction)
, the same is collected in the table.
regards,
amit m. -
How is the _rhc file used/called?
I am generating WebHelp and want to enable context sensitive
help. In previous incarnations, the application has called the
topicname_rhc.htm file. However, nowhere in the Robohelp
documentation does it say to do this. It simply says that the _rhc
file is the 'context-sensitive help API support file', and does not
say that this should be launched directly by the application.
Having said that, launching the _rhc file directly does seem to
work... I'd just like to clarify, what is the correct thing to do?
Thanks, Emma.Hi Malcolm,
I think the RM file is only used at build time. It looks you just need one time build since a) if the library in RM file for oracle 9 is dynamic, then set the proper LD_LIBRARY_PATH is ok b) if it is static library, sure should no any problem.
Wayne -
How to create a background job for call transaction
hi gurus
can any one suggest me
how to create the background job for call transaction.
thank you
regards
kals.Hi,
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10926107&messageID=889652
Regards
Kiran Sure -
Need Flat file for Message type DELINS
Hi Experts,
It possible to see the flat file for the Message type DELINS ,, If needed means please say how it can view..
Advance thanks..>My need is to convert the EDI format into SAP.
As far as I know EDI can be read by SAP as Idoc directly without conversion. At least I would try this.
I checked in WE20 /partner profiles/ for outbound parameters there is a tab called 'EDI standards' and here you can define the EDI parameters. However there is no such tab for inbound processing.
What I would do /using transaction code SALE/
- define logical systems
- assign the received to the client
- create RFC port for Idoc processing
- create distribution model with the correct message type
- create port as file
- define or generate partner profiles
Try to upload sample files via transaction WE19 or WE16.
You can try to debug the inbound processing and write a program based on that, which could be scheduled as a background job.
I had a program doing similar, but it was another message type and it was XML based, however the FMs I used are the following:
'EDI_PORT_READ' - read port definition
'EPS_GET_DIRECTORY_LISTING' - get the file names in the dir
'EDI_DATA_INCOMING' - process idocs
Hope it helps.
Peter -
How to load flat file containing data(separated by commas) into cube sapbi.
hi gurus,
please help me with this question?
i have some data in the flat file for example, address but with commas for ex:
h.no:123,colony,area,hyd-59.now i have even other columns in this flat file like customer name,age.....i want to know ,how to load this data into infocube. where in when it comes to address column sap bi takes it as a single column in the generated report.Hi Amulya,
To get reports on all ur records save ur flat file in .CSV format -> to do this open ur flat file, save as "filename.csv".
-> CSV is nothing but comma seperator value, sap supports two types of formats 1).csv and 2) ASCII format.
we prefer .csv format.
check this link for step by step modelling.
http://www.scribd.com/doc/3804698/SAP-BW-StepBystep-From-Fu-Fu
http://books.google.co.in/books?id=3wBjrMDWescC&pg=PA184&lpg=PA184&dq=stepbystepdocumentationfor+sap-bw&source=bl&ots=RIp
T1knFet&sig=_4HOg59Om504Zb9RObF9Ir_oE64&hl=en&sa=X&oi=book_result&resnum=3&ct=result#PPP1,M1
hope it helps u,
Thanks,
Sai Chand.
Edited by: sai chand on Jan 26, 2009 10:04 PM -
Need to take MIB File for Call Manager
Hi,
Can anyone help me how to take MIB file for Call Manager. We have a cluster of 6 CUCM servers (1 pub + 5 Sub). we need this MIB file for monitoring purpose. If you need anyother information regarding this please let me know.Hi
Below MIBs are supported in CUCM. Refer the link attached for details. Btw which Version are you running ?
•CISCO-CCM-MIB
•CISCO-CCM-CAPABILITY
•CISCO-CDP-MIB
•CISCO-SYSLOG-MIB
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cucm/managed_services/cisco_mibs.html
Thanks. -
Program for call transaction method
can any body help me , how to write a call transaction method . how to create error logs for call transaction method
hi
REPORT ZCALL.
TYPES : BEGIN OF itab,
lifnr TYPE rf02k-lifnr,
ktokk TYPE rf02k-ktokk,
END OF itab.
DATA : i_tab TYPE TABLE OF itab INITIAL SIZE 0,
wa_tab TYPE itab.
DATA : i_bdc TYPE TABLE OF bdcdata INITIAL SIZE 0,
wa_bdc TYPE bdcdata.
DATA : i_message LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
wa_message TYPE bdcmsgcoll.
DATA : fname TYPE string VALUE 'd:\manish.txt'.
DATA: p_text(100) TYPE c.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = fname
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = i_tab.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_tab INTO wa_tab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'RF02K-LIFNR' wa_tab-lifnr.
PERFORM bdc_field USING 'RF02K-KTOKK' wa_tab-ktokk.
PERFORM bdc_field USING 'BDC_OKCODE' '= AUSW'.
CALL TRANSACTION 'XK01' USING i_bdc MODE 'N'. " UPDATE 'S' MESSAGES
"INTO i_message.
REFRESH i_bdc.
ENDLOOP.
IF sy-subrc NE 0.
READ TABLE i_message WITH KEY msgtyp = 'E'.
IF sy-subrc = 0.
LOOP AT i_message INTO wa_message.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = i_message-msgid
lang = 'EN'
no = i_message-msgnr
v1 = i_message-msgv1
v2 = i_message-msgv2
v3 = i_message-msgv3
v4 = i_message-msgv4
IMPORTING
msg = p_text
EXCEPTIONS
not_found = 1
OTHERS = 2.
WRITE:/ p_text.
ENDLOOP.
ENDIF.
ENDIF.
*& Form bdc_dynpro
text
-->PROGRAM text
-->DYNPRO text
FORM bdc_dynpro USING program dynpro.
CLEAR wa_bdc.
wa_bdc-program = program.
wa_bdc-dynpro = dynpro.
wa_bdc-dynbegin = 'X'.
APPEND wa_bdc TO i_bdc.
ENDFORM. "bdc_dynpro
*& Form bdc_field
text
-->FNAM text
-->FVAL text
reward if u find useful
regards
Nagesh.Paruchuri -
BAPI_PO_CREATE1 not able to create PO's for multiple rows from the flat fil
Hi
i am uploading PO's from a flat file into SAP using the BAPI_PO_CREATE1. Everything works fine if the flat file hast only one record.
if the flat file has more than one record then while loading the second record the BAPI returns a error message. I am calling the BAPI in a loop.
The strange thing is that if i load the second record individually the program is able to create the PO. So only when i have multiple records in the flat file i am unable to load the PO into SAP. I debugged and checked all the internal tables passed to the BAPI. All seems to have the data correctly but still the BAPI fails.
any idea where i am going wrong?
the code looks something like this.
LOOP AT HEADER_ITAB.
PERFORM FILL_HEADER_RECORDS.
LOOP AT ITEM_ITAB WHERE EBELN eq HEADER_ITAB-EBELN.
PERFORM FILL_ITEM_RECORDS.
ENDLOOP.
PERFORM CERATE_PO_VIA_BAPI.
ENDLOOP.What is the error message. Are you trying something like this:
LOOP AT T_DATA1.
AT NEW LIFNR.
READ TABLE T_DATA1 INDEX SY-TABIX.
PERFORM INIT_TABLES.
PERFORM FILL_DATA.
--Call the BAPI to create PO
PERFORM CREATE_PO.
ENDAT.
ENDLOOP.
FORM CREATE_PO .
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = POHEADER
POHEADERX = POHEADERX
POADDRVENDOR =
TESTRUN =
MEMORY_UNCOMPLETE =
MEMORY_COMPLETE =
POEXPIMPHEADER =
POEXPIMPHEADERX =
VERSIONS =
NO_MESSAGING =
NO_MESSAGE_REQ =
NO_AUTHORITY =
NO_PRICE_FROM_PO =
IMPORTING
EXPPURCHASEORDER = EXPPURCHASEORDER
EXPHEADER = EXPHEADER
EXPPOEXPIMPHEADER = EXPPOEXPIMPHEADER
TABLES
RETURN = RETURN
POITEM = POITEM
POITEMX = POITEMX
POADDRDELIVERY =
POSCHEDULE = POSCHEDULE
POSCHEDULEX = POSCHEDULEX
POACCOUNT = POACCOUNT
POACCOUNTPROFITSEGMENT =
POACCOUNTX = POACCOUNTX
POCONDHEADER =
POCONDHEADERX =
POCOND = POCOND
POCONDX = POCONDX
POLIMITS =
POCONTRACTLIMITS =
POSERVICES =
POSRVACCESSVALUES =
POSERVICESTEXT =
EXTENSIONIN =
EXTENSIONOUT =
POEXPIMPITEM =
POEXPIMPITEMX =
POTEXTHEADER =
POTEXTITEM = POTEXTITEM
ALLVERSIONS =
POPARTNER = POPARTNER
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = RETURN1.
DATA: L_NAME TYPE LFA1-NAME1.
CLEAR L_NAME.
SELECT SINGLE NAME1
FROM LFA1
INTO L_NAME
WHERE LIFNR = POHEADER-VENDOR.
LOOP AT RETURN.
WRITE : / RETURN-TYPE,
RETURN-ID,
RETURN-MESSAGE.
WRITE : '--> For vendor:',
POHEADER-VENDOR,
L_NAME.
ENDLOOP.
ENDFORM. " CREATE_PO -
How to store the flat file data into custom table?
Hi,
Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
Regards,
SujanHie
u can use function
F4_FILENAME
to pick the file from front-end or location.
then use function
WS_UPLOAD
to upload into
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME' "Function to pick file
EXPORTING
field_name = 'p_file' "file
IMPORTING
file_name = p_file. "file
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_file1
TABLES
data_tab = it_line
*then loop at it_line splitting it into the fields of your custom table.
loop at it_line.
split itline at ',' into
itab-name
itab-surname.
endloop.
then u can insert the values into yo table from the itab work area.
regards
Isaac Prince -
LSMW - How to view the flat file on App Server
Hi All,
I'm trying to take a look at BC420_DOC_1_HEAD_POS.LEG which is the file for LSMW training BC420. However, this file is stored on the application (NT) server to which I have no access. Can I browse this file using R/3 utilities?
I just want to see what a flat file for the training course looks like.
Thanks so much!
RomanHi Roman,
In general, the users will not have access to the directories on the application server directly at the OS level. You will have to go through an SAP program / transaction.
Look at the transaction AL11. If the file that you are talking about resided in any of the directories listed in there you will be able to navigate to it.
Regards,
Anand Mandalika.
Maybe you are looking for
-
Recover history from Crash in Private Browsing
I was using Private Browsing on 3 tabs and suddenly it crash . When it restarted back, the 3 tabs gone. The tabs is really important for me, how to get the website address back ? I did submit the crash report, is that possible for me to get the link
-
Print previous jsp page generated content
Hi to all Today i am trying to print a previous jsp page content in a next jsp page. For this reason i am passing the pagecontext object from the first jsp page to second jsp. My first jsp page coding is =================== <% out.print("hello"); ses
-
Hi I would like to know what are all high/medium/low risks are associated with oracle 9i to sql server migration. My db size is 1 TB. We are okay with hardware adjustments. What are complications we will face in furture if we go for it. I appriciate
-
Newbie iTunes/Mac Question
Hi there, I got my first Mac ever there on Sunday, it's a MacBook (I love it!). All my music is in the FLAC format but when I try to play it in iTunes nothing happens. Is this a known bug? Is there a fix available for it? I dont want to use a 3rd par
-
Calendar alarm APP that will continue to sound until turned off?
Is there a calendar or alarm app that continues to sound alarm or reminder until you actually turn it off? Many cell phones have voicemail reminders and my Palm TREO (R.I.P.) had one for calendar alarms.