Requirement Help ABAP
Hello All,
I am facing an issue here...as I am not able to understand the requirement..Please look at it and tell me what needs to be done .
please add and output to Program
printing all fields from the list
'0MATL_TYPE','0STOR_LOC','0SALESORG','0SHIP_TO', '0MATERIAL', 'YRDBMUG1', '0PLANT', '0COMP_CODE', '0SOLD_TO', '0DISTR_CHAN', '0DIVISION'
which are not in the result of the SQL:
SELECT b.fieldnm
FROM YRDBFH010 a, RSOSFIELDMAP b
where 1=1
and a.SOURCESYSTEM = b.LOGSYS
and a.datasource = b.oltpsource
and b.objvers = 'A'
and rtrim(a.sourcesystem)||rtrim(a.datasource) = :p_src_ds and a.psa_id like :p_psa_id
and b.iobjnm in ('0MATL_TYPE','0STOR_LOC','0SALESORG','0SHIP_TO', '0MATERIAL', 'YRDBMUG1', '0PLANT', '0COMP_CODE', '0SOLD_TO', '0DISTR_CHAN', '0DIVISION')
The block should be executed after line 382 and just write something like:
Warning: The following info objects could not be mapped:
0MATL_TYPE
YRDBMUG1
Please help me in telling the requirement and if some one completely understood this..please tell me what code needs to be inserted.
I will be very thankful to u..
Thanks,
Varun.
Might be U need to display a message
if any of the following field has no value or initial.
'0MATL_TYPE','0STOR_LOC','0SALESORG','0SHIP_TO', '0MATERIAL', 'YRDBMUG1', '0PLANT', '0COMP_CODE', '0SOLD_TO', '0DISTR_CHAN', '0DIVISION'
Similar Messages
-
Required Help and Documentations for following Scenarios. URGENT
Hi every one,
I require help and materials for following scenarios:
<b>1) RFC to IDOC
2) JDBC to RFC & IDOC
3) Mail to File
4) HTTP to RFC, JDBC & IDOC
5)WEB SERVICES to RFC & IDOC
6) IDOC to ABAP proxy
7) Java Proxy to JDBC</b>
my email id: <u>[email protected]</u>
urgent plzz help me...
Message was edited by:
satish cSatish,
I would suggest to go through sravyas weblogs where she has given all the links to all the scenarios:
/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
Also check this weblogs which they have explained with some scenarios:
Following are the links to weblogs which will help to develop the basic scenarios.
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
/people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
/people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
/people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
/people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
Regards,
---Satish -
Hi All....
Required help for one more query.
I have a table with data like this:
Cust_id Transaction_no
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
I wrote the following query :
select cust_id, ntile(3) over (order by cust_id) "Bucket" from trans_detls
The output is like this :
Cust_id Bucket
111 1
111 1
111 1
111 1
111 2
111 2
222 2
222 2
333 3
333 3
333 3
333 3
The problem is that I dont want the cust_id to overlap in buckets. That is one cust_id should be present in only one bucket.
Is this possible?
Thanks in advance.
AmeyaOr Something like..
SQL> select * from test;
ID NO
111 1
111 2
111 3
111 4
111 5
111 6
222 7
222 8
333 9
333 10
333 11
333 12
12 rows selected.
SQL> select id, ntile(3) over (order by rn) "Bucket"
2 from(
3 select id,row_number() over(partition by id order by no) rn
4 from test);
ID Bucket
111 1
222 1
333 1
111 1
222 2
333 2
111 2
333 2
111 3
333 3
111 3
111 3
12 rows selected. -
Required help on setting up blaze DS.
Hi,
Required help on setting up blaze DS.
I have Blex builder 3 and Blaze DS turnkey version.
Would any one help me in setting up the java application on Blaze DS.
Do i require to place Blaze DS and flex(client code) on same system.
As of now i have Blaze DS on my local system and Flex on one of test server.
Thanks in advance
Regards,
AnilThanks, one question, i have downloded Blaze DS turnkey version, could not srtart tomcat which is in Blaze DS.
Hence making use of tomcat installed on my local system which is works fine. In order to settup Blaze DS i copied required jar files from Blaze DS and flex configuration files(xml files) .
However Flex Builder3 is installed on one of test server, when i tried to create Flex project i could not validate Server location.
Is it required to have both Java server and flex builder on same system? -
I require help with my first website
As you can see from many of my recent posts, I am new to web development, and I have decided that I am going to need some help.
This forum has been a huge help, and I will continue using it, but the reality of the situation is that progress is slow as I am learning as I go, each junction I reach and require help with is holding up progress, which wouldn't be a problem if I had more spare time, but I simply don't.
Is anybody willing to help me? It would be paid work so I would need to discuss how this would work with rates etc... here are some details:
The domain is already setup, and you can see the first page I have been working on here: http://www.elliotnewman.com/index/test7.html
The closet website I can find for your reference is: http://www.jaspaljandu.com/home/
My site will initially not be quite as established as Jaspal's, but in essence the functionality will be similar. The things I know of that I will need help on are:
Setting up the ordering and payment process when a customer wants to order a print, including automated email notifications, and check out forms ( this may also require membership fields or maybe through paypal)
Setting up the interactive framing graphics - ref - http://www.markgray.com.au/gallery/limited-edition-prints/forgotten-island.php
Potentially helping to setup a blog
Work with me on integration - and updates (ie build the all the templates needed so updates and new images can be posted by myself easily)
Automation of the counts of the limited editions
Setting up links to Facebook, twitter, linkedin etc
Reviewing and testing any code that I create
Along with these points I will also need standby help with the code I am directly working on, so file sharing may have to be setup. It is also worth noting that I will supply all the graphics and the design elements for every page, I will also be very specific with briefs as I know exactly what I want to achieve.
If anybody is interested please send me a private message, I would need to see some examples of your experience, details on your availability and your rate - whether thats per day, per hour and a rough estimate on how long you think the work will take.
Also, if anybody knows somebody outside this forum that you think could help me then please also forward this on.
Apologies if this is not the best place to post this.
Elliot.Hi
In addition to Nancy s comments, reading the following line -
Along with these points I will also need standby help with the code I am
directly working on, so file sharing may have to be setup.
What you are basically after is a tutor, to guide you in what you are doing. In this respect it may be worth your while to read-up on designing web pages,as after a quick glance of the code, (from your previous post regarding the background image ) the main problem you are having is that you are not 'implementing' a consistent design/development procedure.
Try reading the following -
General tutorials on html, css, etc - http://www.w3schools.com/.
Design of web site, general - http://articles.sitepoint.com/article/principles-beautiful-web-design.
PZ
www.pziecina.com -
it says GarageBand can’t be installed on “Untitled” because Mac OS X version 10.9.0 or later is required. help what is this
Welcome to Apple Support Communities
The most recent GarageBand version requires OS X Mavericks, so you can't install it until you upgrade Mac OS X.
You can download Mavericks from the Mac App Store free of charge. Make a backup of your files with Time Machine and check that your apps are compatible > http://www.roaringapps.com
After upgrading, open the Mac App Store and download GarageBand free of charge -
How do I enable file downloads without requiring helper applications?
Firefox is now requiring helper applications for "apt" downloads. I don't want that. I just want to download files and install by hand. How do I regain always having the option to simply download any file, of any type?
What is an APT file?
Are you getting the Open/Save/Cancel dialog, or the Save/Cancel dialog, or is Firefox attempting to open the file directly?
Firefox generally associates programs or plugins with content types instead of file extensions. This information may be gleaned from your operating system or from plugins. This information is stored in a file named mimeTypes.rdf and is maintained automatically, so it's risky (and might be fruitless) to edit the file by hand... -
Hi All,
My design wont allow Delta loads because the transformation source is an InfoSet. To limit the data in these loads, I require a filter in the DTPs on fiscal year/period then only load I can load the current month and 2 prior months. Now we are updating manually for the DTPs. To eliminate this monthly task a dynamic filter (routine) needs should be used rather than a static filter.
So I have written as follows But in the debugger mode am able to see the -3months to the current date but records are not filtered. Any help please
*& Include RSBC_SEL_ROUTINE_TPL -
program conversion_routine.---
Type pools used by conversion program---
type-pools: rsarc, rsarr, rssm.---
tables: rssdlrange.---
Global code used by conversion rules---
$$ begin of global - insert your declaration only below this line ----
TABLES: ...---
DATA: ...------
$$ end of global - insert your declaration only before this line ----
Fieldname = F139---
data type = NUMC---
length = 000007---
form compute_F139---
tables l_t_range structure rssdlrange---
changing p_subrc like sy-subrc.---
Insert source code to current selection field---
$$ begin of routine - insert your code only below this line ----
data: l_idx like sy-tabix.---
read table l_t_range with key---
fieldname = '/bic/0FISCPER' .---
l_idx = sy-tabix.---
DATA: w_date TYPE SY-DATUM,---
w_date1 type sy-datum,---
lv_idate(8) type n,---
lv_odate(8) type n,---
lv_date1(7) type n,---
lv_date2(8) type n.---
CONCATENATE SY-DATUM0(4) SY-DATUM4(2) sy-datum+6(2) into W_DATE.---
CALL FUNCTION 'SEPA_MANDATE_ADD_MONTH_TO_DATE'---
EXPORTING---
MONTHS = '-3'---
OLDDATE = W_DATE---
IMPORTING---
NEWDATE = W_DATE1.---
Concatenate W_DATE0(4) W_DATE4(2) W_DATE+6(2) into lv_Idate.---
Concatenate W_DATE10(4) W_DATE14(2) W_DATE1+6(2) into lv_odate.---
Concatenate '0' W_DATE4(2) '.' W_DATE0(4) into lv_date2.---
Concatenate '0' W_DATE14(2) W_DATE10(4) into lv_date1.---
CALL FUNCTION 'UMC_CALDAY_TO_FISCPER'---
EXPORTING---
I_PERIV = 'K1'---
I_CALDAY = lv_Idate---
IMPORTING---
OUTPUT = lv_date1.---
CALL FUNCTION 'UMC_CALDAY_TO_FISCPER'---
EXPORTING---
I_PERIV = 'K1'---
I_CALDAY = lv_odate---
IMPORTING---
OUTPUT = lv_date2.---
*l_t_range-iobjnm = '0FISCPER'.---
l_t_range-fieldname = '/bic/0FISCPER'.---
l_t_range-sign = 'I'.---
l_t_range-option = 'GE'.---
l_t_range-low = lv_date1.---
*l_t_range-high = lv_date2.---
if l_idx <> 0.---
modify l_t_range index l_idx.---
else.---
append l_t_range.---
endif.---
p_subrc = 0.---
$$ end of routine - insert your code only before this line ----
endform.---
-Ashwin
Edited by: ashwin kumar on Jun 16, 2010 10:04 AM1. In the future, please use a meaningful subject line, like "loop not performing last iteration." Just saying "Help in my java code" is useless. We know you need help with your Java code, else you wouldn't be posting here.
2. Repost your code without those annoying superfluous asterisks, and with proper indentation in the section that they are currently polluting. It's too hard to read as-is. -
Requires experts help - abap report in sales order
hello,
for the sales order details - to display partner function and delivery status.
first screen contains selection screen containing sales organization and a check box.
if i enter the sales organization without clicking check box, it displays many sale orders clicking on any sale order, (interactive) takes me to another screen, where i have push buttons for displaying partner func and delivery status. - this output is coming correctly.
if i enter sales org. and <b>click the check box</b>, goes to next screen where i give sale order no. in parameter and after giving i should go to the same screen where i created pushbuttons for displaying the partner functions and delivery status of that particular vbeln.
i am not getting the output for the above thing.
( i am not using dialog module). ordinary report only.
can anybody help me in this regard.
thank you.Hello Akilandeswari
Sorry to say that but your application is an example of a poor user interface (UI).
The following sample report <b>ZUS_SDN_TWO_ALV_GRIDS_SO</b> shows you how to display all sales order for a given sales organisation. Double-clicking on a sales order fills the second ALV list with the partner functions. Obviously, it would be a piece of cake to display the statusinfo in another ALV list (-> Alv).
*& Report ZUS_SDN_TWO_ALV_GRIDS
*& Screen '0100' contains no elements.
*& ok_code -> assigned to GD_OKCODE
*& Flow logic:
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
REPORT zus_sdn_two_alv_grids.
DATA:
gd_okcode TYPE ui_func,
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
gs_layout TYPE lvc_s_layo.
DATA:
gt_outtab TYPE STANDARD TABLE OF vbak,
gt_partner TYPE STANDARD TABLE OF vbpavb.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
* define local data
DATA:
ls_outtab LIKE LINE OF gt_outtab.
CHECK ( sender = go_grid1 ).
READ TABLE gt_outtab INTO ls_outtab INDEX e_row-index.
CHECK ( ls_outtab-vbeln IS NOT INITIAL ).
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
* IS_ROW_ID =
* IS_COLUMN_ID =
is_row_no = es_row_no.
* Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DETAIL' ).
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
PARAMETERS:
p_vkorg TYPE vkorg DEFAULT '1000'.
START-OF-SELECTION.
SELECT * FROM vbak INTO TABLE gt_outtab
WHERE vkorg = p_vkorg.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 2
columns = 1
* NO_AUTODEF_PROGID_DYNNR =
* NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
* Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid1.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Display data
gs_layout-grid_title = 'Sales Orders'.
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
is_layout = gs_layout
CHANGING
it_outtab = gt_outtab
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Partner Functions'.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'VBPA'
is_layout = gs_layout
CHANGING
it_outtab = gt_partner " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
* Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
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.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
* User has pushed button "Display Details"
WHEN 'DETAIL'.
PERFORM entry_show_details.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form ENTRY_SHOW_DETAILS
* text
* --> p1 text
* <-- p2 text
FORM entry_show_details .
* define local data
DATA:
ld_row TYPE i,
ld_title TYPE lvc_title,
ls_outtab LIKE LINE OF gt_outtab,
lt_sadrvb TYPE STANDARD TABLE OF sadrvb.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_outtab INTO ls_outtab INDEX ld_row.
CHECK ( syst-subrc = 0 ).
REFRESH: gt_partner.
CALL FUNCTION 'SD_PARTNER_READ'
EXPORTING
f_vbeln = ls_outtab-vbeln
* OBJECT = 'VBPA'
no_master_adress = 'X'
TABLES
i_xvbadr = lt_sadrvb " dummy, obligatory
i_xvbpa = gt_partner.
CONCATENATE ls_outtab-vbeln 'Partner Functions' INTO ld_title
SEPARATED BY ': '.
go_grid2->set_gridtitle( ld_title ).
CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
EXPORTING
salesdocument = ls_outtab-vbeln
* IMPORTING
* RETURN =
* TABLES
* STATUSINFO = gt_status
ENDFORM. " ENTRY_SHOW_DETAILS
Regards
Uwe -
Help require in ABAP programing.
Good Afternoon all ,
Target : To fill the value in ZPLN_DLTM which is attribute of 0MAT_PLANT
The logic for updating the field is as follows:
We want this Planned Delivery time to be based off of an InfoRecord (ZGOPRO71 and the new ZGOPRO59). If there is no InfoRecord found then we will use 0PLND_DELRY on 0MAT_PLANT (PLIFZ).
SELECT INFO_REC, PURCH_ORG, INFO_TYPE the first row you find From the active table of ODS ZGOPRO71
WHERE material and plant = the material and plant on the record from R/3
AND PURCH_ORG between 0000 and 9999.
Now take the INFNR (InfoRecord) found and select from the new ZGOPRO59 ODS.
SELECT SINGLE DURSHP_PL (planned delivery time) FROM active table of ZGOPRO59
WHERE INFO_REC, PURCH_ORG, INFO_TYPE match from the above SELECT
AND PLANT = plant on the record from R/3.
Lastly the RESULT should equal the DURSHP_PL from the above SELECT +
GR_PR_TIME.
If you cannot find a record from either of the two SELECT statements, then set the RESULT to PLND_DELRY.
***************This program i have written in an INCLUDE***********
TABLES:/bic/AZGOPRO5900,
/bic/AZGOPRO7100.
DATA: wa_datapak_line type TRANSFER_STRUCTURE.
****Internal table for ZGOPRO71******
DATA: Begin of i_zgopro7100 occurs 0,
Material type /bic/azgopro7100-material,
Plant type /bic/azgopro7100-plant,
INFO_REC type /bic/azgopro7100-INFO_REC,
INFO_TYPE type /bic/azgopro7100-INFO_TYPE,
PURCH_ORG type /bic/azgopro7100-PURCH_ORG,
End of i_zgopro7100.
****Internal table for ZGOPRO59******
DATA: Begin of i_zgopro5900 occurs 0,
Material type /bic/azgopro5900-Material,
Plant type /bic/azgopro5900-Plant,
INFO_REC type /bic/azgopro5900-INFO_REC,
DURSHP_PL type /bic/azgopro5900-DURSHP_PL,
INFO_TYPE type /bic/azgopro5900-INFO_TYPE,
PURCH_ORG type /bic/azgopro5900-PURCH_ORG,
End of i_zgopro5900.
******For Loading Data into Internal table i_zgopro7100 ******
Refresh: i_zgopro7100.
Select Material Plant INFO_REC INFO_TYPE PURCH_ORG from /bic/azgopro7100
INTO TABLE i_zgopro7100
FOR ALL ENTRIES IN datapak
WHERE Material = datapak-mat_plant
AND Plant = datapak-plant
AND PURCH_ORG BETWEEN 0000 AND 9999.
Sort i_zgopro7100 by plant.
For Loading Data into Internal table i_zgopro5900 ******
Refresh: i_zgopro5900.
Select Material Plant INFO_REC DURSHP_PL INFO_TYPE PURCH_ORG from /bic/azgopro5900
INTO TABLE i_zgopro5900
FOR ALL ENTRIES IN datapak
WHERE Material = datapak-mat_plant.
Sort i_zgopro5900 by plant.
loop at datapak into wa_datapak_line.
ztabix = sy-tabix.
READ TABLE i_zgopro7100
WITH KEY Material = wa_datapak_line-mat_plant
Plant = wa_datapak_line-plant
BINARY SEARCH.
if sy-subrc = 0.
READ TABLE i_zgopro5900
WITH KEY INFO_REC = i_zgopro7100-INFO_REC
Material = i_zgopro7100-Material
INFO_TYPE = i_zgopro7100-INFO_TYPE
PURCH_ORG = i_zgopro7100-PURCH_ORG
Plant = wa_datapak_line-plant.
if sy-subrc = 0.
wa_datapak_line-/bic/ZPLN_DLTM = i_zgopro5900-DURSHP_PL + wa_datapak_line-gr_pr_time.
Else.
wa_datapak_line-/bic/ZPLN_DLTM = wa_datapak_line-plnd_delry.
Endif.
Else.
wa_datapak_line-/bic/ZPLN_DLTM = wa_datapak_line-plnd_delry.
Endif.
modify datapak from wa_datapak_line index ztabix.
endloop.
*********My question****************
The sy-subrc returned value 4 even though row is found
the data is not updated in the field ZPLN_DLTM it copies valu from PLND_DELRY by default even though it satisfies the conditions but if u load for specific plant and material values get loaded in the field with proper calculation.
For the right answer points will be rewarded.Hi Vaishali,
In following code fragment ,
Select Material Plant INFO_REC INFO_TYPE PURCH_ORG from /bic/azgopro7100
INTO TABLE i_zgopro7100
FOR ALL ENTRIES IN datapak
WHERE Material = datapak-mat_plant
AND Plant = datapak-plant
AND PURCH_ORG BETWEEN 0000 AND 9999.
Sort i_zgopro7100 by plant.
try with following changes
1. Comment
AND PURCH_ORG BETWEEN 0000 AND 9999.
2. Instead of
Sort i_zgopro7100 by plant.
Write
Sort i_zgopro7100 by material plant.
In following code fragment
loop at datapak into wa_datapak_line.
ztabix = sy-tabix.
READ TABLE i_zgopro7100
WITH KEY Material = wa_datapak_line-mat_plant
Plant = wa_datapak_line-plant
BINARY SEARCH.
if sy-subrc = 0.
READ TABLE i_zgopro5900
1. After statement
ztabix = sy-tabix.
Insert
Clear i_zgopro7100.
Clear i_zgopro5900.
And let us know the output .
Hope that helps.
Regards
Mr Kapadia
Assigning points is the way to say thanks in SDN. -
Required help to the proforma invoice layout
Dear Experts
My client requires the following things in the proforma invoice
1.Seller address and VAT number
2.Truck No
3. Pallet No
4.Place of Loading (Ship From)
5.Commodity code number
6.Quantity in Pallets
7.quantity in cases/bandles
8.Price in EURO for Cases/Bandles
9. country of origin
10. Seller reference, ex: PO no
11.Proforma Invoice number
12. Proforma Invoice date
13. total Value
14. Freight Value.
Please give me the tables and fields from where to invoice data is flowing
Issue is very urgent
Please help me on this
Thanks & Regards
JanardhanHi Janarthan,
Plase go through the following field mapping which is you required.
1.Seller address: With the help of ABAPer, You can extract address data from ADRC table.
VBRK-STCEG OR KNA1-STCEG --VAT number
2.Truck No: VTTK-SIGNI
3. Pallet No:
4.Place of Loading (Ship From): LIPS-LSTEL
5.Commodity code number
6.Quantity in Pallets
VBRP-FKIMG Qty
VBRP-VRKMEUoM (MVKE-VRKME=PAL)
7.quantity in cases/bandles:
VBRP-FKIMG --- Qty.
VBRP-VRKME --- unit of measure (MVKE-VRKME=CSE)
8.Price /currency(EURO)/UoM (Cases/Bandles):
KOMV-KBETR / RV61A-AWEIN (currency, sale unit)
9. Country of origin: ADRC-COUNTRY
10. Seller reference, ex: PO no: VBKD-BSTKD
11.Proforma Invoice number: VBRK-VBELN
12. Proforma Invoice date: VBRK-ERDAT
13. total Value: VBRK-NETWR
14. Frieght Value: KOMV-KBETR where KONV-KSCHL=FB00
Reward points pls.
Regards,
Govind. -
HELP - ABAP Program Cancelled After Running for 2.5 Hours in Background
I have an ABAP report program that was being tested in our QA system and it died after running for 2.5 hours with the status of "Cancelled" (which, I assume, means it was terminated by SAP for exceeding some type of governor).
I ran Code Analyzer and no performance issues were recognized.
I am running several SELECT statements during program execution. These are a list of all the SELECT statements used in my program. Also, I'm using PNPCE to get a list of pernrs for which to pull data at the beginning of the program.
SELECT *
INTO CORRESPONDING FIELDS OF TABLE gt_p0167
FROM pa0167
WHERE pernr EQ gt_selected_pernrs
AND bplan IN s_bplan
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE fgbdt fasex
INTO (lv_dob, lv_gender)
FROM pa0021
WHERE pernr EQ gt_selected_pernrs
AND subty EQ <fs_dtyxx>
AND objps EQ <fs_didxx>
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE agency ansvh
INTO (p_agency_out, lv_ansvh)
FROM pa0001
WHERE pernr EQ p_pernr_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE vorna nachn gbdat perid gesch
INTO (gt_control_table-fname, gt_control_table-lname, gt_control_table-dob, gt_control_table-mskssn, gt_control_table-gender)
FROM pa0002
WHERE pernr EQ p_pernr_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE perid
INTO (lv_ssn)
FROM pa0106
WHERE pernr EQ p_pernr_in
AND subty EQ p_subty_in
AND objps EQ p_objps_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE smoke
INTO (p_smoker_out)
FROM pa0376
WHERE pernr = p_pernr_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE state pstlz zcounty
INTO (p_state_out, lv_zip, p_county_out)
FROM pa0006
WHERE pernr EQ p_pernr_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE werks btrtl
INTO (lv_werks, lv_btrtl)
FROM pa0001
WHERE pernr EQ p_pernr_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE region
INTO (p_region_out)
FROM zpat_county_code
WHERE county EQ p_county_in.
SELECT SINGLE pernr
INTO lv_pernr
FROM pa0002
WHERE perid EQ gt_cobra_table-l_essn.
SELECT SINGLE eecst ercst
INTO (lv_eecst, lv_ercst)
FROM t5ubi
WHERE barea EQ '01'
AND bplan EQ lv_bplan
AND bcost EQ p_bcost_in
AND cstv1 EQ '0001'
AND smoke EQ p_smoker_in
AND begda LE pn-endda
AND endda GE pn-begda.
SELECT SINGLE kwert
INTO lv_kwert
FROM t511k
WHERE molga EQ '10'
AND konst EQ 'ZCOB1'
AND begda LE pn-endda
AND endda GE pn-begda.The screen shot the tester sent me only says that it was canceled. However, the log shows the following:
09/17/2008 16:54:32 Job Started
09/17/2008 16:54:32 Step 001 started (program ZBNI001...
09/17/2008 19:22:09 ABAP/4 processor: DATASET_NOT_OPEN
09/17/2008 19:22:09 Job cancelled
I'm not sure it was an error, per se, but maybe SAP canceled it because it had been running too long? The "DATASET_NOT_OPEN" is curious although I've no idea what it means.
Thanks for your help. -
I have just purchased a 5S iphone, when I tried to sync with my Imac it comes up with "...requires iTunes version 11.1 or later.." my iTunes version is 10.6.3, I rechecked software updates but says there is no updates required??? I checked when last auto update was done which was 01/07/12 I also tried downloading from web iTunes version 11.1.5 but it wont load because I don't have min version 10.6.8. What can I do to sort this out? Note: I am a not computer savy so be easy on me.
If your computer is running an OS X prior to Snow Leopard 10.6,
the answer (if it is an Intel-based Mac; not old PowerPC model)
would be to buy the retail Snow Leopard 10.6 DVD from Apple
for about $20, and install it. Then update that to 10.6.8 by using
the installed Snow Leopard online to get Combo Update v1.1 for
Snow Leopard 10.6.8. After that is installed & updated, run the
system's Software Update again, to see what else is available to
that system.
Later systems can then be looked into at Mac App Store, once
the computer is running Snow Leopard 10.6.8.
And if your computer is a Power PC (G4/G5, etc) and has no
Core2Duo kind of CPU -- See "About this Mac" in apple menu
to disclose the general info about your Mac. Also you can see
even more by clicking on "More Info" when looking in there...
If it isn't an Intel-based Mac, it can't run a system past 10.5.8.
Hopefully this helps.
Good luck & happy computing! -
Requirements for ABAP and XI Certification
Hello Folks,
I have about 2years of work experience in SAP ABAP and XI .
I have resigned from my company few months back and got relocated to Switzerland.
Im currently looking for SAP jobs here at switzerland and also wanted to complete with my certifications in ABAP/XI depending on the criteria.
I have certain queries that would help me know the criteria to apply for the certification this year.
Here my set of questions , Kindly answer me to all the points below i would be grateful for the same :
1) Are we suppose to give any current working experience from the company.Since i have resigned from the job and dont hold another job yet, can i appear for the certification ?
Can i submit my old experience letters?
2) Is there any other way of appearing for SAP certifications apart from appearing through TechEd.
3) Can I simply pay the money for the certificaton program and pick the exam that i want to appear for?
Please guide me to plan for my certification program.
Thank you in advance.
Regards,
VedaHi,
I believe that even in US also the same process.
USA SAP Education site address:
http://www.sap.com/usa/services/education/index.epx
USA SAP Certification Policies:
http://www.sap.com/usa/services/education/certification/policies.epx
USA SAP Education FAQ
http://www.sap.com/services/education/certification/levels/faqs/index.epx
Registration
All SAP Solutions Academy registrations must be received by telephone at central registration: +1-888-777-1727.
Exam registrations are taken only through central registration at: +1-888-777-1727 and will only be taken up to five (5) business days prior to the scheduled exam event.
You can call them up and fix your certification at time and location convenient for you.
Regards,
Ravi -
Required help for badi for GL tab in MIRO transaction
Hi,
I am working in MIRO transaction.
I am having a requirement as below:
While creating invoices, In the gl tab when we enter gl account number system should populate Tax jurisdiction code by default.
I am using BADI EXTENSION_US_TAXES method MM_ITEM_TAX_MODIFY but it populates the tax jurisdiction in PO reference tab not in GL tab.
Please advice
Regards,
Suvarna NandiHi
Have you tried with enhancement FYTX0002? See also Note 302998 - Collecting fields for user-exit. It's an idea.
I hope this helps you
Regards
Eduardo
Maybe you are looking for
-
Editing (Setting and Removing) CLASSPATH on Snow Leopard
I am trying to learn XSLT, and so I am installing Xerces and Xalan - but I have to add certain .jar's to the classpath. This is extremely easy on the PC, but how do I change this on the Mac? I would like to set it into an environment variable if poss
-
0HR_PT_3 init is taking a very long time.
Hi Friends, I am trying to extract HR Data (Quotas) to BW, i did Initialization and its been running for a very long time but no records are getting transfered. Is there any config, setting which i should do before i do Init for this Datasource?. or
-
Can't use DBCA after applying patch on solaris
Hi all, I have installed Oracle10g 10.2.0.1.0 on Solaris, after that I have created databases which are fine creating with DBCA. After that I upgraded patch from 10.2.0.1.0 to 10.2.0.3.0. now, when I try to use DBCA, It's throwing some TNS errors. Af
-
Whenever I make applets. As soon as I minimize the applet or resize it or move any other window over the applet...the content of the applet disappears. can someone please tell me how to get rid of it and how to retain the contents of the applet even
-
Mp4 sorted- it wont upload. plz help
i got the lost box set for xmas. i ripped it to my computer, converted it to mp4 then using pspware i converted it to m4v thingy. i managed to get it into my itunes library and when i plugged ipod fifth gen into it and it did the auto update where it