2007 May 10 11:38 AM
Dear ABAPers,
I am new to start module pool...I was assigned an object on module pool....
As you all know that there is no possibility that we can place screens in the query..........I can send them in mail, can anyone show the process of doing it?
Awaiting for ur reply........
Dear ABAPers,
I am new to start module pool...I was assigned an object on module pool....
As you all know that there is no possibility that we can place screens in the query..........I can send them in mail, can anyone show the process of doing it?
Awaiting for ur reply........
2007 May 10 11:40 AM
hi
just send the requirement given to u....
based on that we can help u
2007 May 10 11:56 AM
Dear All,
pls let me know ur user id's so that I can send in the requirement clearly..............
2007 May 10 11:43 AM
Hi
Check the below link:
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
You can also check the transaction ABAPDOCU which gives you lot of sample programs.
Also you can see the below examples...
Go to se38 and give demodynpro and press F4.
YOu will get a list of demo module pool programs.
One more T-Code is ABAPDOCU.
YOu can find more examples there.
See the prgrams:
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
Reward points if useful
Regards
Anji
2007 May 10 12:43 PM
Hi,
here is the requirement clearly...............but the screen shots are missing............I can send them to ur mail id if necessary...........
Please help me on this to code:
1.1 Abstract
-
Combine input collection and function spread across 3 SAP functions (ZDV1, ZDI1, ZDCF) into a new, single SAP transaction. The new transaction will perform the 3 functions pulling data from the indicated input sources, update tables, etc and provide a confirmation of completion. In the screens below, data sources have been identified.
2.1 Assumptions
-
Sales Order is Created
Delivery is Created
Transfer Order Picked and Processed
That any coded Transaction copied from Transactions today to a new one, will update all tables and use any bridges in place today.
2.2 Requirements Design Flow
-
Transfer Order (T.O.) --> ZDV1 --> ZDI1 --> ZDPF
2.3 Requirements Detail
Create new trx ZVCM and programs ZRMVCM01, 02 & 03 consisting of the trxs ZDV1(Ship Acknowledment), ZDI1(Packing Delivery) and ZDPF(Pack Complete) with the following:
1) Front End Screen- New Screen with New Transaction-
Transfer Order No.-____________input by User to run though Auto Delivery Program-
FIELD( LQUA-BTANR )
2)Transaction will need to pull information listed below with table field info. and hold it for later.
Plant -__________( Pull from Transfer Order) FIELD( LQUA-WERKS )
Warehouse No. -___________( Pull from Transfer Order) FIELD( LQUA-LGNUM )
Delivery Number- __________( It will show in the destination storage bin of the Transfer Order) FIELD( LIKP-VBELN )
Material Number --__________( Pull from Transfer Order) FIELD( LQUA-MATNR )
Qty -______________( Pull from Transfer Order) FIELD( LQUA-LQNUM )
Serial Numbers that were processs against the Transfer Order (T/O) in picking function. FIELD( Z9SNT-SRLNR )
Country of Origin - (COO) -________(from stock inventory record or Transfer Order (T/O) FIELD( ZCOO- ZCOO)
3) When Programs Complete should give message stating that it is Complete.
Program should Simulate Transaction Using New Transaction - Like ZDV1 Ship Acknowledgement with all the same function,
First Screen-
Enter To number, Warehouse and Plant
Execute
Transfer Order Number --( __________________) Pull from New Screen FIELD( LQUA-BTANR )
Warehouse No.---____ Pull from T/O FIELD( LQUA-LGNUM )
Plant -_____________ Pull from T/O FIELD( LQUA-WERKS )
Program to simulate clicking on Enter or Execute Button.
Message will be Transfer Order XXXXXXX Status Complete. In the back ground it has update different tables with information neeeded.
Program to simulate back out to main screen
New Transaction of ZDI1 function (Must Copy out)with all the same function,but for auto delivery.
First Screen
Delivery Number will be pulled from the T/O connected
Pack by Customer P/O -
N (Default)
Auto P/O Assignment -
Y (Default)
Single Shipping Unit----
Y (Default)
COO for Batch -
Y (Default)
Remainder Blank
Printer Default to -
LP01 (Default)
System will enter automatically
Second Screen
Click on 'Enter'
Material number - ___________ Should be able to pull from T/O FIELD( LQUA-MATNR )
Qty and COO -Country of Orgin- __________ Pull from First Screen
If serialized it will process one at a time and the Qty will be one. But the serial number will be place in the field and then system will simulated the enter key for each one.
System will simulate clicking on the Create Shipping UnitSingles Button when complete Qty is filled
Third , Fourth and Fith Screen
The following screen appears to allow Shipping Unit creation
Click on 'Create Shipping Unit
Shipping Material --_000006038888 (Default)
Override system caluated weight--N (Default)
System should simulated clicking on the Create Ship.Unit- Button
After system should have complete creating the unit. Message will be on screen
All information should be sent to the correct table like transaction ZDI1 Transaction.
This information is need for the next transaction.
Program should Simulate Transaction Using New Transaction - Like ZDPF function (Program-ZRVMZDPF) with all the same function, but for auto Pack Complete
First Screen
Plant ---1204 -__________ FIELD( LQUA-WERKS )
Storage Location --________ FIELD( LQUA-LGORT )
Label Printer -
LP01 -- Default
World Trade label Copies--- 1 -Default
Domestic Labels----
1 -Default
Second Screen
System should be able to do a pull the Delivery from the ZORDERSTAT Table Field VBELN.
After finding it should be able to put X in the front box on line
System should simulate clicking on the Process Deliveries Button -at the top of screen
Note - this should fill the different tables just like the ZDCF function.
These tables have information in them that RPDS will pull to ship.
Note: The BDC code already exists in trx ZVHD and programs ZRMVHD01, 02 & 03 to execute ZDV1, ZDI1 & ZDPF.
2007 May 15 5:34 AM
2007 May 10 11:44 AM
hi,
Here are links for sample code for understanding module pool programming ,
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
You can also check the transaction ABAPDOCU which gives you lot of sample programs.
2007 May 10 11:44 AM
Hi
Have the look on the below links:
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
Regards,
Sreeram
2007 May 10 11:46 AM
hi ,
You will see many sample module pool programs in transaction ABAPDOCU .
Regards,
Ranjita
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |