LSMW and PopUp screens
Hello gurus.
I'm using MM01 and the batch recording method to upload legacy data.
My first recording was to create Basic 1 and Basic 2 data. That worked as expected.
In my second recording, I want to create
General Plant Data / Storage 1 and General Plant Data / Storage 2
I enter the appropriate plant and storage location in the organizational data
When the PopUp to select views comes up, I select Gen Plant Stor 1 and 2. The remainder of the MM01 recording works as expected.
When I go to use the recording, it always selects the first two elements of the popup list. It should be selecting the 18th and 19th values.
The recording produces this stub:
SAPLMGMM 0070
BDC_CURSOR MSICHTAUSW-DYTXT(02)
BDC_OKCODE =SCHL
MSICHTAUSW-KZSEL(01) X KZEL01 kzel01
MSICHTAUSW-KZSEL(02) X KZEL02 kzel02
How can I make it use KZSEL(18) and KZSEL(19).
Just try like this
In the recording replace
MSICHTAUSW-KZSEL(01) X KZEL01 kzel01
MSICHTAUSW-KZSEL(18) X KZEL18 kzel18
MSICHTAUSW-KZSEL(19) X KZEL19 kzel19
or the Storage1 and Storage2 serial number in the Pop up screen,
MSICHTAUSW-KZSEL(01) X KZEL01 kzel01, is mandatory so keep that.
Similar Messages
-
On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password. How do I get the keyboard to appear??
On your iPad, delete the existing account then sign back in with the new ID and password.
-
I am working with Acrobat XI and when I try to add text to a geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?
I figured it out...needed to use comment tool set, not the editing tool set.
-
My screen freezes and popup message says I need to do a shutdown and then restart. It does it sometimes 2 times a day. Im new to apple and need help.
Bad or incompatible RAM is, more often then not, the cause of most Kernel Panics. It could also just need to be reset.
Here's the most used site for Resolving Kernel Panics. Please do all the steps in order, even if you don't think you need to do a certain step.
Here is a great MacFixIt article.
Good Luck!
DALE -
Popup screen with two check box and a text area for the user to enter value
hi,
i have a requirement when a button is clicked a popup screen should appear with two check box and a text box where the user can enter a value.
is there any function module which has that functionalityHello,
You can create a new screen and select the screen type as <b>model dialog box</b>.This will give you a<b> pop-up screen</b> and you can call this model dialog box screen in the PAI of the screen where the button is present.(At user-command).
<b>case ok_code.
when 'BUTTON'.
call screen 200 starting at 10 10.</b>
You can design the PBO of this pop-up screen as per your needs.
Regards,
Beejal
**Reward if this helps. -
Hi all,
Can anybody send me the document for LSMW and SCAT.
I need it urgently.
My email id is [email protected]
Thanks in advance.
Regards,
MHP
Edited by: MHP on Jan 10, 2008 9:28 AMHai.
check this.
Step-by-Step Guide for using BAPI in LSMW
Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object.
4. Now select Settings à IDoc Inbound Processing
5. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 Maintain Source Structures and click Execute.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on Create again to create the child structure. Following popup appears:
Select Lower Level and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step Assign Files and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed
It is given in screen shot.
http://www.****************
BDC is the way to transfer data by writing a batch input program which can use either session or call transaction method.
LSMW used to transfer data without/less code.
What type of data we transfer using LSMW?
LSMW is best suited for transferring master data.
Actually BDC and LSMW are not comparable at all.
for example LSMW itself can use BDC as a way of mass data transfer.
BDC is a mass data transfer technique via screen logic of existing SAP Data entry transactions. It behaves as if you are manually making thousand of entires into sap system as a background job. And that is probably the reason why BAPI's are preffered over BDC's.
On the other hand LSMW is a tool to facilitate DATA migration from other legacy systems ... It contains step by step procedure for data migration.
Like Managing Data Migration Projects , Creating Source Structures , Mapping Source structures wid Target structures , etc etc
LSMW internally might well be using the following techniqes for data transfer..
1. IDOX
2. Direct Input / BDC
4. BAPI's
LSMW is an encapsulated data transfer tool. It can provide the same functionality as BDC infact much more but when coming to techinical perspective most the parameters are encapulated. To listout some of the differences :
LSMW is basicaly designed for a fuctional consultant who do not do much coding but need to explore the fuctionality while BDC is designed for a technical consultant.
LSMW offers different techinque for migrating data: Direct input ,BAPI,Idoc,Batch input recording. While bdc basically uses recording.
LSMW mapping is done by SAP while in BDC we have to do it explicitly .
LSMW is basically for standard SAP application while bdc basically for customized application.
Coding can be done flexibly in BDC when compared to LSMW
see this and do accordingly
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
Go through the steps
Hi please go through the following steps for IDOC method
Step 1. Run the transaction ( /nlsmw ) you will reach to the screen
Here you have to specify
Project : 060_BUS_TRANS
Subproject : SERVICE_TICKET
Object : SRV_TICKET_ZSVT
click on the execute button .you will reach the screen :
The screen shows the 15 steps to Run the lsmw
Step 2) select the first step ( Maintain object attributes) and click the execute button.After clicking on the execute button you will reach at. the screen
Here you have to specify ( MEssage type and basic type)
click on the BACK button
Step 3) select the 2nd step ( Maintain source structures) and click the execute button
Here you have to specify the source structures.
Step 4) Select the 3rd step ( Maintain source fields) and click on the execute button :
Here you have to specify the fields present in the source structure
Step 5) select the 4th step ( Maintain structure relationship ) and click on the execute button :
Here you have to specify relationship between source and target structures
Step 6) select the 5th step ( Maintain field mapping ) and click on the exécute button :
Here you have to map the fields between source and target structure. Also you have to apply conversion rules here if any
STEP 7) select the 6th step and click on the exécute button
Here you can define any fixed value or user define routines
Step 8) select the 7th step ( Specify files) and click on the exécute button :
At This screen we have to specify the files for This we should be in change mode .So please click on the button shown in the above screen. After clicking on This button you will be in change mode and will be able to specify the files :
Step 9) select the 8th step ( Assign files) and click on the exécute button
For assigning files yoy should be in change mode do the same thing click on the button as shown in the above screen :
Then assign the files to different structures.
Step 10 ) select the 9th step ( Read Data) and click on the exécute button :
After clicking on the exécute button you will reach to the screen
Again click on the exécute button . After clicking on the exécute button you will reach to the next screen
Here you will see data is read.
Step 11) select the 10th step ( Display read data) and click on the exécute button :
Here you can see your test data present in test files assign to source sturcture
Step 12 ) select the 11th step ( Convert data) and click on the exécute button :
After clicking on the exécute button you will reach to the screen
Click on the exécute button as shown on the : After click on the exécute button you will reach to the next screen
Data is converted
Step 12th ( Display converted data is same as Display read data )
Step 13 ) select the 13th step ( Start idoc generation) and click on the exécute
button :
At this step Idoc is generated using converted data
Step 14) select the 14th step ( Start idoc processing ) and click on the exécute button :
After clicking on the exécute button you will reach to the screen :
And then click on the exécute button : After clicking on the exécute button you will reach to the final processive screen
If data is processed correctly you will see ( 53 Status message with green sign)
Check the following link:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
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
LSMW with TABLE CONTROL
Refer the links -
just refer to the link below
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
1. Maintain Attributes:
Here you have to choose the second option and you can do the recording how this should work. Then assign the same to the Batch Input Recording name.
2. Maintain Source structure:
Create a structure name
3. Maintain Source field:
In this you have to create a structure same as that of the input file
eg: name
age
4. Maintain structure relations:
This will link the structure to the input file.
5. Maintain field mapping and conversion rules:
Here is the place where you can do coding, depending upon the code you have written or assignment you have done the values will get picked up from the file and get processed.
6. Maintain field mapping and conversion rules:
If you have any fixed values you can define here.
7. Specify files:
Specify the input file path and type.
8. Assign files:
This will assign ur file to the Input file
9. Read Data:
This will read ur data from teh file.
10. Dispaly Read Data:
You can see the uploaded data
11. Convert Data
This will convert the data to the corresponding format for processing
12. Display Converted data:
13. Create batch input session
Here this will create a batch input session for processing
14. Run Batch Input session:
By clicking on the session and process the same you can do teh needfu.
regards
sowjanya.b. -
pls tell the differnce b'w lsmw and bdc . when we use bdc and when we use lsmw .for uploading master data (ex: cusomer data ) in tosap which method s u prrefer out of thhse 4
method scall transaction
session input
lsmw bapi whic one is the better one
when use session method and when we use call tran sac
which method is better for bacjground processing call tran s or session method . pls tell
the reason
answres as soon as possibleHi,
LSMW IS JUST A TOOL TO GET THE DATA FROM A LEGACY SYSTEM.
IN BDC WE HAVE 2 WRITE THE CODE AND CALL THE REQUIRED METHOD
THATS IT. IN FUNCTIONALITY PERSPECTIVE THERE IS NO
DIFFERENCE.
BDC is Batch Data Communication. It is basically a program
either generated by SAP after a recording or programmed by a
abaper.Its like running the transaction manually but all the
data is populated on the screens automatically.It is a
little complex when the screens contain table controls.
LSMW is legacy system migration workbench is a more user-
friendly tool thru which one can do the same as a BDC. One
just has to follow some 14 steps, click buttons and the data
is set to be uploaded ….LSMW offer you 4 ways to import data
into SAP, they are BDC, Direct Input, BAPI(BO), IDOC.
To spell out the differences in detail:
look at the below threads to know more
Diff between LSmw and Bdc
Diff. between LSMW & BDC
Regards
Sudheer -
Hi ,
I m creating a ALV report ,in that using set PF status i created push button , in alv output list if i click the push button pop up screen will come in that popup screen it displays the previous PF status, how to add my own PF status in that popup screen
thanksHi,
You must have created other screen for the pop up say suppose 9002.
then we need to write the code in 9002 PBO.
*& Module STATUS_9002 OUTPUT
* text
MODULE status_9002 OUTPUT.
SET PF-STATUS 'ZNOT3'.
SET TITLEBAR 'ZTNOT3'.
ENDMODULE. " STATUS_9002 OUTPUT
Here 'ZNOT3' is is the PF STATUS that ius made according to our need.
It is recommend that you copy standard status'STANDARD' from function group SALV and modify it accordingly. ALV standard function codes always start with '&'.
Hope this will help you.
Thanks,
Dhanashri. -
Popup screen not working after upgrade to APEX 3.0
Hi,
I have upgraded my APEX installation from version 1.6 to version 3. My application has some popup screens that are displayed when a user presses a button. These popups have now stop working and when you press them, the user is presented with the login page.
I suspect this is because I am not passing the SESSION value in the URL when the page is displayed. The following code is the javascript that is called from one of the buttons :-
function sa_popup2() {
var field_value = document.getElementById("f22@0").value;
if ( document.getElementById("f22@0").value != "" ) {
var enqNo = document.getElementById("P17_ENQUIRY_NO") ? document.getElementById("P17_ENQUIRY_NO").value : -1;
var enqLineNo = wwv_flow.f02[0].value;
var str=document.getElementById("P17_PROCESS_CHRG_INCL").value;
var outstring = str.replace(/%null%/,"");
windowAddress = 'f?p=200:228:::::P228_CUS_ID,P228_ENQ_STATUS,P228_PROCESSING_CHRG,P228_ENQUIRY_NO,P228_ENQUIRY_LINE_NO:'+document.getElementById("P17_CUS_ID").value+','+document.getElementById("P17_ENQ_STATUS").value+','+outstring + ',' + enqNo + ',' + enqLineNo ;
w = open(windowAddress,"winhelp","Scrollbars=1,resizable=1,width=500,height=350");
You can see from the above that when the windowaddress variable is set it does not include the session value. In APEX 1.6 when the popup is displayed the SESSION is automatically populated in the URL, but in APEX 3 it is not populating.
Is there a way I can get this to continue working without changing my javascript function. This approach has been used throughout my applications, and I do not want to have to change the code if I don't need to.
Rgds
PaulHi Paul,
Yes, as you suspect, it's the fact that you're not passing the session across. I would definitely recommend recoding to include the session. -
Add new field in the Create Support Message Popup Screen
Hi Experts,
I need to create Project Code Field in the standard popup screen Create Support Message
Suggest me any Badi or FM or Bapi or Enhancement to create a new field and update the field value to the Support Message created.
Please let me know if this is possible or not?
Thank You,
Sowjanya SreekrishnaDear Abhijit
Even after doing PGI, there are some fields which are in editable mode in delivery. For example, in VL02N, if you select "Goto --> Header --> Shipment, you can see fields like Bill of Lading are in editable mode.
If you specify what your requirement is, then probably, a better option can be given.
Thanks
G. Lakshmipathi -
Data is not saving in to DB from POPUP screen.
Hi,
I am opening a popup screen on button click and On the popup screen, I have added the VO as form with submit button.
On the popup fetchlistener, I calling a bean method to invoke the createInsert action as follows.
public String createSubs() {
System.out.println("Inside Action Event*********************");
try{
AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
BindingContainer bc = getBindings();
oracle.binding.OperationBinding opb = bc.getOperationBinding("Create");
opb.execute();
}catch(Exception e){
e.printStackTrace();
return "";
public BindingContainer getBindings() {
return BindingContext.getCurrent().getCurrentBindingsEntry();
When I am clicking on submit button in popup screen, data is appearing on the mainpage table but the same is not saving in the database. One more I have observed that doDML is not calling means SOP's are not comming from doDML method in the entity class.
Please do the needful, its an urgent issue to reslove.
Thanks in Advance,
user5802014HI,
Can you please specify that for your attributes CreatedBy and CreationDate , are you using automatic insert value from your entity or not? Or you are passing default values programatically in doDML() method.
I guess for every new row your are using User name for CreatedBy field and current date for CreationDate field,
Why don't you set these field at the time of creation of new row, Override Create() method in your entity bean and then you can set these fields to there default values. and now you should remove Mandatory property to unchecked for these fields in entity also.
like i'm doing here - I'm setting sequence number as default to field insertedLineNo
protected void create(AttributeList attributeList) {
SequenceImpl seq = new SequenceImpl("NUMBER_SEQ", getDBTransaction());
Number seqNum = seq.getSequenceNumber();
setInsertedLineNo(seqNum);
super.create(attributeList);
}Hope this will help you, and let me know if this helps you.
Fizzz... -
Call transaction in the popup screen
hi friends . ı want to call transaction in the popup screen.
what do ı do ?
thanks.to call a transaction in the popup screen
can u give me one scenerio
because
try this
create a program of type report
in that "call screen '100' starting 10 10 ending at 100 100.
and u click on this 100 and make the layout what ever u want
and just go to se93 create transaction for this report program
thats it
if it ok
then ur problem is solved
or else it is not solved -
ANNOYING MACKEEPER TABS AND POPUP ADS
Hi there,
I bought a new macbook air 2 weeks ago, all has been well and good (new to mac products, always for android, still am).
Safari has also been good, as well as chrome, but as of recently, this whole "MacKeeper", "Zeobit.com" **** is completely taking over my search engines etc, problems including:
- Clean up mac ads everywhere, as well as the typical "Get a new iPhone 5' rubbish
- When clicking on links, my top sites tab shows up as well as the typical "MacKeeper" download page in another. I can only open links by pressing command to open in new tabs, however my top sites tab opens as well as the Mackeeper download page, along with it's fling annoying ads
- Ads as well before relevant google search links, like "Pages related to...." With zeobit.com on every inch of my ******* screen
Note that:
- I HAVE NOT downloaded anything to do with mackeeper, so uninstalling programs etc is unnecessary information - purely mackeeper tab and popup annoyances
- I have TRIED to 'restart' safari and remove cache, nothing works
- I have done the whole system preferences, privacy, remove all website data (which this zeobit.com **** is listed), and I remove zeobit.com but it just goes back on the list when I go through this process again
- Yes I have 'block popup ads' ticked
Can someone give me a solution to removing these popups with anything to do with zeobit.com and fling mackeeper which doesn't require me to read a long page of information? I'm about to smash my screen in here.You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Library/LaunchAgents/com.vsearch.agent.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
Repeat with each of these lines:
/Library/LaunchDaemons/com.vsearch.daemon.plist
/Library/LaunchDaemons/com.vsearch.helper.plist
/Library/LaunchDaemons/Jack.plist
Restart the computer and empty the Trash. Then delete the following items in the same way:
/Library/Application Support/VSearch
/Library/PrivilegedHelperTools/Jack
/System/Library/Frameworks/VSearch.framework
Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
Differences between LSMW and BDC
Hi All
Please can you give me the few points about the differences between LSMW and BDC?
Awaiting for your Responce
PraveenHai Check with the following document
GOOD
THERE IS THREE TYPE OF METHOD IN BDC
BDC SESSION
CALL TRANSACTION
CALL DIALOG
What is BDC or batch input
The Batch Input is a SAP technic that allows automating the input in transactions. It lies on a BDC (Batch Data Commands) scenario.
BDC functions:
· BDC_OPEN_GROUP : Opens a session group
· BDC_CLOSE_GROUP : Closes a session
· BDC_INSERT : Insert a BDC scenario in the session
· The ABAP statement "CALL TRANSACTION" is also called to run directly a transaction from its BDC table.
It runs the program RSBDCSUB in order to launch automatically the session. The session management is done through the transaction code SM35.
The object itself is maintanable through the transaction SE24.
BDC methods:
Method
Description
Parameters
OPEN_SESSION
Opens a session
SUBRC (Return Code 0 OK)
SESSIONNAME (Session to be created)
CLOSE_SESSION
Closes a session
None
RESET_BDCDATA
Resets the BDC Internal Table...
None. Normally, for internal purpose
BDC_DYNPRO
Handles a new screen
PROGNAME (Name of the program)
DYNPRONR (Screen Number)
BDC_FIELD
Puts a value on the screen
FIELDNAME (Name of the field)
FIELDVALUE (Value to be passed)
CONSTRUCTOR
Constructor - Initializes NO_DATA
NODATA (No data character). The constructor is called automatically when the object is created.
RUN_SESSION
Launches a session with RSBDCBTC
None
CALL_TRANSACTION
Calls a transaction with the current BDC Data
MODE (Display Mode)
UPDATE (Update Mode)
TCODE (Transaction to be called)
BDC_INSERT
Inserts the BDC scenario in the session
TCODE (Transaction to be called)
BDC techniques used in programs:
1) Building a BDC table and calling a transaction,
2) Building a session and a set of BDC scenarios and keeping the session available in SM35,
3) Building a session and lauching the transaction right after closing the session.
BDC using Call Transaction
BDC using Call transaction involves calling an SAP transaction in back ground from within the ABAP
program. The process involves building an Internal BDC table containing the screen information needed to
execute the required transaction and then passing this to the Call transaction command (See code example).
The full procedure for creating a BDC program is as follows:
What is the difference between batch input and call transaction in BDC?
Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
BATINPUT/DIRECT INPUT
A: Batch-inputs can not be used to fill the "delivery due list" screen because it is not a dynpro. This is a standard SAP report. A SAP report (check with "System -> Status") may be called using SUBMIT sentence with the appropriate options . It is preferred to call a report than create a Batch-input program.
GO THROUGH THIS LINK
http://www.guidancetech.com/people/holland/sap/abap/zzsni001.htm
The LSM Workbench is an SAP R/3 based tool that supports the one-time or periodic transfer of data from non-SAP systems ("legacy systems") to SAP systems.
The LSM Workbench helps you to organize your data migration project and guides you through the process by using a clear sequence of steps.
The most common conversion rules are predefined. Reusable conversion rules assure consistent data conversion for different data objects.
LSMW vs DX Workbench
The LSM Workbench covers the following steps:
Read the legacy data from one or several files (e.g. spreadsheet tables, sequential files).
Convert the data from source format to target format.
Import the data using standard interfaces (Batch Input, Direct Input, BAPI, IDoc).
Experiences made in successful implementation projects have shown that using the LSM Workbench significantly contributes to accelerating data migration.
SAP provides this tool along with documentation to customers and partners free of charge.
Users of the LSM Workbench receive the usual support via SAP Net - R/3 Frontend (component BC-SRV-DX-LSM).
Releases:
Version 1.7.2 of the LSM Workbench ("LSMW 1.7.2") available
Attention : LSMW 1.7.2 requires an SAP R/3 system with SAP R/3 4.0 or SAP R/3 4.5.
Version 1.8.0 of the LSM Workbench (1.21mb) ("LSMW 1.8.0") available
Attention : LSMW 1.8.0 requires an SAP R/3 system with SAP R/3 4.6.
Version 3.0 of the LSM Workbench (1.89mb) ("LSMW 3.0") available for Web Application Server 6.10
Attention : LSMW 3.0 requires a SAP WAS 6.10. Functionality of version 1.7.2 and 3.0 are identical !
Version 4.0 of the LSM Workbench ("LSMW 4.0") integrated in Web Application Server 6.20
Attention : LSMW 4.0 is an integrated part of SAP WAS 6.20.
Thanks & regards
Sreenivasulu P
Message was edited by: Sreenivasulu Ponnadi -
Need help on POPUP screen in web ui
Hi Experts,
I have created popup screen in the eh_onsave method .Now it is triggering, in this popup it is displaying YES, NO and CANEL buttons. But i want to change the standard buttons descriptions. how to do ?
I have created custom buttons and displaying as ACCEPT, REJECT AND CHANGE on the popup screen. if I click any button on the popup is returning same event id, i have seen in debugging custo_btn .
below is my code.
ls_button-id = 'ACCEPT'.
ls_button-text = 'Accept'.
ls_button-on_click = 'ACCEPT'.
ls_button-on_select = 'ACCP'.
append ls_button to lt_buttons.
clear ls_button.
ls_button-id = 'REJECT'.
ls_button-text = 'Reject'.
ls_button-on_click = 'REJECT'.
append ls_button to lt_buttons.
clear ls_button.
ls_button-id = 'CHANGE'.
ls_button-text = 'Change'.
ls_button-on_click = 'CHANGE'.
append ls_button to lt_buttons.
clear ls_button.
call method comp_controller->window_manager->create_popup_2_confirm
exporting
iv_title = 'Vary Item Proposal'
iv_text = lv_text
iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_custom
iv_custombuttons = lt_buttons
receiving
rv_result = gv_confirm_popup.
gv_confirm_popup->set_on_close_event( iv_view = me
iv_event_name = 'CONFIRM_POPUP_CLOSED' ).
gv_confirm_popup->open( ).
ethod EH_ONCONFIRM_POPUP_CLOSED.
Added by wizard: Handler for event 'CONFIRM_POPUP_CLOSED'
INCLUDE: crm_object_types_con.
DATA: lv_answer TYPE string.
lv_answer = GV_confirm_popup->get_fired_outbound_plug( ).
CASE lv_answer. "Here i am getting the same id for any button.
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
WHEN OTHERS.
ENDCASE.
Please help me.
Thanks,
VenkyHi Venky
Try to Implement the below lines along with other lines while building the button, apart from that check ON_CLIENT_CLICK also (instead of on_click use the on_client_click)
ls_button-enabled = 'X'.
More over I checked your code in the CASE statement you are using the stanadrad constants like co_event_yes , but you are setting the event with other names pls check that also.
now your code will look like this
ls_button-id = 'ACCEPT'.
ls_button-text = 'Accept'.
ls_button-enabled = 'X'.
ls_button-on_client_click = 'ACCEPT'.
ls_button-on_select = 'ACCP'.
append ls_button to lt_buttons.
clear ls_button.
hope this helps.
Thanks & Regards
Raj
Edited by: bmsraj on Sep 21, 2011 7:06 PM
Maybe you are looking for
-
Mac Pro 3.1 Optical Drives not recognized.
My Mac Pro (2008 2 x 2.8 Quad Core) 3.1 running OS X 10.10.1 has always had 2 optical drives. The first an Apple Superdrive as shipped and a second optical dvd/cd drive. Both have worked for years, although in recent tears, the 2nd drive experienced
-
User issue-- "itunes has stopped working"
This week I have been unable to access iTunes, instead receiving the following error message: "iTunes has stopped working." I have reviewed earlier discussions, especially this recent one: http://discussions.apple.com/thread.jspa?threadID=1464059&tst
-
Most menu grayed out when using a Pages Newsletter template
I selected a newsletter template (Design newsletter) and I'm working on it to create my own newsletter. I've been able to do some changes, but when trying to do add objects to the master (I want to have a watermark in each page), or insert page numbe
-
Inheritance on Sales Offices and Sales Groups (PPOMA_CRM)
HI All We have replicated the Org Model from ECC to CRM using the report CRMC_R3_ORG_GENERATE. Under PPOMA_CRM upon selecting the Sales Org unit, we see that some of the attributes (Tupels and Distribution Channels) are assigned to the Sales Organiza
-
Lenovo (IDEAPAD/ESSENTIAL) service in Poland
Hello, I want to introduce a few facts about the IdeaPad service in Poland. I do not know how is in other countries, but in Poland are separate services for a series of IdeaPad / Essential and Thinkpad. This is what happens in the service of "A-NOVO"