Explain about plant maintanence
Hi Friends,
How i explain in the interview, "What is plant?" and "importance of plant?"
Regards,
M. Jegadeesan
hi,
SAy this :
It is an organisational unit which is assigned in the SPRO customizations...
You can have n number of storage locations for the plants...and the plant key is unique in the co code...
ie. in a co code you can have the n number of plant but a plant may be assigned to the a single cocode only...
Plant is also assigned to the Purchase organization for the procurement activities...
All the production, MRP, Puchasing activities takes place at the plant level...
For more help check the sap library..
Hope it helps..
Regards
Priyanka.P
Similar Messages
-
Explain about sales organization and its functionalities
Explain about sales organization and its functionalities
Hi Suresh,
<b>
Definition: </b>The sales organization is an organizational unit within logistics, that structures the company according to its sales requirements.
<b>Use: </b>A sales organization is responsible for the sale and distribution of goods and services.
It represents the selling unit as a legal entity. It is responsible for product guarantees and other rights to recourse, for example. Regional subdividing of the market can also be carried out with the help of sales organizations. Each business transaction is processed within a sales organization.
The sales organization must be specified in all sales documents. It is therefore available for all basic functions of SD (such as pricing, availability, etc.).
<b>Structure: </b>A sales organization can be subdivided into several distribution chains which determine the responsibility for a distribution channel.
Several divisions can be assigned to a sales organization which is responsible for the materials or services provided.
A sales area determines which distribution channel can be used to sell the products from one division in a sales organization.
<b>Integration:</b> Each sales organization is assigned exactly one company code for which you enter all accounting details of the sales organization.
A distribution chain can be active for several plants and the plants can be assigned to different company codes. If the sales organization and plant are assigned to different company codes, an internal billing document is sent between the company codes before the sales transactions are entered for accounting purposes.
Thanks,
Vinay -
Hi,
Can anyone explain about header configuration in CIN SD is BASB or not?CIN Configuration
1.1 Maintain Excise Registration
BasicSPRO Maintain Excise SAP Ref. IMG  Logistics general  tax on Goods Movements RegistrationsIndia setting
1.2 Maintain Company Code Settings
tax onIndia SPRO Basic setting SAP Ref. IMG Maintain Company Code Logistics general Goods Movements Settings
1.3 Maintain Plant Settings
SAP Ref. Logistics general tax on Goods Movements SettingsIndia  Basic setting SPRO Maintain PlantIMG
1.4 Maintain Excise Groups
Basic settingSPRO MaintainSAP Ref. IMG Excise Groups Logistics general  tax on Goods MovementsIndia 
1.5 Maintain Series Groups
tax on GoodsIndia  Basic setting SPRO SAP Ref. IMG Maintain Series Groups Logistics general Movements
1.6 Maintain Excise Duty Indicators
SAP Logistics general tax on Goods MovementsIndia  Basic setting SPRO Maintain Excise DutyRef. IMG Indicators
1.7 Maintain Subtransaction Type with Text
tax on GoodsIndia  SPRO Maintain Subtransaction Type SAP Ref. IMG  Logistics general Movements Basic settingwith Text
1.8 Determination of Excise Duty
SAP Ref. IMG Logistics general tax on GoodsIndia  Determination of Excise DutySPRO Select Tax Calculation Movements Procedure
1.9 Maintain Excise Defaults
IndiaSPRO Determination of ExciseSAP Ref. IMG Maintain Excise Logistics general  tax on Goods Movements DutyDefaults
1.10 Condition-Based Excise Determination
Logistics generaltax on Goods Condition-Based ExciseSPRO Define Tax Code for SAP Ref. IMG  Movements Purchasing DocumentsIndia Determination
1.11 Condition-Based Excise Determination
Logistics generaltax on Goods Condition-Based ExciseSPRO Assign Tax Code to SAP Ref. IMG  Movements Company CodesIndia Determination
1.12 Classify Condition Types
tax onIndia SPRO Condition-BasedSAP ExciseRef. IMG Classify Condition Types Logistics general Goods Movements Determination
1.13 Maintain Chapter IDs
SAP Ref. IMG Logistics general tax on Goods MovementsIndia  Master dataSPRO Maintain Chapter ids
1.14 Assign Users to Material Master Screen Sequence for Excise Duty
Logistics general tax on Goods MovementsIndia  Master dataSPRO  SAP Ref. IMG Assign Users to Material Master Screen Sequence for Excise Duty
1.15 Specify Excise Accounts per Excise Transaction
tax on Goods SPRO Specify Excise Accounts per Excise SAP Ref. IMG Logistics general Movements TransactionIndia Account determination
1.16 Specify G/L Accounts per Excise Transaction
Logisticstax on Goods AccountSPRO Specify G/L Accounts per Excise SAP Ref. IMG general Movements TransactionIndia determination
1.17 Incoming Excise Invoices
tax on GoodsIndia SPRO BusinessSAP TransactionsRef. IMG Incoming Excise Invoices Logistics general Movements
1.18 Define Processing Modes Per Transaction
SAP Logistics general  tax onIndia  Business TransactionsSPRO Define Processing ModesRef. IMG Goods Movements Per Transaction
1.19 Define Reference Documents Per Transaction
Logisticstax on Goods BusinessSPRO Define Reference Documents Per SAP Ref. IMG general Movements TransactionIndia Transactions
1.20 Maintain Rejection Codes
tax on GoodsIndia SPRO BusinessSAP TransactionsRef. IMG Maintain Rejection Codes Logistics general Movements
1.21 Specify Which Movement Types Involve Excise Invoices
SAPLogistics tax on GoodsIndia  Business TransactionsSPRO Specify WhichRef. IMG general Movement Types Involve Excise InvoicesMovements
1.22 Outgoing Excise Invoices
SAP Ref. Logistics general tax on Goods India Business Transactions Outgoing Excise Invoices SPRO AssignIMG Movements Billing Types to Delivery Types
1.23 Maintain Default Excise Groups and Series Groups
Logistics general India Business Transactions Outgoing Excise Invoices SPRO  SAP Ref. IMG  tax on Goods Movements Maintain Default Excise Groups and Series Groups
1.24 Subcontracting Attributes
SAP Ref. IMG Logistics general tax on GoodsIndia  Business Transactions SubcontractingSPRO Subcontrac Movementsting Attributes
1.25 Maintain Movement Type Groups
tax on GoodsIndia SPRO Business SAP Ref. IMG Subcontracting Logistics general Movements Transactions AttributesSubcontracting
1.26 Utilization Determination
tax on GoodsIndia SPRO BusinessSAP Ref. IMG Utilization Determination Logistics general Movements TransactionsUtilization
1.27 Specify SAPscript Forms
SAP Ref. IMG Logistics general tax on Goods MovementsIndia  Business Transactions Excise RegistersSPRO Specify SAPscript Forms
1.28 Number Ranges
tax on GoodsIndia  ToolsSPRO NumberSAP Ref. IMG Ranges Logistics general Movements
1.29 Message Control
tax onIndia  ToolsSPRO Message SAP Ref. IMG  Logistics general ControlGoods Movements -
Need Business case Explaination about the Field in Customer Master
Hi all,
I have a doubt in Customer master Record
1. Customer Group
2. Price Group
3. Price list
4. Customer Stat.group
What I mentioned above fields i need business case explination, but all the above fileds are explaining about the Price and Statistics about the report. By using F1 Help i can understand but i need business case
Is there any link between those fields ?
@ Please dont close the thread if it is basic question please provide the details and link because i serached in Google but i couldn't able to findouthi
anuradha,
In my knowledge customer pricing group is the main in the customer master ,
you will one test case in customer pricing group in customer u can not fill it, the same customer u can rise the sale order , system sows earorr message, no customer master records maintain, it means when u create the sale order system take pricing procedure , pricing procedure determination ; sales area+customer pricing procedure +document pricing procedure assign to pricing procedure,(ovkk) ,
customer statical group
Sales Organization 0001 Sales Org. 001
Distribution Channel 01
Division 00
Cust.stats.grp 1 'A' Material
CustGroupMaterial 1 'A' Material
StatGrpSalesDoc 2 Returns, Credit Memo
StatGrpDocumentItm 1 Returns, Credit Memo
Update Group 1 SIS: Sales Document, Delivery, Billing Document
it is the static updating group for item level,
Sales Organization 0001 Sales Org. 001
Distribution Channel 01
Division 01
Cust.stats.grp 1 'A' Material
StatGrpSalesDoc 1 Order, Debit Memo
Update Group 1 SIS: Sales Document, Delivery, Billing Document
it is for static updating group for header level
it is use full in vov7 ,
price list and price group it is use full pricing to the customers, you can check it sale order header in sale tab u can find your required fields, -
Can anyone Explain about Data conversion for Material master In SAP MM
Can anyone Explain about Data conversion for Material master, Vendor In SAP MM
ThanksHi,
Refer following link;
[Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc] -
i want to converts amount value in numbers to Rupees .
Could anyone please explain about RF_SpellUse FM HR_IN_CHG_INR_WRDS or SPELL_AMOUNT
Here is the sample code
DATA AMT_IN_NUM LIKE PC207-BETRG.
DATA AMT_IN_WORDS(100) TYPE c.
PARAMETERS: AMOUNT LIKE AMT_IN_NUM.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = AMOUNT
IMPORTING
AMT_IN_WORDS = AMT_IN_WORDS
EXCEPTIONS
DATA_TYPE_MISMATCH = 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.
WRITE AMT_IN_WORDS.
Reward Points if it is helpful
Thanks
Seshu -
Explain about roll area , Dispatcher, ABAP-Processor
Hi all,
Can anyone explain about roll area , Dispatcher, ABAP-Processor?
Thanks,
srikanth.Hi Srikanth.
I would like to suggest a few references,
[SAP HELP Library - Standard Reference for ztta/roll_area: Roll Area|http://help.sap.com/saphelp_nw04/helpdata/en/02/96274f538111d1891b0000e8322f96/content.htm]
[SAP HELP Library - Standard Reference for SAP Roll Area|http://help.sap.com/saphelp_nw04/helpdata/en/28/d1d3f6bcb411d188b30000e83539c3/content.htm]
[SAP HELP Library - Standard Reference for Event Dispatcher|http://help.sap.com/saphelp_nw04s/helpdata/en/10/d57142d868f433e10000000a114b1d/frameset.htm]
[SAP HELP Library - Standard Reference for Special Events of the Event Dispatcher|http://help.sap.com/saphelp_nw04s/helpdata/en/1c/0f754252404559e10000000a114b1d/content.htm]
[SAP HELP Library - Standard Reference for Work Processes - ABAP - Processor|http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb2e7d358411d1829f0000e829fbfe/frameset.htm]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Explain about the Models...
Hi friends...
Can anybody explain about the models in webdynpro, and also explain about its types as well as its functions....
Thanks in advance...
GSHi SatishKumar,
As WD is based on the MVC paradigm models represents the backend of the this
architecture.
Now the Models can be categorized in 2 ways:
1. Adaptive and Deprecated.
2. RFC,Webservice,Bean.
Now the Adaptive models follow CMI(Common model Interface) specs.
For information on the CMI look into the documents on the SAP Netweaver Documention.
Also,the following document would give you a good idea of the same.
<a href="http://help.sap.com/javadocs/NW04S/current/cm/index.html">CMI documentation</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">How to use CMI</a>.
This will give you sufficient information to start with the CMI.
Now for the other classification which's pretty straight:
1.WebService Model: Is like any other webservice uses SOAP request response.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e">Adaptive Web Service Model</a>
2.RFC: Is a function module made in ABAP uses JCO for interacting internally.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de">Adaptive RFC Models</a>
3.Bean Model: Java Bean Classed should follow the Java Bean specification.
<a href="/people/anilkumar.vippagunta2/blog/2005/09/02/java-bean-model-importer-in-web-dynpro Bean Model Importer in Web Dynpro</a>
Regards
Amit -
Explain about the cost, bytes & cardinality calculation in oracle9i
Hi All,
Any one can explain about the cost, bytes & cardinality calculation in oracle 9i.
Actually I want to understand the behaviour of execution plan taken by oracle.
Here is one example.
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=51 Card=1 Bytes=424)
1 0 SORT (GROUP BY) (Cost=51 Card=1 Bytes=424)
2 1 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M'
3 2 NESTED LOOPS (Cost=43 Card=1 Bytes=424)
4 3 NESTED LOOPS (Cost=43 Card=1 Bytes=350)
5 4 NESTED LOOPS (Cost=43 Card=1 Bytes=296)
6 5 NESTED LOOPS (Cost=40 Card=1 Bytes=242)
7 6 NESTED LOOPS (Cost=15 Card=1 Bytes=193)
8 7 NESTED LOOPS (Cost=13 Card=1 Bytes=164)
9 8 NESTED LOOPS (Cost=10 Card=1 Bytes=138)
10 9 NESTED LOOPS (Cost=9 Card=1 Bytes=125)
11 10 NESTED LOOPS (Cost=7 Card=1 Bytes=57)
12 11 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_BRANCH_M' (Cost=2 Card=1 Bytes=20)
13 12 INDEX (UNIQUE SCAN) OF 'NBFC_BRANCH_M_PK' (UNIQUE) (Cost=1 Card=1)
14 11 TABLE ACCESS (BY INDEX ROWID) OF 'CS_ALLOCATION_HDR' (Cost=5 Card=1 Bytes=37)
15 14 INDEX (RANGE SCAN) OF 'CS_ALLOCATION_QUEING' (NON-UNIQUE) (Cost=2 Card=2)
16 10 TABLE ACCESS (BY INDEX ROWID) OF 'LEA_AGREEMENT_DTL' (Cost=2 Card=1 Bytes=68)
17 16 INDEX (UNIQUE SCAN) OF 'LEA_AGREEMENT_DTL_UQ' (UNIQUE) (Cost=1 Card=1)
18 9 INDEX (UNIQUE SCAN) OF 'SYS_C0016578' (UNIQUE) (Cost=1 Card=1 Bytes=13)
19 8 TABLE ACCESS (BY INDEX ROWID) OF 'LEA_ASSET_M' (Cost=3 Card=1 Bytes=26)
20 19 INDEX (RANGE SCAN) OF 'LEA_ASSET_M_CDX1'(NON-UNIQUE) (Cost=2 Card=1)
21 7 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_CUSTOMER_M' (Cost=2 Card=1 Bytes=29)
22 21 INDEX (UNIQUE SCAN) OF 'NBFC_CUSTOMER_M_PK' (UNIQUE) (Cost=1 Card=1)
23 6 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_CHEQUE_DTL' (Cost=25 Card=1 Bytes=49)
24 23 INDEX (RANGE SCAN) OF 'NBFC_CHEQUE_DTL_IDX1'(NON-UNIQUE) (Cost=3 Card=23)
25 5 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M' (Cost=3 Card=1 Bytes=54)
26 25 INDEX (RANGE SCAN) OF 'UK_BPID_BPTYPE_ADDTYPE'(NON-UNIQUE) (Cost=2 Card=1)
27 4 TABLE ACCESS (BY INDEX ROWID) OF 'NBFC_ADDRESS_M'
28 27 INDEX (RANGE SCAN) OF 'NBFC_ADDRESS_M_CDX1' (NON-UNIQUE) (Cost=2 Card=2)
29 3 INDEX (RANGE SCAN) OF 'NBFC_ADDRESS_M_CDX1' (NON-UNIQUE) (Cost=2 Card=2)
Statistics
1 recursive calls
0 db block gets
117 consistent gets
108 physical reads
0 redo size
2181 bytes sent via SQL*Net to client
1185 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
0 rows processed
Actully I don't know how to post the thread in proper format so example is not formatted.
Thanx.. RatanCardinality is the number of rows.
Cost -- think that is relative.
Bytes -- the amount of data?
Tom Kyte has a really nice explanation of this in Effective Oracle by Design -- but I left it at work. -
Explain about xml schema with example
Hi,
Kindly anybody explain about xml schema with example?
With Regards,
L.rajeshMaybe this is what you are looking for ??? If not give us more info...
Re: How it work? -
Explain about Roll Out Project
hi
Please explain about roll out project
thanks
ganeshHi,
Roll -out Project:
Extending the business functionality from corporate office to its branch office. Example: You have main office in USA and you implemented SAP. Also you have branch in India and want to implement in India. When implementing SAP in India office( having same company in corporate level and assigning a company code for India to the same company), you can say it's a roll out project.
SAP Upgrade:
SAP Upgrade is nothing but upgrading the software with a superior version which has got more advantages when compared to the earlier version. Consultants are to go through transactions SPAU/SPDD to compare the old and new version of the change and finally need to activate the relevant one. Some times might need to work on SAP notes.
Implementation Project:
SAP Implementation is the whole of processes that defines a complete method to
implement SAP software in an organization from Legacy System. It is based on best practices and case studies from various sources and presents a collection of processes and products that make up a complete implementation method to allow any organization to plan ,redesign and execute the implementation of SAP (ERP) software. The SAP implementation process is made up out of Five main phases, i.e. the project preparation where a vision of the future-state of the SAP solution is being created, a sizing and blueprinting phase where the solution stack is created and training is being performed, a functional development phase and finally a final preparation phase, when the last tests are being performed before the actual go live & then support.
http://www.sap-img.com/sap-implementation.htm
http://www.erpgenie.com/basis/upgrade.htm
http://help.sap.com/saphelp_sm32/helpdata/en/bc/b3fd40ce3df123e10000000a155106/content.htm
http://www.open.hr/hiz/hrusko/RolloutPresCASE3.pps#268,15,Project Assumption
http://www.slideshare.net/srinatha/sap-implementation-life-cycle-complete-process/
Regards,
Kiran -
Explain about Data Types INT1, INT2, INT3, INT4 & NUMC
could anyone explain about the data types and give examples.
INT1: 1-byte integer between 0 and 255. The length is set to 3 places for this data type.
INT2: 2-byte integer between -32767 and 32767. Fields of this type should only be used for length fields. These long fields are positioned immediately in front of a long field (type LCHR, LRAW). With INSERT or UPDATE on the long field, the database interface enters the length which was actually used in the length field. The length is set to 5 places for this data type.
INT4: 4-byte integer between -2147483647 bis 2147483647. The length is set to 10 places for this data type.
NUMC: Long character field in which only numbers can be entered. The length of this field is limited to a maximum of 255 places.
Check this:
http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21f2e5446011d189700000e8322d00/frameset.htm
Thanks...
Shambhu -
Explain about transparent mode, single mode, multiple context mode
You can explain about the differents of transparent mode, single mode, multiple context mode in ASA 5500? Thank you very much.
Great question. Hope the below helps:
Transparent Mode: In this mode, the ASA will filter traffic without requiring L3 on the ASA. This means that in your config you will not put IPs on the interfaces to be used for traffic filtering. Thus, filtering is transparent to the traffic as the traffic isn't directly routed to the firewall. Think of it like you have a server plugged into a switch. In transparent mode, you place the ASA between the server and the switch and no configuration change is required to the server. In routed mode, you place the ASA in the same physical location between the server and switch, but have to change the server to use the ASA as a default gateway.
Single Mode: Default mode of an ASA. The ASA acts as a single firewall and all interfaces are provisioned to be managed through a single firewall configuration.
Multiple Context Mode: The ASA is split into multiple virtual configurations. With the ASA now virtualized, you provision the physical interfaces on the ASA to the virtual firewall configured. Each context has it's own configuration seperate from the rest of the firewall. Multi-context is meant for enterprises to invest in a single piece of hardware and scale it for use as multiple security devices.
Hope this helps. Let me know if you have anymore questions!
-Mike
http://cs-mars.blogspot.com -
Explain about high water mark and low watermark
explain about high water mark and low watermark?
biju2012 wrote:
Here are a few links..
http://www.orafaq.com/tuningguide/
Look at Analysing problem SQL > Data Storage Problems > High Water Mark
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:575223085419
I checked both those links, and neither says anything about a "low water mark". One link has a copyright notice of 2003, the other starts with a question about 8.1.6.
Given the nature of the question I think we should be allowed to guess that the OP is probably thinking about the "low high water mark" and "high high water mark" that applies to segments using ASSM (automatic segment space management).
Under ASSM, Oracle doesn't format blocks for use in absolute order, it will pick batches of blocks (typically 16 - unless that's changed fairly recently) in the most recently allocated extent. This means that you can end up with some UNFORMATTED blocks near the start of the extent with some FORMATTED blocks later in the extent.
The "low high watermark" is the last block below which there are no UNFORMATTED blocks; the "high high watermark" is the block above which there are no FORMATTED blocks. Looking at it another way - between the low and high high watermarks you may find both formatted and unformatted blocks, but this condition doesn't exist anywhere else in the segment.
Regards
Jonathan Lewis -
Pl explain about Attachments in Workflow
Friends,
can anybody explains about the concept of attachments in work flow what is sofm object why should I use this.Hi,
I had the same problem in the last days and finally I got a quite simple solution:
I had a look at the FM SWL_SOFM_CREATE_WITH_TABLE an noticed that it calls another FM (SO_DOCUMENT_INSERT_API1) which has a tables parameter for HEX data and is actually able to create a SOFM object from HEX data.
I simply copied SWL_SOFM_CREATE_WITH_TABLE as a customer FM and applied a few changes to make it accept HEX data:
First I added a new table parameter in the interface which gets the HEX data from the calling application (uploaded data using BIN format):
OBJECT_CONTENT_HEX LIKE SOLIX
Here is the code of the FM (I marked all additional and changed lines with a comment):
function z_test_sofm_create_with_table .
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(NOTE_TITLE) LIKE SODOCCHGI1-OBJ_DESCR OPTIONAL
*" VALUE(DOCUMENT_TYPE) LIKE SOODK-OBJTP DEFAULT SPACE
*" EXPORTING
*" VALUE(SOFM_KEY) LIKE SWOTOBJID-OBJKEY
*" TABLES
*" NOTE_TEXT STRUCTURE SOLISTI1 OPTIONAL
*" OBJECT_CONTENT_HEX STRUCTURE SOLIX OPTIONAL
*" EXCEPTIONS
*" ERROR_SOFM_CREATION
data: region like sofd-folrg.
data: folder_id like soodk.
data: l_folder_id like soobjinfi1-object_id.
data: document_data like sodocchgi1.
data: document_info like sofolenti1.
data: object_content like solisti1 occurs 0 with header line.
data: lines like sy-tabix.
*- set default
if document_type is initial.
document_type = 'RAW'.
endif.
*- create office object
*-- get dark folder
region = 'B'.
call function 'SO_FOLDER_ROOT_ID_GET'
exporting
region = region
importing
folder_id = folder_id
exceptions
communication_failure = 1
owner_not_exist = 2
system_failure = 3
x_error = 4
others = 5.
if sy-subrc ne 0.
message e696(wl) "<== Add message class
raising error_sofm_creation.
endif.
*- get description
if note_title is initial.
read table note_text index 1.
note_title = note_text.
endif.
*-- create office document
document_data-obj_name = 'ATTACHMENT'.
document_data-obj_descr = note_title.
document_data-obj_langu = sy-langu.
object_content[] = note_text[].
describe table object_content lines lines.
document_data-doc_size = ( lines - 1 ) * 255 + strlen( object_content ).
if object_content[] is initial. "<== insert
describe table object_content_hex lines lines. "<== insert
document_data-doc_size = lines * 255. "<== insert
endif. "<== insert
l_folder_id = folder_id.
call function 'SO_DOCUMENT_INSERT_API1'
exporting
folder_id = l_folder_id
document_data = document_data
document_type = document_type
importing
document_info = document_info
tables
object_content = object_content
contents_hex = object_content_hex " <== Insert line
exceptions
folder_not_exist = 1
document_type_not_exist = 2
operation_no_authorization = 3
parameter_error = 4
x_error = 5
enqueue_error = 6
others = 7.
if sy-subrc ne 0.
message e696(wl) "<== Add message class
raising error_sofm_creation.
endif.
*- set export parameter
sofm_key = document_info-doc_id.
endfunction.
The returned SOFM key I added to a container element. The element refers to event parameter of type OBJ_RECORD in my ABAP OO Class. In data binding from event to workflow I mapped the element to the AttachObjects parameter (using mode APPEND) in the workflow container.
Using this function I was able to raise an event by using Method cl_swf_evt_event=>raise
that invoked a workitem containing an Excel-File i had uploaded as binary file and passed to the FM Z_TEST_SOFM_CREATE_WITH_TABLE as document type 'XLS'.
In the woritem preview when clicking on the attachment the file was opened directly in Excel.
Actually the new lines for calculation the file size is not yet quite correct. At first glance it does not seem to cause any trouble, but I will stll check that. In FM SO_OBJECT_INSERT the size is again checked and calculated if initial, so leaving size initial might also be an option.
I hope this helps.
Greetings,
Michael Gulitz
Maybe you are looking for
-
Problem to create animated gif using transparent frames
Hi, everyone: My name is Edison, I am playing with Gif89Encoder utility classes to make an animated gif which is a requirement for my course work. I got some problem about the transparent frames. I used the png image as the frame to create the animat
-
Table maintenance view -user exit
Hello, as you all know, there is a program generated behind the table maintenance view. I want to add certain validation on the values entered in the table maintenance. I know that modifying the program is not the best practice. Is there any user exi
-
Issue with Apps adapter for Create_Cust_Account API
Hi , I need to invoke this package from apps adapter in BPEL(10.1.3.5). Create Customer: HZ_CUST_ACCOUNT_V2PUB. create_cust_account. This is a Over loaded procedure. Look for the Procedure with these Parameters. PROCEDURE create_cust_account ( p_init
-
File permission issue when indexing from JSP
HI I have a class that I intend to use both in batch file and in JSP that will build a search index (Lucene) somwhere in the file system outside the web root. The class works great when called from the batch script but when I try to use it in the JSP
-
High Data Volume Design request
Hi All, I have a request from my business partners for a high volume data transmission from SAP BI system to SAP ECC system. volume of data approx 4 million. what is the best design approach recommendation for this kind of load via SAP PI? what need