Code help in writing a Program which resolves the pricing issues
Hello experts
i was asked to write a report program with the following requirements,(This is to address the pricing issues KSE(company code A ) is facing with KST(another company code B) for S-Bank program(an important program we use it in SD)
cananyone help with the code.? atlease a skeleton to start the program is highly appreciated.
Thanks
SP
Selection Parameters
Material
Sold to party
Sales Org
Plant
Sales order
Actual goods movement dates
Invoice number
Sales order
Report
-Should detail only the Sbank scopes (all FERTs beginning with S*)
-Detail by line items
-Material number
-Serial number of device shipped
-Serial number from SBANK_SERIAL_NUMBER characteristic in KSE_SN_ENDOSCOPES class contained in name plate data
-Delivery number
-Invoice number
-Invoice price
-Notification number
-KST Repair level (coding field in notification)
-KSE Repair level (activity code text from KSE-SM07 code group)
Thanks
SP
http://java.sun.com/developer/onlineTraining/JavaMail/
Similar Messages
-
Code help in writing report Program
Hello experts
I have to write a selection screen program based on the following requirements (only for sales Org:5090, plant:9000, Outbound delivery type= "LF")
Selection parameters:
Material (lips-matnr)
Sold to party(likp-kunag): can hardcode it to 5090
Sales Org(likp-vkorg)
Plant(lips-werks) : hard code it to plant:9000
Sales order(likp-vbeln)
Actual goods movement dates(likp-wadat_ist)
Invoice number
Sales order
Output
material numberlips~matnr ( should Display only S* materials and material type FERT)
Serial number of the device shipped (objk-sernr)
Delivery number (lips~vbeln)
Invoice number (vbrp-vbeln)
Invoice price=Vbrp-vbeln/quantity (invoice price)
Notification number (Viqmel-QMNUm)
KBB Repair Level(VIQMEL-QMTXT from QMCOD )
KBC Repair level(VIQMMA-MNCOD from KBC-SM07 code group(VIQMMA-MNGRP))
code help is higly appreciated,
Thanks
SpHi anurag,
Code is going like this, i could able to display it but when i run it ABAP Dump is coming.
what could be the reason?
Tahnks
SP
*& Report ZSDR_PRICING_KSE_RPT *
REPORT ZSDR_PRICING_KSE_RPT .
TABLES: likp, lips, vbfa, vbak.
TYPE-POOLS: slis.
*/ Selection and Input Parameters
SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-003.
SELECT-OPTIONS: s_matnr FOR lips-matnr,
s_kunag FOR likp-kunag.
SELECT-OPTIONS: s_vkorg FOR likp-vkorg NO INTERVALS,
s_werks FOR lips-werks.
SELECT-OPTIONS: s_vbeln FOR likp-vbeln,
s_waist FOR likp-wadat_ist.
SELECT-OPTIONS: s_vgbel FOR lips-vgbel.
SELECTION-SCREEN END OF BLOCK block2.
DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
TYPES: BEGIN OF ty_data,
matnr TYPE lips-matnr,
sernr TYPE equi-sernr,
vbeln TYPE lips-vbeln,
invno TYPE vbfa-vbeln,
qmnum TYPE vbak-qmnum,
netwr type vbrp-netwr,
END OF ty_data.
DATA: gt_data TYPE TABLE OF ty_data WITH HEADER LINE.
TYPES: BEGIN OF ty_lips,
vbeln TYPE likp-vbeln,
matnr TYPE lips-matnr,
wersk TYPE lips-werks,
vgbel TYPE lips-vgbel,
END OF ty_lips.
DATA: gt_lips TYPE TABLE OF ty_lips WITH HEADER LINE.
DATA: gt_vbfa TYPE TABLE OF vbfa WITH HEADER LINE.
DATA: gt_vbrp TYPE TABLE OF vbrp WITH HEADER LINE.
TYPES: BEGIN OF ty_ser01,
lief_nr TYPE ser01-lief_nr,
obknr TYPE ser01-obknr,
sernr TYPE objk-obknr,
END OF ty_ser01.
DATA: gt_ser01 TYPE TABLE OF ty_ser01 WITH HEADER LINE.
START-OF-SELECTION.
PERFORM get_data.
PERFORM display_data.
*& Form get_data
FORM get_data.
SELECT likpvbeln lipsmatnr lipswerks lipsvgbel
INTO CORRESPONDING FIELDS OF TABLE gt_lips
FROM likp INNER JOIN lips ON lipsvbeln = likpvbeln
WHERE lips~matnr IN s_matnr
AND lips~werks IN s_werks
AND likp~kunag IN s_kunag
AND likp~wadat_ist IN s_waist
AND lips~vgbel IN s_vgbel
AND likp~vkorg IN s_vkorg.
IF NOT gt_lips[] IS INITIAL.
SELECT vbeln vbelv INTO CORRESPONDING FIELDS OF TABLE gt_vbfa
FROM vbfa
FOR ALL ENTRIES IN gt_lips
WHERE vbelv = gt_lips-vgbel
AND vbtyp_n = 'M'.
IF NOT gt_vbfa[] IS INITIAL.
SELECT vbeln matnr netwr
INTO CORRESPONDING FIELDS OF TABLE gt_vbrp
FROM vbrp FOR ALL ENTRIES IN gt_vbfa
WHERE vbeln = gt_vbfa-vbeln.
SELECT ser01lief_nr ser01obknr objk~sernr
INTO CORRESPONDING FIELDS OF TABLE gt_ser01
FROM ser01 INNER JOIN objk ON objkobknr = ser01obknr
FOR ALL entries IN gt_vbfa
WHERE ser01~lief_nr = gt_vbfa-vbeln
AND taser EQ 'SER01'.
ENDIF.
ENDIF.
clear: gt_data[].
LOOP AT gt_lips.
LOOP AT gt_vbfa WHERE vbelv = gt_lips-vgbel.
READ TABLE gt_vbrp WITH KEY vbeln = gt_vbfa-vbeln
matnr = gt_lips-matnr.
LOOP AT gt_ser01 WHERE lief_nr = gt_vbfa-vbeln.
gt_data-matnr = gt_lips-matnr.
gt_data-sernr = gt_ser01-sernr.
gt_data-vbeln = gt_lips-vbeln.
gt_data-invno = gt_vbfa-vbeln.
gt_data-netwr = gt_vbrp-netwr.
APPEND gt_data.
ENDLOOP.
ENDLOOP.
ENDLOOP.
ENDFORM. " get_data
*& Form display_data
FORM display_data.
DATA: lv_repid TYPE sy-repid.
lv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = lv_repid
I_INTERNAL_TABNAME =
i_structure_name = gt_data
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = gt_fieldcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_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.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
i_callback_program = lv_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
IS_LAYOUT =
it_fieldcat = gt_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_data
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. -
Help on writing a program which logs in to my email
Hi,
I'm trying to write a program whose first function will be to access the internet and login to my account. Can someone advise on the area of Java that i should look into?
Thanks in advance!http://java.sun.com/developer/onlineTraining/JavaMail/
-
Code help in writing a report Program
Hello experts
i was asked to write a report program with the following requirements,(This is to address the pricing issues KSE(company code A ) is facing with KST(another company code B) for S-Bank program(an important program we use it in SD)
cananyone help with the code.? atlease a skeleton to start the program is highly appreciated.
requirements..
Selection Parameters
Material
Sold to party
Sales Org
Plant
Sales order
Actual goods movement dates
Invoice number
Sales order
Report
-Should detail only the Sbank scopes (all FERTs beginning with S*)
-Detail by line items
-Material number
-Serial number of device shipped
-Serial number from SBANK_SERIAL_NUMBER characteristic in KSE_SN_ENDOSCOPES class contained in name plate data
-Delivery number
-Invoice number
-Invoice price
-Notification number
-KST Repair level (coding field in notification)
-KSE Repair level (activity code text from KSE-SM07 code group)
Thanks
SPHello experts
i was asked to write a report program with the following requirements,(This is to address the pricing issues KSE(company code A ) is facing with KST(another company code B) for S-Bank program(an important program we use it in SD)
cananyone help with the code.? atlease a skeleton to start the program is highly appreciated.
requirements..
Selection Parameters
Material
Sold to party
Sales Org
Plant
Sales order
Actual goods movement dates
Invoice number
Sales order
Report
-Should detail only the Sbank scopes (all FERTs beginning with S*)
-Detail by line items
-Material number
-Serial number of device shipped
-Serial number from SBANK_SERIAL_NUMBER characteristic in KSE_SN_ENDOSCOPES class contained in name plate data
-Delivery number
-Invoice number
-Invoice price
-Notification number
-KST Repair level (coding field in notification)
-KSE Repair level (activity code text from KSE-SM07 code group)
Thanks
SP -
Need help for writing extract program
hi
i need help for writing extract program to retriew data from legacy system.
i already developed bdc programs for me31k and me21.
my requirement is to write extract program s for those t.codes.
to retriew data from legacy system and stored in flat file.i need help with a java program. it is a program that allows the user to enter a student's GPA, number of extracurricular activities, and number of service activities. The user can not enter a gpa above 4.0 or below 0. The user can not enter a negative number for the number of both activities. If the student meets the following criteria: 1) GPA of 3.8 or above and at least one extracurricular activity and one service activity, 2) GPA below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities, 3) GPA below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities, the message "Scholarship candidate" should display. If the student does not meet the criteria above, then the message"not a candidate" should display. Can you help me, please?
You haven't posted ANY 'java program' for us to help with.
The forum is NOT a coding service. It is to help you with YOUR code.
Post the code you have written and SHOW us (don't just tell us) how you compile it and execute it and the results you get. Then we can help you with any problems you are are having.
If you need help understanding just what the program should be doing you need to ask your instructor to clarify the assignment. -
How to find a program which modifies the variant of a standard program?
Hi,
I have an issue where the variant values of the standard program RKEVEXT3 (Transaction : KEFC), is getting changed by a background job.I need to find the program which modifies the values of the variant.
Any input on this will be helpful.
Regards,
Rajhi Raj,
you can change variants with FM RS_VARIANT_CHANGE. I would suggest to run a where used list for this variant in your system.
hope this helps
ec -
I recently updated my QuickTime Plug-in (7.7.4) on Firefox 21. Prior to the update, I could open midi files in the Firefox and other browsers with a QuickTime Player. Now, I've got my Windows 7 computer asking how it should save or open the file. The QuickTime Plug-in is enabled and works with other types of files. If I open Tools, select Options, and select Applications, I do have the option of selecting "Use QuickTime Plug-in 7.7.4 (in Firefox)" for many file types. For the "Midi Sequence" type, it isn't an option, (only programs which open the midi files outside of the browser). Presently my only option is to use "Windows Media Player" as the default program, (opening midi files outside of the browser). "Mid file" allows the selection of the QuickTime Plug-in but still goes out of the Firefox browser to use the Windows Media Player, whether the file's extension is .mid or .midi
Is these someplace I can find the "Use QuickTime Plug-in 7.7.4 (in Firefox)" with the "Browse" within my computer's files, or am I now stuck using the "Windows Media Player" when a plug-in should be able to do this simple task? I can watch YouTUbe (in Firefox) but cannot play a midi file (in Firefox)!QT 7.7.4 use "audio/mid" MIME type only and does not understand now "audio/midi" and "audio/x-midi" types commonly used on server side. Blame Apple for that.
-
Hi all,
Is there an add-on program, which assumes the directory structure of a Windows PC with subfolders?
So that the playlists are created with all the directories and subdirectories.
I would like the Music folder
and all its subdirectories
drag into iTunes.
Then should the songs in iTunes and in the Iphone geanu be designed with the same directory wiht subdirectories structure.
Example:
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\AlbumArtSmall.jpg
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Betriebsdirektor - Das Leben Ist Grausam - die Prinzen - 05 - .mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Blaues Blut - Das Leben Ist Grausam - die Prinzen - 07 - .mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\desktop.ini
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Herbert_Grönemeyer_-_12_[2007]_-brandneu-_[found-on-www-bitreactor-to].to rrent
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 01 - Ein Stück vom Himmel.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 02 - Kopf hoch,tanzen.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 03 - Du bist die.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Rohr im Wind - Dass nichts bleibt wie es war - Hannes Wader - 07.mp3
G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Schon so lang - Dass nichts bleibt wie es war - Hannes Wader - 02.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Everything I Do) I Do It For You - Bryan Adams - Best of Me (Ecopac) - 10.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Sittin' on) the dock of the bay - Otis Redding - (Sittin' on) the Dock of the Bay - 01.mp3
G:\1 wav+mp3\1 Alles\3 Song\Allerlei\~ Change Is Gonna Come - The Neville Brothers - Yellow Moon - 01.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Baby, Do You Wanna Bump - Daddy Cool - Boney M. - 06.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Barbarella Fortuneteller - Daddy Cool - Boney M. - 15.mp3
G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Belfast - Daddy Cool - Boney M. - 04.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\AlbumArtSmall.jpg
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Always On My Mind - Definitive Country Album - Elvis Presley - 03.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Burning Love - Definitive Country Album - Elvis Presley - 09.mp3
G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Don't Cry Daddy - Definitive Country Album - Elvis Presley - 15.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Every Little Thing She Does-Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Folder.jpg
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\goodnight sweethart - flying pickets - flying pickets .mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Groovin'-Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\I Got You Babe - Flying Pickets - Flying Pickets.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical - Franz Liszt - Liebestraum piano - Franz Liszt - Liebestraum piano.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical Guitar - Greensleeves - Greensleeves.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classique - Schumann - Carnaval, Chopin - Schumann - Carnaval, Chopin.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Crown Chakra - Tony O'Connor - Tony O'Connor.mp3
G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Dallas - TV 70's & 80's.mp3
usw.
Is there a program led?
Thank you very much
frankdeggie wrote:
No, as there is no such file management system in iOS.
I do not understand this..
In iTunes I can create folders and subfolders.
Please look.
I would like to drag the folder "1 All" in iTunes.
There should also then the folder structure are taken
iTunes Windows 7 Explorer
Folder in Folder Folder in Folder
Thank you very much
Frank -
How to find program which created the session
Hi friends,
can anybody tell me, how to find out the program name that as generated perticular batch session in SM35.
I have session name and i want to find out the program which created the session.
Thanks in advance.
SayaHi Saya,
Check table <b>TBTCO</b> and<b> TBTCP</b> to know about the program created by a session.
Give Job name to TBTCP-JOBNAME and get report name in the field TBTCP-PROGNAME.
Thanks,
Vinay -
I want to resolve the payment issue still pending .But I don't know what issue remains to be resolved by me? Unless I know the details of the issue how shall I resolve it
Apple is not here. Apple does not answer questions here. This is a user to user tech support forum, no ne here would have any knowledge of your personal account details or a financial dispute that you may have with Apple.
Mac App Store Support -
http://www.apple.com/support/mac/app-store/
iTunes Support -
http://www.apple.com/support/itunes/ -
When will there be an itunes update that resolves the compatibility issues with windows 8
When will there be an itunes update that resolves the compatibility issues with windows 8
I hadn't heard there are issues. Can you tell me what the issues you have run into are? I just downloaded it yesterday on my new laptop and I am having issues syncing today...
-
Need Help in Writing a program using a two-dimensional Array
I need to write a program that takes 16 integers as inputs and determine whether the square is a magic square(sum of each row, column, and diagonal is the same constant) and display the result in a message Box. Please Help!!!!!
stick the 16 ints in an int[4][4] and then just write the methods. i guess thats the hard part though. the most cumbersome and longest possible way to do it is just write everything out. ie if(int[1][1] + int[2][1] + int[3][1] etc...). a better way would be to use a bunch or for loops, but you'll have to figure that out yourself.
-
Need help with writing a program
how would i write a program with one integer variable i that outputs the numbers 1 to 5 on one line. The program may use the System.out.println to only ouput either the variable i or a space (" ").
which one is it in?Boy, you are a lazy one, aren't you. Anyway,
it's in the section about "Control Flow Statements":
http://java.sun.com/docs/books/tutorial/java/nutsandbo
lts/flow.html
But if you are not familiar with for-loops I suggest
that you read the whole tutorial.Unless, of course, the assignment is due in tomorrow morning at 8, and it's now past midnight in your timezone. -
Find the program which retrive the program name for 2 years.
Hi Team,
i have requirement like , i am working on BRITVIC Client , they want to me write a program which has retrive the all development Z program name for last 2 years.
could you please suggest me the standard program which has retrived all program name for last 2 years.
Thanks in Advance.
puneet.Hi,
go to table EUDB - Development Environment Objects
see the program name NAME as putting Z*
where DATUM is the creation date
ZEIT is the creation time
also you can go for table REPOSRC - Report Source Code
Arunima
Edited by: Arunima Rudra on Nov 18, 2008 3:44 PM -
HT4623 Do you have any update which resolve the "No Service" issues on the iPhone 4 and 4S?
Hello!
I am from Sweden. Using iOS 6.0.1 on iPhone 4S. I ordered this iPhone hopping that you have resolved this issue " No Service". I had this problem on my iPhone 4 and that is the reason why I ordered this one. The sim card is now totally blocked for the 5th time. Even on iPhone 4S am having the same issue. Do you have any update which resolve this problem? If not what do you want me to do? All our employees are using iPhone and if this issue is not resolved, we are planning to stop all orders from Apple. Please let me know as soon as possible. My E-mail is [email protected] Thanks!
/ElishahYou are not talking to Apple here; we are users like yourself.Apple does not monitor this forum and will not respond as this is a user-to-user forum.
Did you contact your carrier? It sounds as if it is a carrier problem.
Maybe you are looking for
-
Installation CS 5.5, Exit 15 Code
Good day All, I am on my 6th attempt at an install and I receive the same Exit 15 code. I've done the following: 0) I'm installing this on an HP Probook 6440b laptop running, 32-bit Windows 7 OS; 1) Uninstalled all Adobe products from the system; 2)
-
HTML DB 1.6: Production or Release Candidate?
Hi, an Oracle consultant in Germany told me that 1.6 is not yet production. Is that right? We're currently considering to upgrade our customer's environment from 1.5 to 1.6. If 1.6 is still an RC, when will production be available? Thanks, Kai
-
Hi, I want to stop spool , from getting into SP01 and from printing. I checked one pf the threads from SDN. DATA: print_parameters TYPE pri_params. print_parameters-PRIMM = ''. print_parameters-PDEST = 'LOCL'. print_parameters-PRNEW = 'X'. SUBMIT RC
-
I forgot my e-mail account name and user name, and password
-
Can't Set-up Shared Services and Registry DB Connection associated insthome
I'm getting the following error: "The network Adapter could not establish the connection" I'm trying to configure EPM 11.1.2. It's already install on my machine This is the configtool.log: [2010-09-28T16:53:18.890-04:00] [EPMCFG] [ERROR] [EPMCFG-0102