How to upload Revised Tax into SAP
hi ,
In HR Module .. Now tax is revised know... how to upload that Revised tax into SAP .. Please Explain step by step ..
Regards,
Kumar
Hi,
Please check the code below:
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = gv_file
filetype = 'ASC'
has_field_separator = gc_x
TABLES
data_tab = gt_dummy
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc NE gc_zero_num.
MESSAGE e006.
ENDIF.
Check if the input file is blank
IF gt_dummy[] IS INITIAL.
MESSAGE i007.
LEAVE LIST-PROCESSING.
ENDIF.
Regards
Kannaiah
Similar Messages
-
How to upload Organisation structure into SAP HR. Version 3.1I.
Hi Experts,
We have to upload Organisation structure into SAP HR.We are using Version 3.1I.
Can any body please tell me how to do that.
Itr'sa important as in version 3.1 i we cannot use LSMW or eCATT.
Thanks and regards
Rajeev ChhabraHi Rajeev,
SAP Best Practices provides load tools that should be valid for 3.1 since the data structure hasn't changed much. You can also use delivered program RHALTD00. I'm not sure if plain old CATTs were around in 3.1, but those would work as well.
Good luck,
Sharon -
How to upload the data into SAP R/3 System
I have a scenario to upload the flat file data into SAP R/3 System.
I will describe my complete scenario here so that it will be better understanding for you to suggest the solution.
The segments that relevant for the upload of customer master data, namely
HD : Header Segment
PF : Partner Function Segment
OP : Output Segment
TX : Tax Segment
CR : Credit Segment
CT : Customer Text SegmentI think you can achieve this with IDOC creation. If it is so follow the steps below.
Basic Type:
Basic IDoc type defines the structure and format of the business document that is to be exchanged between two systems.
Segments:
Segments form the basic building blocks of an IDoc type and are used to store the actual datta. A segment type is the name of a segment and is independent of the SAP elease. A segment definition is the release-specific name of a segment.
Steps in creating Segments:
T.Code WE31
Enter the name for your segment type and click on the create icon.
Type the Short text.
Enter the variable names and data elements.
Save and Go back.
Go to Edit -> Set Release.
Repeat the steps to create more segments.
IDOC TYPE:
Business data is exchanged with an external system using the IDoc Interface.
IDoc types (Special Structures) An IDoc type is defined through its permitted segments. Segments can be dependent on each other (parent and child segments). The IDoc interface can check for each IDoc whether thhe segments contained are compatible with thhe definitiion of its type. This systax check is activated or deactivated in the Partner Profiles.
Steps in creating IDoc Type:
T.Code WE30 to create IDoc Type.
Enter the Object Name, Select Basic Type and click Create Icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDoc name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press enter
The system transfers the name of the segment type to the IDoc editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation.
Save it and go back.
Go to Edit -> Set Release.
Message Type:
Steps in Creating Message Type:
T.Code WE81.
change the details from Display mode to Change mode
After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back.
Assign Message Type to IDoc Type:
T.Code WE82
Change the details from Display mode to change mode.
After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back.
Reward Points if useful. -
How To upload business partner into sap crm using xif Adapter by XML File
HI Guru's,
I got Requirement to upload the business partner information into sap crm system using xif adapters from xml file , please give imformation how can achive this .
Regards,
Naveen Kumar MSDear Naveen,
please see the information given in note 448742 General notes on CRM external interfaces!
Hope you can find the information!
Regards, Gerhard -
Using bapi how to upload the data into sap database?
hi dear all,
im facing problem with bapi ? let me edcuate on bapi ..
i will be waiting for reply.
my e-id :[email protected]
thanks®ards
shiva.Hi
A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate
with each other at the Business Object / Process level.
Check this link to know more about BAPI.
http://www.sapgenie.com/abap/bapi/example.htm
http://sappoint.com/abap/
Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
transaction is then started using this internal table as the input and executed in the background.
In Call Transaction, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
It can also be used for real-time interfaces and custom error handling & logging features. .
To know more about BDC,
check the link.
http://sappoint.com/abap/
Main differences are...
In case of bdc data transfer takes place from flat file into sap system ie the file existing in sap system to sap sytem
where is bapi's r remotly enabled function modules which are assigned to some business objects n used to transfer the data between different business partners who are using different systems other than sap.
not only that...
when you plan to upgrade your system version then bdc willnot support those upgradations where as bapi's will support.
http://www.sap-img.com/abap/ale-bapi.htm
SAP BAPI
BAPI STEPS
Hope this helps.
ashish -
How do I upload XML files into sap table?
Dear all,
I found some methods that upload xml into SAP,
but there doesnt work under 4.6c.
Can someone tell me how to upload XML files into
sap under 4.6c?
THX!hi,
You can convert XML to abap using transformations. Simple transformations is a proprietary SAP programming language that describes the transformation of ABAP data to XML (serialization) and from XML to ABAP data (deserialization).
goto SE80->workbench->edit object(or other objects)->in object selection chose more tab and then choose the transformation radio button and write a name and click create new.
Here you enter your transformation like
<xsl:transform version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:sap="http://www.sap.com/sapxsl"
>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:transform>
You can use this transfomation in your program using call transformation. You can find more info on call transformation in help.
Hope this helps.
Regards,
Richa -
Data upload from excel into SAP
Hi Gurus
Could anyone please guide me how to upload excel data into SAP?
I need to update existing Gross weight and Net weight data. Got new data in excel format.So need to upload excel file straight into SAP and update the data.
Step by step procedure will be much appreciated.
Rgds
Utpaltry with bdc .....
below coding is move the data from excel to internal table ....
TYPES: BEGIN OF s_ovro,
VKORG LIKE V_TVSFK-VKORG,
VTWEG LIKE V_TVSFK-VTWEG,
SPART LIKE V_TVSFK-SPART,
STGKU LIKE V_TVSFK-STGKU,
STGAK LIKE V_TVSFK-STGAK,
STAFO LIKE V_TVSFK-STAFO,
END OF s_ovro.
DATA: I_OVRO TYPE TABLE OF s_ovro,
w_ovro type s_ovro.
data : request(15) type c,
i type c.
DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE.
FIELD-SYMBOLS: <FS1> TYPE ANY.
include bdcrecx1.
SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\itfactory\Desktop\sd1.xls' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK DATA.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
start-of-selection.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = 1
I_BEGIN_ROW = 1
I_END_COL = 24
I_END_ROW = 60000
TABLES
INTERN = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
LOOP AT IT_EXCEL.
ASSIGN COMPONENT IT_EXCEL-COL OF STRUCTURE
W_ovro TO <FS1>.
<FS1> = IT_EXCEL-VALUE.
AT END OF ROW.
MOVE-CORRESPONDING: Wib TO Iib.
APPEND w_ovro to I_ovro.
CLEAR W_ovro.
ENDAT.
ENDLOOP.
through bdc program update the data from internal table to bdc... -
Uploading the file into sap ( fields are seprerated by ' | '.
Hi All,
Plz let me know how to upload the file into sap in which the fields are separated by the symbol ' | '
sample file format
Material|Oracle_Item_type
(89034)|PFG
001069-000-97|BTF/BTS
001070-000-97|SRV PTS
001074-000-00|SRV PTS
001086-000-97|SRV PTS
001143-000-97|SRV PTS
001176-000-97|SRV PTS
001197-000-97|SRV PTSdata: gt_txtar TYPE truxs_t_text_data.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = ' | '
TABLES
i_tab_sap_data = itab
CHANGING
i_tab_converted_data = gt_txtar.
CONCATENATE '/usr/sap/tmp/file.txt' INTO lv_dwnfile.
OPEN DATASET lv_dwnfile FOR OUTPUT IN TEXT MODE ENCODING UTF-8 .
loop at gt_txtar.
TRANSFER gt_txtar TO lv_dwnfile.
endloop.
CLOSE DATASET lv_dwnfile .
Regards
Sathar
Edited by: Sathar RA on Sep 1, 2008 9:47 AM -
How to batch upload some data into SAP system?
Hi All:
I'm a SAP key user in our company, I want to know how to batch upload master data into SAP system? What t-code we can use for batch input?
Thanks in advance!Hi,
I think at least there are four methods for batch input which you can use in SAP system:
Standard mass change t-code: for example, MM17 for mass change of material master data, you can find the mass change t-code under the relevant function module;
T-code SCAT, you can use to record and generate the simple batch input template, it's easy to use for key user;
T-code LSMW, it's another transaction to generate batch input template, it's often used at the beginning of SAP rollout;
ABAP program, of course, ABAP is a universal tool for everything, you can use ABAP to generate a batch input program to upload data into SAP system as well.
So you had better contact your SAP support department, help you to upload data!
Good luck
Tao -
Hi experts,
I have to upload legacy data into SAP by using eCATT recording Transaction. For doing this I have completed Test script in tcode SECATT. After this what I have to do.. How can I attach my legacy file.. Can anyone help me. ..Its really urgent
Thanks in advanceHi,
There are a series of weblogs in this area. Check them out, I think there are 8 in a series:
/people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
cheers
Aveek -
Error while uploading MSP project into SAP PS
Dear Friend's,
For uploading MSP project into SAP PS we are using openps4MSP version 4.0 & MSP version 2007. incase of SAP PS to MSP downloading is ok.
While uploading we are getting following error. Also I have gone through relevant notes on MSP PS interface still I am unable to understand what exactly is the missing.
Action log is as follows.
The WBS.Maintain BAPI was called.
- duration in sec.:0.109396699997887
- return code: E
- I CJ546 WBS-Dates Create
Start date is in the past
- object ID: B1101501000000000 /
- I CJ546 WBS-Dates Create
Start date is in the past
- object ID: B1101500000000000 /
- E CN009 NetworkActivity Create
Network 4003941 does not exist
- object ID: 0000040039410010 /
- E CN009 NetworkActivity Create
Network 4003941 does not exist
- object ID: 0000040039410020 /
- E CJ280 NetworkActivity Create
Termination: Too many errors (more than 10% of methods)
- object ID: 0000040039410020 /
ERROR test import into PS system failed
ERROR updating PS project
Thanks & Regards,
SuvinHi,
Which type of scheduling setting have you configured for WBS scheduling and for n/w. ?
Also, download calendar from SAP to MSP and then add column 'Task Calendar' in which select the downloaded calendar.
Check SAP NOTE 579761
Regards,
Harsh.
Edited by: Harsh Saxena on Aug 10, 2011 3:18 PM -
Upload a doc into SAP and then FAX it
Hi
I'm looking for a method of uploading a doc into SAP and then FAX it to a customer.
What currently happens is this:
1. SAP creates a document, which is saved to a UNIX directory as a text file.
2. An external process takes this file, uses the info and creates a new file with alot more info than SAP has. This new file is saved to another UNIX directory.
3. This is where I'm stuck. I would like SAP to upload this new text file (or files) and fax each one.
The filename will contain a document number that SAP can then use to check customer master and obtain correct FAX number.
Can anyone provide a few pointers?
thanks,
StephenHi Stephen,
Your SAPConnect config basically sends a SAPOffice message to your fax server, so to send your unix file in the same way you need an ABAP to create a SAPoffice message.
The steps in your program will be something like;
Read the unix file (OPEN DATASET, TRANSFER etc)
Format the data if necessary
Use a function module like SO_DOCUMENT_SEND_API1 to create the message
Provided you maintain the correct recipient parameters SAPconnect should process this to the fax server.
An alternative is to create a spool then pass this to SAPoffice, the approach is similar but the FMs needed will be different.
Regards,
Nick -
Is there any other method other than se78 to upload a graphic into SAP R/3?
Hi,
Is there any other method other than se78 to upload a graphic into SAP R/3?
Anita Jeyanhi ,
just use OAER or RSTXLDMC program
it will definately help you
regards
rahul -
How to upload the data to SAP-DMS(Document Management System)
Dear sir,
How to upload the data to SAP-DMS (Document Management System) please give me the code for this .ex for (excel format or tab deliminated) to sap system through BAPI i have to pass.
regards
R M PatilHi,
May be following link may help you.
/thread/315373 [original link is broken]
/message/205534#205534 [original link is broken]
Thanks,
Sree. -
How to upload a file into a db blob column from adf page
How to upload a file into a db blob column from adf page
Which option to use ?The forum search would be my first try...
Then google...
This has been asked at least once a week and got correct answers...
Timo
Maybe you are looking for
-
How can I remove unwanted downloads from my macbook pro?
How can I remove unwanted downloads from my macbook pro?
-
R6950 Display Twin Froz II OC 2 GB flickers with multiple displays
Hi guys, This is my situation, I have a 3 monitor setup (27" SA850 PLS) not running on Eyefinity, simply using extended desktop and playing only on one monitor. 2 of the monitors are connected to the card using Display Port and another one using the
-
Upgrading oacle 10.2.0.4 to 10.2.0.5
Hi I need help on this I need to upgrade my oracle from 10.2.0.4 to 10.2.0.5 IN AIX OS 5.3 VERSION 1. I have downloaded opatch 10.2.0.5 and unzipped into my oracle home directory /oracle/DE1/102_64 Then i checked my opatch version by using usilkrx0
-
Finding Files Transferred with Migration Assistant
Hi there, I used the Migration Assistant to move my settings, documents, programs, etc. from my iBook to my MBP. The assistant moved most everything from my iBook over, as I couldn't pick and choose which particular applications, documents, etc. that
-
Need to record a two hour speech
How do you set the length of a project? Last time we tried to record a speech, the recording stopped at 1 hour and six minutes. I can't figure out why the recording stopped and we need to capture a longer event than that. Secondly, I am recording a f