Anybody help on mm01 using bapi????????????
hello everybody!!
i want executable code on mm01 with using bapi................
my requirement is upload mm01 data ( no validations)
i want complete code from strach..........
pls help anybody .......
Here's the complete code for T-code MM01.
Just a make a text file with relevant data in the program.
REPORT zrs NO STANDARD PAGE HEADING.
*-- Variable declaratins
DATA: fname LIKE rlgrap-filename.
DATA: wa_string(255) TYPE c.
*CONSTANTS: con_tab(2) TYPE c VALUE '09'.
constants: con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
TYPES:BEGIN OF t_mat,
matnr(10),
desc(10),
uom(5),
END OF t_mat.
*-- Work area declaration.
DATA : i_mat TYPE TABLE OF t_mat.
DATA: i_mat_temp TYPE TABLE OF t_mat.
DATA : wa_mat TYPE t_mat.
DATA : wa_matstr TYPE t_mat.
INCLUDE bdcrecxx.
START-OF-SELECTION.
CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = ' '
filetype = 'DAT'
ITEM = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
LINE_EXIT = ' '
USER_FORM = ' '
USER_PROG = ' '
SILENT = 'S'
IMPORTING
FILESIZE =
CANCEL =
ACT_FILENAME =
ACT_FILETYPE =
TABLES
data_tab = i_mat
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
WRITE:/ 'Internal Table not populated.'.
ENDIF.
**--- Name of file inapplication server
fname = 'bdcdata.txt'.
OPEN DATASET fname FOR OUTPUT IN TEXT MODE encoding default. " encoding default not in 4.0b
IF sy-subrc <> 0.
WRITE: / 'Error opening file'.
ENDIF.
**---Transfering data from internal table to dataset
LOOP AT i_mat INTO wa_mat.
TRANSFER wa_mat TO fname.
ENDLOOP.
CLOSE DATASET fname.
CLEAR i_mat.
CLEAR wa_mat.
PERFORM open_group.
**-----Opening dataset for reading
OPEN DATASET fname FOR INPUT IN TEXT MODE encoding default.
Reading the file from application server
DO.
READ DATASET fname INTO wa_string.
IF sy-subrc <> 0.
EXIT.
ENDIF.
SPLIT wa_string AT con_tab INTO TABLE i_mat_temp.
SPLIT wa_string AT con_tab into table i_mat_temp.
LOOP AT i_mat_temp INTO wa_mat.
APPEND wa_mat TO i_mat.
ENDLOOP.
ENDDO.
CLOSE DATASET fname.
LOOP AT i_mat INTO wa_mat.
PERFORM bdc_dynpro USING 'SAPLMGMM' '0060'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RMMG1-MTART'.
PERFORM bdc_field USING 'RMMG1-MATNR'
wa_mat-matnr.
PERFORM bdc_field USING 'RMMG1-MBRSH'
'W'.
PERFORM bdc_field USING 'RMMG1-MTART'
'FERT'.
PERFORM bdc_dynpro USING 'SAPLMGMM' '0070'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MSICHTAUSW-KZSEL(01)'.
PERFORM bdc_field USING 'MSICHTAUSW-KZSEL(01)'
'X'.
PERFORM bdc_dynpro USING 'SAPLMGMM' '4000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGMM'
& ' 2000TABFRA1'.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 1002SUB1'.
PERFORM bdc_field USING 'MAKT-MAKTX'
wa_mat-desc.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 2001SUB2'.
PERFORM bdc_field USING 'BDC_CURSOR'
'MARA-MEINS'.
PERFORM bdc_field USING 'MARA-MEINS'
wa_mat-uom.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 2561SUB3'.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 2007SUB4'.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 2005SUB5'.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLMGD1'
& ' 2011SUB6'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_transaction USING 'MM01'.
REFRESH bdcdata.
ENDLOOP.
PERFORM close_group.
<b>Hope this is helpful, Do reward</b>
Similar Messages
-
I want complete code of mm01 using bapi's
hi experts!
my requirements is upload material master data using bapi....
i want complete code of mm01 ......i have no idea of bapi
pls help me anybody...............................Dear Shilpa,
Please go through the following link:
https://www.sdn.sap.com/irj/sdn/wiki
Tutorial, MM01 Upload using BAPI
Author: Karthik Potharaju
Submitted: 28.09.07
*& Report ZKAR_MATMAS_BAPI
*& This program demonstrates how easy it is to create Material master
*& data using BAPI_MATERIAL_SAVEDATA
*& The program also generates a report post-execution displaying errors
*& as well as successful uploads
*& Written by: Karthik Potharaju
*& URL: http://allaboutsap.blogspot.com
REPORT ZKAR_MATMAS_BAPI.
TABLES
FLAGS *
DATA: F_STOP. " Flag used to stop processing
DATA DECLARATIONS *
DATA : V_EMPTY TYPE I, " No. of empty records
V_TOTAL TYPE I. " Total no. of records.
STRUCTURES & INTERNAL TABLES
*--- BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
*--- Internal table to hold excel file data
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*--- Internal table to hold Matetrial descriptions
DATA: BEGIN OF IT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
WERKS(4), " Plant
MTART(4), " Material type
MATNR(18), " Material number
MATKL(9) , " Material group
MBRSH(1), " Industry sector
MEINS(3), " Base unit of measure
GEWEI(3), " Weight Unit
SPART(2), " Division
EKGRP(3), " Purchasing group
VPRSV(1), " Price control indicator
STPRS(12), " Standard price
PEINH(3), " Price unit
SPRAS(2), " Language key
MAKTX(40), " Material description
END OF IT_DATA.
SELECTION SCREEN. *
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
'C:Material_master.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*--- Validating file
PERFORM VALIDATE_FILE USING P_FILE.
START-OF-SELECTION
START-OF-SELECTION.
*--- Perform to convert the Excel data into an internal table
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
*--- Perform to delete Header lines
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
END OF SELECTION. *
END-OF-SELECTION.
*--- Perform to upload Material Master data
PERFORM UPLOAD_MATMAS.
Form : validate_input_file
Description : To provide F4 help for file if read from PC
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
FILE_NAME = F_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
ENDIF.
ENDFORM. " validate_input_file
*& Form CONVER_XLS_ITAB
text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*--- Perform to move the data into an internal data
PERFORM MOVE_DATA.
ENDFORM. " CONVERT_XLS_ITAB
*& Form MOVE_DATA
text
FORM MOVE_DATA.
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
To delete the Header and empty records
FORM DELETE_HEADER_EMPTY_RECS.
DATA: LV_TABIX LIKE SY-TABIX.
IF NOT P_HEADER IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
P_HEADER = 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
*--- To delete the empty lines from internal table
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX..
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
*--- Total no of recs in file
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. " DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_MATMAS
to upload Material Master data
FORM UPLOAD_MATMAS .
LOOP AT IT_DATA.
Header
BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
Material Description
REFRESH IT_MAKT.
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
APPEND IT_MAKT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = IT_DATA-WERKS.
BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
BAPI_MARCX-PLANT = IT_DATA-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
Accounting
BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
*--- BAPI to create material
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA = BAPI_MVKE1
SALESDATAX = BAPI_MVKEX
STORAGETYPEDATA =
STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,it_data-matnr.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,it_data-matnr.
ENDIF.
ENDLOOP.
ENDFORM. " UPLOAD_MATMAS
Regards,
Abir
Don't forget to Reward Points * -
HI all ,
i am new to bapi . i have created so many bdcs to upload data in sap but havent done any bapi .
i want to upload data through bapi for mm01 .
how can i achieve this and which bapi is responsible for this job . plz send any sample code for this .
Thanks ,
Amit Ranjan .Hi Amit,
Refer to the code in the following link:
Re: Reg Transfer of MM01 data using BAPI method
Hope this will solve your query... -
Need screen-shot for create mm01 using BAPI(Through lsmw or ecording)
hi,
could u give screen-shot of the lsmw using bapi.for material master data create using t.code (mm01')
i will be waiting for eply.
regards
eswar.Check this link dude.....
http://www.****************/Tutorials/LSMW/LSMWMainPage.htm
It has all different types of LSMW with the screen shots.... keep doin
Regards,
Pavan -
I am trying to upload the purchase order long text in mm01 using BAPI
Hi All,
I am trying to upload Purchase Order Long text (which is in chinese Language) and Language field with ZH(chinese) in MM01 using BAPI_MATERIAL_SAVEDATA.
It is uploading properly, But in the Language field it is showing Z1(Customer reserve) instead of ZH(Chinese).
What could be the reason for this and how it can be resolved.
Thanks in advance,
RajaHi,
Which input parametr did you use? See table T002
LANGU = '1'
LAISO = 'ZH'
Rgds,
JP -
Kindly help reg - LSMW using BAPI
Hi All,
I am using LSMW using BAPI method to upload data to create an Purchase order. I m getting this error.
" Identification specifications missing for source structure 'PSOURCE_HEAD' ".
Here are the steps I have followed.
1. Created an IDOC Inbound Processing.
2. Bussiness Object: BUS2012
Method : CreateFromData
Message Type : PORDCR
Basic Type : PORDCR05
3. Maintained Source Structure : PSOURCE_HEAD AND PSOURCE_ITEM
4. Maintained Source Fields for PSOURCE_HEAD AND ITEM
5. Maintained Structure Relations:
E1PORDCR=>PSOURCE_HEAD
E1BPEKKOC=>PSOURCE_HEAD
E1BPEKOC=>PSOURCE_ITEM
E1BPEKET=>PSOURCE_ITEM
6. MAINTAINED FIELD MAPPING:
E1PORDCR - E1PORDCR-HEAD_ADD_DATA_RELEVANT = 'H'.
E1PORDCR - E1PORDCR-ITEM_ADD_DATA_RELEVANT = 'I'.
7. specify files
8. Assign Files : assigned uploaded file to both PSOURCE_HEAD AND PSOURCE_ITEM
9. IMPORT DATA: I M GETTING THE PROBLEM " Identification specifications missing for source Structure 'PSOURCE_HEAD' ".
H 1001 1000 000
I 100-130 20 200 001 1000 28.06.2006
With Regards
VasuHi vasu
I have encountered the same problem with material BOM creation.
The reason you get this message is probably because you didn't define correctly the identification field in the source structures.
In step 'Maintain source fields' you should define the first field of every structure as identification field by creating char field of length 1. Then from the tree view of source fields, double click this field (in change mode) and give appropriate value in field 'Identifying Field Content', meaning 1 for header structure, 2 for items structure etc.
This should fix the problem.
Best regards -
HELP NEEDED *Lsmw using bapi as import method*
Hi,
I am trying a n example implementing lsmw using bapi as inport method for the purchase order data. Here when i am trying to get the data i am getting an error "Ensure field sequence is correct for data for multiple source structures". I have single text file which has both header and the line item data.
IDENTIFIER VENDOR PURCH ORG PURCH GRP
H 100001 0001 001
IDENTIFIER MATERIAL QTY PRICE MATGRP PLANT DELDATE
I A 50 1000 YAS1 20/10/2007
Thank you,
MadhuHi madhu,
check the step where you assign the source structure in the LSMW and check whether it is in accordance with your flat file field sequence. I think that is cause for your error.
Reward points if useful.
Best Regards,
Sekhar -
Can ANYBODY help me hotsync using OS 10.4.5?
I recently upgraded my Mac OS from 10.4.4 to 10.4.5, and now I cannot
hotsync with my Palm Tungsten E. I uninstalled and reinstalled the
latest Palm Desktop software, and then I reinstalled the Microsoft
Entourage Conduit. However, when I hotsync, I get an errror message in
the HotSync log telling me:
"Before you can synchronize with the applications on this handheld
device, you must enable synchronization in the Entourage Conduit
Settings dialog box. For the latest information on compatibility issues
and solutions, visit the Office 2004 Web Site synchronization failed"
This is odd, because synchronization is "enabled" in the Entourage
Conduit Settings dialog box.
Surely somebody else must have this problem as well? Can anybody offer any advice? I haven't been able to hotsync in two weeks. Posting to the Palm and Microsoft forums was no help.
Thanks,
ChuckYou are aware that permissions repairs & disk repairs are not the same thing, right? The "Repair Disk" step in Disk Utility attempts to repair file system problems, not the permissions of files in the file system. Disk Warrior is also a disk (file system) repair utility, one that uses a different & more powerful method (rebuilding the file system directory from scratch) than Disk Utility does to fix the file system.
If neither utility can repair your file system, you must (as the instructions in the first few lines of Disk Utility's First Aid tab tell you) back up & erase the disk volume. This will recreate a fresh file system that should be free of problems & allow you to install the OS, restore your user files from backups, & apply any updates to create a trouble free system.
If this fails, the most likely cause is even more severe problems with your hard drive than erasing a volume can solve. The next step would be to reformat it, & if that fails to replace the drive.
Before you consider anything as drastic as erasing anything, make sure your problem is not just with permissions but with the disk -- IOW, with the file system. -
nno sound when I use in app streaming
Hello Saranginotes,
After reviewing your post, I have located an article that can help with iOS audio issues. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker
Can't hear anything from the built-in speaker of your iPhone, iPad, or iPod touch? Maybe you can hear, but the sound is distorted, muffled, intermittent. Or maybe you hear static or crackling noises. If your iOS device has any of these issues, follow these steps.
Follow these steps and test the sound after each one.
Go to Settings > Sounds and drag the Ringer And Alerts slider to turn the volume up.
If you can hear sound from the speaker, then the speaker works. Continue with these steps to find the setting or switch that's affecting the sound. If you can't hear sound from the speaker, contact Apple Support.
Make sure the Ring/Silent switch is set to ring. If you can see orange, it's set to silent.
Restart your device.
Open an app that has music or sound effects. Adjust the volume with the volume buttons or the slider in Control Center.
Go to Settings > Bluetooth and turn off Bluetooth.
If there's still no sound, connect a headset. If you can hear sound through the headset, remove it and clear any dust or debris from the headset jack of your device.
If the device is in a case, make sure that the case doesn't block the speaker.
Use a brush to gently clear any debris from the speaker and Lightning connector (or 30-pin dock connector). The brush should be clean and dry and have soft bristles.
Update your device to the latest version of iOS.
If you followed these steps and still hear no sound or distorted sound, contact Apple Support.
Thank you for contributing to Apple Support Communities.
Cheers,
Bobby_D -
Help in Quotation creation using BAPI
I want to create Quotation with reference to Inquiry. I am using std BAPI 'BAPI_QUOTATION_CREATEFROMDATA2' but I am not able to crate with reference to Inquiry. If you see the std tcode VA21 there is option to create with reference; there you can put the inquiry number. This functionality, I want to implement using BAPI.
Can anybody tell me how to achieve this.
Thanks in stackNilesh,
There is a problem if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA2', the table flow will not be maintained (i.e) it will not maintain the document flow which you can view using
VA13(Inquiry)->Document flow(F5). It will allow you to create any number of quotations for the same inquiry. This will be the case even if you use the BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.
The alternative you can use is use a BDC program for just creating the Quotation(VA21). Then use the BAPI 'BAPI_CUSTOMERQUOTATION_CHANGE' to change the quotation. I have done this before and it is working perfectly fine. Hope this solves your issue.
Note: Reward points if found helpful. -
I have an iPhone 3gs and it used to show up on my computer, but now it shows up on my screen that it is charging however, does not appear in iTunes or My Computer so i can't sync it. Can anybody help? Thanks.
Did you already make sure that Apple Mobile Device Service is installed and active on your computer?
http://support.apple.com/kb/TS1567
More troubleshooting about your device not recognized in Windows can be found here: http://support.apple.com/kb/TS1495 -
My Bluetooth USB wireless transmitter for my portable BT speakers has quit working. Preferences says, "The selected device has no output controls", it used to work just fine. The internal and a pair of wired external speakers work fine. Can anybody help?
Just tested something and it worked.
If I put the headphones all the way in, the mac recognizes it as a digital output.
But if i don't put it all the way in, it recognizes it as headphones and works perfectly.
It's probably this crappy headphones.
If anyone has the same problem, try this out. -
Hi all! I was updating the software on i pad to ios6, update was interrupted(apple update server is unavailable...). iTunes Diagnostics shows that "secure link to I tunes store failed". I use Windows 7 Home Premium 64 bit. Can anybody help please?
The following was done so far:
1. Windows Firewall - new rule created for itunes.
2. iTunes - latest version installed.
3. LAN setting : automatic detection of proxy is enabled;
4. iTunes diagnostics shows:
Microsoft Windows 7 x64 Home Premium Edition (Build 7600)
TOSHIBA Satellite L655
iTunes 11.0.2.26
QuickTime 7.7.3
FairPlay 2.3.31
Apple Application Support 2.3.3
iPod Updater Library 10.0d2
CD Driver 2.2.3.0
CD Driver DLL 2.1.3.1
Apple Mobile Device 6.1.0.13
Apple Mobile Device Driver 1.64.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.6.502
Gracenote MusicID 1.9.6.115
Gracenote Submit 1.9.6.143
Gracenote DSP 1.9.6.45
iTunes Serial Number 003FB880034B7720
Current user is not an administrator.
The current local date and time is 2013-04-23 11:01:14.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is supported.
Core Media is supported.
Video Display Information
Intel Corporation, Intel(R) HD Graphics
**** External Plug-ins Information ****
No external plug-ins installed.
iPodService 11.0.2.26 (x64) is currently running.
iTunesHelper 11.0.2.26 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
**** Network Connectivity Tests ****
Network Adapter Information
Adapter Name: {1CB5BBC2-8124-4664-899A-CE0A4683E3B4}
Description: Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
DHCP Enabled: Yes
DHCP Server:
Lease Obtained: Thu Jan 01 08:00:00 1970
Lease Expires: Thu Jan 01 08:00:00 1970
DNS Servers:
Adapter Name: {8140112A-43D0-41D6-8B36-BE146C811173}
Description: Atheros AR8152/8158 PCI-E Fast Ethernet Controller (NDIS 6.20)
IP Address: 10.5.7.196
Subnet Mask: 255.255.0.0
Default Gateway: 10.5.0.1
DHCP Enabled: Yes
DHCP Server: 172.18.255.2
Lease Obtained: Tue Apr 23 10:14:40 2013
Lease Expires: Tue Apr 23 22:14:40 2013
DNS Servers: 121.97.59.7
121.97.59.2
121.97.59.3
Active Connection: LAN Connection
Connected: Yes
Online: Yes
Using Modem: No
Using LAN: Yes
Using Proxy: No
Firewall Information
Windows Firewall is on.
iTunes is NOT enabled in Windows Firewall.
Connection attempt to Apple web site was successful.
Connection attempt to browsing iTunes Store was unsuccessful.
The network connection timed out.
Connection attempt to purchasing from iTunes Store was successful.
Connection attempt to iPhone activation server was successful.
Connection attempt to firmware update server was unsuccessful.
The network connection timed out.
Connection attempt to Gracenote server was successful.
The network connection timed out.
Last successful iTunes Store access was 2013-03-22 10:05:31.
@@@. iTunes IS ENABLED THROUGH THE FIREWALL , even though diagnostics says "NOT enabled"hours after the first post i somehow got this to work. dont know how, but i do tried the dns clear cache, the clear host file, oh and i did the check automatically detech dns AND THEN se-check it again before i got this to work.
-
I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
Hi, why can't I use the iMessage on my iPhone? I've already had my apple id email on it but it keeps saying "waiting for activation" always like that. No progress. Could anybody help me on this? Cheers
I have an old iPod Touch with old software that can no longer be updated:
iOS version 6.1.6
I've been searching for a solution to my iMessage login problem for months and tried everything from those frustrating links and all the tips from other users.
Here is what finally worked:
1) Settings > Privacy > Location Services > On
2) Settings > General > Date & Time > Set Automatically > On
3) Reboot device until Apple logo appears
4) Settings > Messages > Sign In
Maybe you are looking for
-
where is my files that i converted ?? please advise.
-
Hello! I have a Label control sitting on top of an image control. The image and text are both user submitted. How can I detect what colour is under the text and thus make it white if the bg is black and black if the bg if white? Thank you!
-
How to use iMovie HD in Yosemite!
Thanks to Ziatron for discovering this. One goes to the crossed out iMovie HD application, right click on it, open package contents, then macos, then right click on iMovie HD which opens in terminal. No worries, just leave the terminal window open, a
-
Question about EWS - The operation has timed out
hi everyone, I'm developing a solution which uses public folder database in Exchange Server to store tasks: - We use 1 account to access to public folder database by using EWS. - Currently, this public folder database contains 60000 tasks and they ar
-
Hi Folks, Just wanna check with you guys on the mailbox quota. I know that it can be set per user basis like below mailQuota: 2000000 -> 2MB Is it possible to set per domain basis say 5MB. So all users will have only 5MB set for mailbox account on th