Plz see this problem
hi Everyone,
I have written a bdc for multiple line items for single header in PO.but i am getting multiple PO number for different line item.
Plz suggest how should i correct it.
report ZPURCHAGE1
no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE ***
data: t_bdc_data like bdcdata occurs 10 with header line.
data: begin of record2,
ebelp(005),
ematn(010),
menge(017),
name1(030),
spinf(001),
end of record2.
data: begin of record,
data element: BSART
BSART(004),
data element: MEPO_VENDOR
SUPERFIELD(051),
data element: EBDAT
BEDAT(010),
data element:
LIST(040),
data element: BSART
BSART_005(004),
data element: MEPO_VENDOR
SUPERFIELD_006(051),
data element: EBDAT
BEDAT_007(010),
data element: EKORG
EKORG(004),
data element: EKGRP
EKGRP(003),
data element: BUKRS
BUKRS(004),
data element:
LIST_011(040),
data element: BSART
BSART_012(004),
data element: MEPO_VENDOR
SUPERFIELD_013(051),
data element: EBDAT
BEDAT_014(010),
data element: EKORG
EKORG_015(004),
data element: EKGRP
EKGRP_016(003),
data element: BUKRS
BUKRS_017(004),
data element:
LIST_018(040),
data element: BSART
BSART_019(004),
data element: MEPO_VENDOR
SUPERFIELD_020(051),
data element: EBDAT
BEDAT_021(010),
data element: EKORG
EKORG_022(004),
data element: EKGRP
EKGRP_023(003),
data element: BUKRS
BUKRS_024(004),
data element: EBELP
EBELP(005),
data element: EMATNR
EMATN(018),
data element: BSTMG
MENGE(017),
data element: MEPO_EWERK
NAME1(030),
data element:
LIST_029(040),
data element: BSART
BSART_030(004),
data element: MEPO_VENDOR
SUPERFIELD_031(051),
data element: EBDAT
BEDAT_032(010),
data element: EKORG
EKORG_033(004),
data element: EKGRP
EKGRP_034(003),
data element: BUKRS
BUKRS_035(004),
data element:
LIST_036(040),
data element: INFUP
SPINF(001),
end of record.
data : itab like standard table of record with header line.
data: itab1 like standard table of record2 with header line.
End generated data section ***
start-of-selection.
*perform open_dataset using dataset.
*perform open_group.
*do.
*read dataset dataset into record.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = ' '
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB.
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 'UPLOAD'
EXPORTING
FILENAME = ' '
FILETYPE = 'DAT'
TABLES
DATA_TAB = itab1.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at itab into record.
*if sy-subrc <> 0. exit. endif.
LOOP AT ITAB1 INTO RECORD2.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEV4000BUTTON'.
perform bdc_field using 'BDC_CURSOR'
'MEPO_TOPLINE-SUPERFIELD'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'BDC_CURSOR'
'MEPO1222-BUKRS'.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEV4001BUTTON'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'BDC_CURSOR'
'MEPO1222-BUKRS'.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-NAME1(01)'.
perform bdc_field using 'MEPO1211-EBELP(01)'
record2-EBELP.
perform bdc_field using 'MEPO1211-EMATN(01)'
record2-EMATN.
perform bdc_field using 'MEPO1211-MENGE(01)'
record2-MENGE.
perform bdc_field using 'MEPO1211-NAME1(01)'
record2-NAME1.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MESAVE'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
record-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
record-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
record-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
record-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
record-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
record-BUKRS.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-EEIND(01)'.
*perform bdc_field using 'DYN_6000-LIST'
record-LIST.
perform bdc_field using 'MEPO1319-SPINF'
record2-SPINF.
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
clear t_bdc_data.
refresh t_bdc_data.
endloop.
endloop.
*perform close_group.
*& Form bdc_dynpro
text
-->P_0046 text
-->P_0047 text
FORM bdc_dynpro USING PROGRAM
DYNPRO.
CLEAR t_bdc_data.
t_bdc_data-PROGRAM = PROGRAM.
t_bdc_data-DYNPRO = DYNPRO.
t_bdc_data-DYNBEGIN = 'X'.
APPEND t_bdc_data.
ENDFORM. " bdc_dynpro
*& Form bdc_field
text
-->P_0051 text
-->P_0052 text
FORM bdc_field USING FNAM
FVAL.
CLEAR t_bdc_data.
t_bdc_data-FNAM = FNAM.
t_bdc_data-FVAL = FVAL.
APPEND t_bdc_data.
ENDFORM. " bdc_field
Mohit
Hi ,
try this :
ur existing codes:
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
clear t_bdc_data.
refresh t_bdc_data.
endloop.
endloop.
proposed codes by me:
clear t_bdc_data.
endloop.
*perform bdc_transaction using 'ME21N'.
CALL TRANSACTION 'ME21N' USING t_bdc_data
MODE 'A'
UPDATE 'S'.
refresh t_bdc_data.
endloop.
Message was edited by:
Jogdand M B
Similar Messages
-
How we can replace the column in Core Table plz see this msg
Hi,
How we can replace the column in Core Table plz see this msg
Req:
when i push the Insert button the data inserted into the Table
like
Cols Values
FOCD CUFZ14
PRDCD FU6
Month 082008
AgencyCD AG02
PLAN 123
This is FO_Plan Table....
Requirement:
i need at table show to replace the Prd_CD to Prd_Desc while inserting the above Row....
There is no Prd_Desc in FO Plan Table....
Prd_desc comes from Product Table.
did u get my point...
how to solve.
Thanks
Ram
Edited by: Ram Vungarala on Sep 24, 2008 9:09 AM
Edited by: Ram Vungarala on Sep 24, 2008 9:15 AMHi,
I'm not sure if I understood what are you trying to do. But you can modify your table in a backing bean code. JSF page code for a table:
<af:table id="product_search_results_tbl" binding="#{backingBean.boundTable}" ... />
And a backing bean code:
import oracle.adf.view.faces.component.core.data.CoreTable;
public class YourBackingBean {
private CoreTable boundTable;
public void setBoundTable(CoreTable boundTable) {
this.boundTable = boundTable;
public CoreTable getBoundTable() {
return boundTable;
public String insertButtonAction() {
// Bind your button action to this method and modify here your bound table
return null;
{code}
Look for column modification methods in a CoreTable class documentation.
Marius -
I changed everything and i signed out then i sign in again but
still my. apple id is disabled plz solve this problem!!!!!????Hello jek28,
Thanks for using Apple Support Communities.
If you're getting the message that your Apple ID has been disabled for security reasons, then please follow the directions in the article below to resolve the issue.
If your Apple ID has been locked - Apple Support
Have a good one,
Alex H. -
Anyone ever see this problem before???
(AKA...welcome to bizarro world)
We picked up a 500MHz iBook (Snow, dual USB) from a recycler because he showed us photos of it's good screen and thought the unit would be good for parts. We were really expecting a piece of junk but when we received the unit we were surprised that it's almost in mint condition.
We turned the unit on and here's what happens:
1. White background with Apple logo shows up, no spinner. Sits like this for about a minute.
2. Suddenly Apple logo is replaced by a rectangle that looks like it has random colors in it.
3. About 20 seconds later, the spinner shows up, and then the system boots.
We thought something was wrong with the boot disk. We've seen a lot of school systems and companies mess with these systems by replacing the Apple logo with one of their own....cute trick if they do it right....if they do it wrong they hose the system. We booted off of a Firewire disk w/Tiger on it and the unit ran fine. Ran AHT on the unit and it passed with flying colors. We decided someone must have messed up the hard disk so we would proceed with a complete repartitioning of the HD and then an install of Panther.
Did the complete re-install of Panther. Unit worked great!!1! Proceeded to download ALL the updates for the unit. Suddenly, the system starts acting flakey.It's dropping internet connections, and can't complete downloads. We reboot. NOW the original problem re-appears (i.e. wierd boot w/scrambled logo). We suspect the disk is erratic and on its way out. We re-attempt the complete installation...once again, it works fine AFTER we do a CD based OS install, and yet once again after attempting software updates problems are re-introduced.
We've done updates on many 500MHz iBooks and completed Panther online software updates without a single problem. There's one catch, and this is the only thing I can think of that's different with this particular system: THIS UNIT HAS A COMBINED DVD-ROM/CD-ROM reader on it...not a CDROM or CD R/W.
Anyone else ever see a problem like this before?OSX Fan:
Congratulations on the mint condition iBook G3.
I would first try re-installing 10.3.9 Combo Update. Remember to Repair Dis Permissions in Applications > Utilites > Disk Utility before and after installing.
I suspect that the HDD is failing or failed. As you may know, the Verified S.M.A.R.T Status reading is not as accurate as the Failing or Failed reading. This computer was introduced in May 2001 so it is well past the 3 to 5 years average life of an internal HDD. Download and run SMART Utility - 2.0.2 and see what that tells you. If the computer boots via firewire that seems to indicate that it works fine. If the issue is in the Panther upgrades, the Combo upgrader should resolve that issue.
Please let us know how the above recommendations work, if you try them.
cornelius -
My ipad mini display, including letters/words, was crystal clear until the last software upgrade. Now everything is fuzzy and less clear. I'm reading many complaints about this on the Internet forums. Since I read a lot of books on my ipad , this is particularly irritating. Anyone else seeing this issue?
Hi Fitz,
Welcome to the Support Communities!
I found adjusting the size, boldness and contrast settings on the iPad mini were very helpful.
Here is a link to the information in the iPad User Guide on page 112:
manuals.info.apple.com/MANUALS/1000/MA1595/en_US/ipad_user_guide.pdf
Large, bold, and high-contrast text
Display larger text in apps such as Calendar, Contacts, Mail, Messages, and Notes. Go to Settings > General > Accessibility > Larger Type, where you can turn on Larger Dynamic Type and adjust the font size.
Display bolder text for items on iPad. Go to Settings > General > Accessibility and turn on Bold Text.
Increase the contrast of text where possible. Go to Settings > General > Accessibility and turn on Increase Contrast.
I hope this information helps ....
Have a great day!
- Judy -
Plz see this and think once..
hai friends,
i got one trouble plz help as soon as u can....imagine i ahve 10000 rows....
i want to upload into one it table and i want to split them into 100 text files..each having the
100 rows...just like splitting them into text files and downloading them as .txt files..plz.help me..How about something like this.
REPORT zrich_0001.
DATA: itab1 TYPE STANDARD TABLE OF string.
DATA: itab2 TYPE STANDARD TABLE OF string.
DATA: wa LIKE LINE OF itab1.
DATA: rec_counter TYPE i.
DATA: fil_counter(3) TYPE c.
DATA: file_name TYPE string.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:/testfile.txt'
CHANGING
data_tab = itab1
EXCEPTIONS
OTHERS = 19.
CLEAR fil_counter.
CLEAR rec_counter.
LOOP AT itab1 INTO wa.
APPEND wa TO itab2.
rec_counter = rec_counter + 1.
IF rec_counter = 100.
PERFORM download_it.
ENDIF.
AT LAST.
CHECK itab2[] IS NOT INITIAL.
PERFORM download_it.
ENDAT.
ENDLOOP.
*& Form download_it
* text
FORM download_it.
CLEAR file_name.
fil_counter = fil_counter + 1.
CONCATENATE 'c:/testfile' fil_counter '.txt' INTO file_name.
CONDENSE file_name NO-GAPS.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = file_name
CHANGING
data_tab = itab2
EXCEPTIONS
OTHERS = 24.
CLEAR rec_counter.
REFRESH itab2.
ENDFORM. "download_it
Regards,
Rich Heilman -
I see this problem with Aperture Library
Well, as you know, we have an Aperture Library. In my case about 60GBs and it will be growing about 35GBs per year. This Library is made of files imported from folders in another external HD (they are the originals imported from the camera). I have a Vault and consequently another file with 60GB. Then I have photos that really are triplicated.
I would love that Aperture import my files and not duplicate them. As iView works.
Please, let me know if there´s another way of doing these things.
Regards.
GuillermoIf you are importing your photos into the Aperture library -- making them Managed, rather than Referenced -- then you can delete the folders you imported them from.
(If you move back and forth between Managed and Referenced, you have a number of choices of moving vs copying, duplicating or not duplicating.)
It always feels strange to delete a lot of images. Many people seem to solve this by archiving the images on DVD. Then you can keep just the images in the Aperture library, and the vault (on separate hard disks), and feel relatively safe. I find I also keep one spare, more-or-less up-to-date copy of the whole library on yet another disk, from a well-founded superstition about hard drives. -
Conversion form .mdf to .DBF , Plz see this...
Hi all,
Thanks for reading this:
My Java application needs to read a .mdf database format (SQLServer) and export data (after some processing) in a .DBF format (for use with ArcView GIS).I can read from my SQLServer, but don't know how to generate a .DBF format. Are there any mechanisms in Java to do this?
Any comments, i greatly welcome.I assume that you are using Windows (as you are talking about SQL Server)
What you could do, is to create an ODBC datasource with the DBF driver.
Then create the target tables while connected to your ODBC connection (through the JDBC/ODBC bridge). This will create the .dbf files (one for each table). This can be done by sending the CREATE TABLE commands through JDBC. You will probably need to test which datatypes DBF supports (apart from CHAR(n))
Then you can connect to SQL Server and read the data from there and INSERT the data into your DBF tables.
If you it's a one to one table copy, you could save your data as SQL INSERT with an appropriate tool and then execute those inserts while connected to you DBF datasource.
Thomas -
rs=stm.executeQuery("select news.news_id,to_char(news_date,'dd-MON-yy HH:MM:SS AM'),heading,desc1,desc2 from news where sysdate<=news_date + interval '2' day order by news_date desc");
while(rs.next()){
newsDate=rs.getString("news_date");
out.println("News ID"+rs.getString("news_id")+"<div align=right>"+newsDate+"</div><br>");
news_id=rs.getInt("news_id");
heading=rs.getString("heading");
out.println("<tr><td><a href=http://localhost:5050/examples/servlet/displayNews?newsID="+news_id+"><font color=olive face='times new roman' size=3><b>"+heading+"</a></font></td></tr>");
out.println("<tr><td>"+rs.getString("desc1")+"<a href=http://localhost:5050/examples/servlet/displayNews?newsID="+news_id+"> Details.....</a><br><br></td></tr>");
}news_date exists in DB but it gives
Error:
Invalid column nametry to use like this to get data :
rs. getInt(1) > use column index number
maybe helps you. -
Plz solve this problem help me and out of them
I have an iphone3gs that was jailbroken but (having my phone being jailbroken) and now the phone won't turn on. The apple logo just flashes on the screen constantly. I tried to restore the phone through Itunes but itunes doesn't even recognize my device. Any advice would be much appreciated.
Terms of Service for this forum prohibit discussion of jailbroken
iPhones. Google may provide you some direction. -
hi,
i have 3 radio butttons , such that i disable one radiobutton. when i start running application in create mode the radiobutton is disabed and it is fine.
now if i have pasted any old transactionid and open the form in change mode i.e changeform the radiobutton is not disable.
can any one tell me . and for create i have ws_mode eq create but i did not found for change .
Bye.-- REP-1401: ''cf_2formula': Fatal PL/SQL error occured.
Hi! I have the same error too except that I'm not using a select statement. The error occurs even if i entered a valid paramter for date.
When I tried inputing into
:refdt1 = 02/01/2007
:refdt2 = 02/15/2007 it doesn't work......(the error occurs)
but when I tried inputing into
:refdt1 = 02/01/2000
:refdt2 = 02/15/2007 it works......
the code is written below....
function CF_2Formula return Char is
begin
return('For the Month '||to_char(:refdt1,'DD FmMonth, YYYY')||' to '||to_char(:refdt2,'DD FmMonth, YYYY'))
end;
please reply asap! thanks!
Message was edited by:
Bernabe, David B. -
Is anyone else having this problem?
I can open itunes once but if I close it for any reason I have to shut down my computer and restart it before itunes will open again
Follow this article to create another User Account and test out if you are still getting this problem. If you don't see this problem under new user, go back to your original user and follow same article under USER SPECIFIC TROUBLESHOOTING to troubleshoot.
iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
http://support.apple.com/kb/TS1717 -
hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out
olliemilne wrote:
- I've tried holding a bunch of different keys when starting up (cmd+R etc.) but again, nothing.
You could try booting the MBP using the OPTION+COMMAND+R keys and see if it will connect to the Apple servers. This would allow you to install the original OSX . I have my doubts though.
- I've tried something crazy suggested in another thread; leaving the Macbook partially opening and shaking it, which supposedly does something to the "sudden motion sensor".
The Sudden Motion Sensor is applicable for conventional Hard Drives, not the SSD that is in a MBA. Doing that will serve no useful purpose.
You have exhausted all reasonable options and will just have to have the MBA evaluated at the genius bar.
Ciao. -
hello,
i restored and updated my iphone 4 to the latest version of 5.1.1 and after that when i connect my mobile to i tunes all i see is a big rectangle and a apple logo on left and a small lock on right side please help me fix this problem.I sloved this issue by resting my phone from settings>general>reset>reset all settings...the problem will be fixed
-
I cannot see my Hotmail saved messages onmy iPad 4. I do not have this problem on my iPad 2. The settings appear identical.Any suggestions to cure the problem? Thank you.
My iPad 2 does exactly the same thing. But I just have to go on to my wifi options and you can either forget this network and then press it again or you can turn wifi off and on again and press that wifi.
Kind regards,
Maybe you are looking for
-
How do I reset my Iphone?
How do I unlock my iphone by resetting it when my itunes won't let me because findmyiphone is'nt turned off on the phone and no matter how many times I try to turn it off using the Icloud app on my macbook pro, my itunes (on the macbook pro) still do
-
I'm having trouble with what seems the most basic of things to customise on the guest portal serverd out of ISE. I'd like the text colour on the page to be black, and not white (so I can use a completely white background). IE the Username, Password &
-
Hi, Is there a recommended number of Weblogic instances when running on a Multi-CPU machine with more than 8, in this particular case - 28. The server behaves really bad if I only run one instance there is too much time spent in the treads waiting to
-
Problem when i create an index
Hello, I'm a beginner on KM, and i have a simple problem (i think... ). I want to create an index on Simple Web Repository (with 2 Web Adresses created) and i have the error : " The repository needs the properties service to be attached to a classifi
-
hey, can anyone tell me whats the Mercedes Benz of Mastering software that is mac compatible? It's because no matter how good my friend and I think are mix is, in L.P, when we import stuff into itunes the Levels in the Itune Meter is ALWAYS, VERY ver