Lsmw events
Hello evry body
would any body tell me what are events triggered in LSMW.
Hi,
1.BEGIN_OF_PROCESSING - Before the beginning of data processing
2.BEGIN_OF_TRANSACTION - Before the beginning of transaction data processing
3.__BEGIN_OF_RECORD__ Before applying the conversion rules for a source structure
4.END_OF_RECORD_ After applying the conversion rules for a source structure
5.__END_OF_TRANSACTION__After finishing transaction processing
6.END_OF_PROCESSING__ After finishing data processing
Regards
Sudheer
Similar Messages
-
wt events do we use in real time on LSMW, can anybody explain me which method is been used in LSMW like recording or direct method & events..
Hi Venn,
I don't know the solution. I just want to throw some light...
Please check the below link...
Skipping input line in LSMW
Thanks
Ramakrishna -
hi,
i was asked aboutthe events in LSMW, pls if any one know , pls let me know
thanks,
byeHi Saurabh,
Check out these:
Processing time Meaning Default setting
<b>__BEGIN_OF_PROCESSING__</b> Before the beginning of
data processing
(blank)
<b>__BEGIN_OF_TRANSACTION__</b> Before the beginning of
transaction data
processing
(blank)
<b>__BEGIN_OF_RECORD__</b> Before applying the
conversion rules for a
source structure
Initialize the structure <segment>
(Name of target structure)
Batch Input, Direct Input:
<segment> = init_<segment>.
BAPI, IDoc:
g_edidd_segnam = '...'.
g_edidd_segnum = '....'.
g_edidd_psgnum = '......'.
g_edidd_hlevel = '..'.
Clear <segment>.
<b>__END_OF_RECORD</b> After applying the
conversion rules for a
source structure
Transfer_record.
<b>__END_OF_TRANSACTION__</b> After finishing transaction
processing
Transfer_transaction.
<b>__END_OF_PROCESSING__</b> After finishing data
processing
(blank)
<b>transfer_record</b>. Transfers the current record (i.e. for the current target
structure) to the output buffer.
<b>transfer_this_record '...'.</b> Transfers a record of another target structure to the output
buffer. The name of the target structure has to be specified as
argument in single quotes.
<b>at_first_transfer_record.</b> Transfers the current record to the output buffer, if it is the first
transaction.
<b>on_change_transfer_record</b>. Transfers the current record to the output buffer, if it has
changed compared to the last record.
<b>transfer_transaction.</b> Writes the current transaction to an output file. All records of
Legacy System Migration Workbench
38
the output buffer are transferred to the output file.
<b>skip_record.</b> The current record is not transferred to the output buffer.
<b>skip_transaction</b>. The current transaction is not written to the output file.
Reward points if this Helps.
Manish -
What are the events triggered in lsmw?
what are the the events trigered in lsmw?
check this link for complete info in LSMW
How to mantaian the manditory ,optional and required fields in LSMW
Regards
Prabhu -
What are the events of lsmw?
what are the events of lsmw?
hi,
Check out these:
Processing time Meaning Default setting
__BEGIN_OF_PROCESSING__ Before the beginning of
data processing
(blank)
__BEGIN_OF_TRANSACTION__ Before the beginning of
transaction data
processing
(blank)
__BEGIN_OF_RECORD__ Before applying the
conversion rules for a
source structure
Initialize the structure <segment>
(Name of target structure)
Batch Input, Direct Input:
<segment> = init_<segment>.
BAPI, IDoc:
g_edidd_segnam = '...'.
g_edidd_segnum = '....'.
g_edidd_psgnum = '......'.
g_edidd_hlevel = '..'.
Clear <segment>.
__END_OF_RECORD After applying the
conversion rules for a
source structure
Transfer_record.
__END_OF_TRANSACTION__ After finishing transaction
processing
Transfer_transaction.
__END_OF_PROCESSING__ After finishing data
processing
(blank)
transfer_record. Transfers the current record (i.e. for the current target
structure) to the output buffer.
transfer_this_record '...'. Transfers a record of another target structure to the output
buffer. The name of the target structure has to be specified as
argument in single quotes.
at_first_transfer_record. Transfers the current record to the output buffer, if it is the first
transaction.
on_change_transfer_record. Transfers the current record to the output buffer, if it has
changed compared to the last record.
transfer_transaction. Writes the current transaction to an output file. All records of
Legacy System Migration Workbench
38
the output buffer are transferred to the output file.
skip_record. The current record is not transferred to the output buffer.
skip_transaction. The current transaction is not written to the output file. -
Regarding tables work area,events in reporting,LSMW
Hai to All,
1. Sequence of events in classical & interactive reporting.
2. Why call transaction does not support LSMW
(Legasy System Migration Workbench)
3. We have to provide tables work area in the declaration when select-options logic is used but it is not mandatory in parameters selection screen logic why?
4. what is the reason for maintaining <b>loop ... endloop</b> logic under PAI in the case of table control
please provide answers for these quections
regards,
suryanarayana k.Hi
1. Sequence of events in classical & interactive reporting.
Events in ABAP Programming
Classical Reporting:
INITIALIZATION
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN
START-OFSELECTION.
TOP-OF-PAGE
END-OF-PAGE
END-OF-SELECTION.
Events in Interactive Report
TOP-OF-PAGE DURING LINE-SELECTION
AT USER-COMMAND.
AT LINE-SELECTION
AT PF-FUNCTION KEY
2. Why call transaction does not support LSMW
(Legasy System Migration Workbench)
http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
for Long texts Upload
Please take a look at this..
http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
3. We have to provide tables work area in the declaration when select-options logic is used but it is not mandatory in parameters selection screen logic why?
When youd eclarae select-options by default it creates a selection table with 4 fields called SIGN,OPTIOn,LOW and HIGH fields
Paramters its' not like that
4. what is the reason for maintaining loop ... endloop logic under PAI in the case of table control
Table control means handling multiple records , so to process/handle them it is a must to use loop.endloop.
Reward points for useful Answers
Regards
Anji -
Extraction and loading of Training and Event Management data (0HR_PE_1)
hello,
I've got the following doubt:
before BI 7.0 release, extractor 0HR_PE_1 extracts event data (eventid, attendee id, calday,...) but if you load straight to cube 0PE_C01, as Calendar year/month needs a reference date (for example, event start date), you'll get total duration of event in hours or days refered to event star date.
So in a query filtered by month, you get total duration of an event that starts in the filtered month but it couldn`t end until few months later o year later, so you don´t get appropiate information.
Example:
Event calday Hours
10004377 20081120 500 but from event_attr event end date is 20090410.
In a query filtered by 200811 you get total duration time (500 hours when in 200811 event hours have been 20) or if you filter by any month of 2009 you don´t get information of duration of that event.
I had to create a copy of standar cube (without calday, only Calendar year/month, Calendar year in time dimension) and disaggrate data creating as many entries for an event as months lasts and adjust calculation of ratios duration of event (duration of event in each month/ total duration of event).
The question is: Is there any improvement or change on business content in BI 7.0 to treat Training and Event Management data? Has anybody had to deal with that?
Thank you very much.
IRBHi,
TEM data is stored in HRP tables.
You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
LSMW for tcode PP01 can be used to create these objects.
To create Business Events (E) you can create LSMW for PV10/PV11.
To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
tcode PV12 to firmly book events
tcode PV15 to follow up
Hope this helps.
Regards,
Shreyasi. -
Training and Event Management Data Load
Hello Team
Would appreciate if any of you can advice on how to load Training and Event management data. I think its stored in HRP tables.
I'm working on an upgrade assignment.
ThanksHi,
TEM data is stored in HRP tables.
You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
LSMW for tcode PP01 can be used to create these objects.
To create Business Events (E) you can create LSMW for PV10/PV11.
To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
tcode PV12 to firmly book events
tcode PV15 to follow up
Hope this helps.
Regards,
Shreyasi. -
Need manual to implement training and event management
Hi All
I'm going to implement Training and event management for my client.Plz help me if u've any kind of manual or any guidelines for me.
Thanks,
SKMHi Santosh,
Best way to check the guidelines is to see help.sap.com.
From my experience you need to follow the following steps:
1. Create busness event groups
2. Create business event types
3. Create resource types
4. Create resources
5. Create external instructors (if any)
6. Create companies (if any)
7. Create locations
8. Manage integration switches (SEMIN rows in T77S0 table)
For the master data creaton activities above, you can create LSMW to make it possible for mass data upload.
After your business catalog and all other master data is in place,
1. Plan business events - PSVP
2. Create business events wth/without resources - PSV2
3. Book attendees- PSV1
As recurring activities:
1. Firmly book the events.
2. Cancel events (if needed)
3. Follow-up events.
Regards,
Dilek -
Historically recording events - Training and event management
Hi,
What is meant by historically recording an event?
What is the difference if an event is followed up tcode PV15, and the small check box "Historically record business event" is checked or not checked?
I know it means that no changes can be made to the event once it has been followed up, but that happens even if hte checkbox is not ticked.
So what coule be the difference?
Thanks in advance!!
Regards,
ShreyasiHi ,
I am facing this issue in LSMW.
Is there a way to capture the below BDC code in the LSMW recording itself?
Tips,
PERFORM bdc_dynpro USING 'SAPLRHSV' '1001'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PLOG-PLVAR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CONF'.
PERFORM bdc_field USING 'PLOG-PLVAR'
'01'. " Current plan -
Getting Training and Event Management Data using IT0031
Scenerio:
One of the Employee Is Retired. Now we hire it again for the same role ( extending its period after posting it as retired).
So the good thing that we can use the IT0031 "Reference Personnel Numbers" to get the desired ITs and found that can get other cutomized ITs by checking in the "Copy Infotype" attribute of IT records.
Now this seems to be valid if we are in the same module
but waht if i want to get this magic "Referencing of ITs" done for the "Training and Event Managment" Data of the employee.
Is it Possible Automatically ... or have to go fro ABAP... (I will not prefer ABAP)...
I hope i have stated the problem clearly ...
Feedback ... need it ASAP ...Hi,
TEM data is stored in HRP tables.
You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
LSMW for tcode PP01 can be used to create these objects.
To create Business Events (E) you can create LSMW for PV10/PV11.
To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
tcode PV12 to firmly book events
tcode PV15 to follow up
Hope this helps.
Regards,
Shreyasi. -
Training and Event Management Business Events
Hi Experts,
I would like to know if there is any BAPI/ FM available to create a Business Event Under particular Busness Group and Type.
I have Some more things to have a clarification on
1. When we create Business Event in PV10, Where all the data is stored? is there any master table which holds the all values in that screen? or values are stored in separate tables? if they are in separate tables, may i now what are them and the associated infotypes also.
I debugged the Tcode to find out which FM?BAPI is getting Called while saving the data, but could not find the exact one
Please let me know the FM/BAPI to create a business Event
Thanks in AdvanceHi ,
I am facing this issue in LSMW.
Is there a way to capture the below BDC code in the LSMW recording itself?
Tips,
PERFORM bdc_dynpro USING 'SAPLRHSV' '1001'.
PERFORM bdc_field USING 'BDC_CURSOR'
'PLOG-PLVAR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=CONF'.
PERFORM bdc_field USING 'PLOG-PLVAR'
'01'. " Current plan -
Business Event Content.in TEM
Dear All,
When a Business Event is created in Training & Event Management module, we find that there is a
an option called " Further Information " to enter CONTENS of the Business Event. I would like to know the significance of the " CONTENTS " data entered here.
I would also like to know if we can call this data in the NOTIFICATIONS which will be sent to an Attendees.Is it possible? If yes what is the procedure to configure this scenario?
Regards
Jai Ramtry recording and uploading data via LSMW.
-
How to upload Training history in Training and event management .
Hi,
How to upload Training history in Training and event management through which transaction.plz reply at early.Hi,
You can create LSMWs to
1. create event PV10/PV11
2. Firmly book event PV12 (else can directly create firmly booked events)
3. Book attendee PV00
4. Follow up PV15 ( u can use n LSMW here provided all the emps get same level of proficiency after attendin n event. u wont be able to chnge proficiency level at the time of follow up usin LSMW)
Regards,
Shreyasi. -
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK .
Maybe you are looking for
-
Retrieve all values from project type when project type combo box is null
Hi, We are facing a tight situation here. We have a scenario where we have 2 filter options. 1) Department ID 2) Project type When department ID is selected all the department IDs should be populated in the combo box and the project type combo box sh
-
Hi Freinds, I want to color a particular row based on the condition in ALV report can any one tell me how to do it. Thanx and advance, Line
-
Is there a way to edit multiple photos at once?
I take a lot of pictures that I usually end up tagging (in the bottom corner). Sometimes it's over 100. Is there an easier way than opening them up one my one and inserting text on all of them?
-
The Thumbnail Images of Apps are All Messed up and Have been for days!
My Thumbnail images for the Apps are CONSTANTLY in the Wrong spot (Switched with another app or duplicated for the wrong app) or shows a Line Drawing of a CAMERA. Koi Fish is Half Koi Fish on Top and Camera Line Drawing on the Bottom. The ecurrency a
-
ARD asking for Serial Number after Upgrade to OSX 10.9 and ARD 3.7?
Hello All, I bought ARD 3.6.1 back in 2012 from MAC Store. Yesterday, I decided to upgrade to OSX Mavericks and the upgrade forced ARD to update to 3.7 from 3.6.1 and now ARD is asking for serial number... Never had a Serial Number since I bought it