Function module to upload gif images to Purchase order-"Services for Obj...
Hello all,
On ME23N we have option of manually attaching any document to the Purchase order through the option "Services for Object".
Now I have to upload the gif files automaticcal through Backgroud program.
How can we attach the file to the PO automatically?
Need ur inputs on this.
Thanks,
Subba
How to add an attachment to a Purchase Order in SAP?
You can attach manually any document to PO without using Document Management System ( DMS ) in SAP 4.6C.
But you cannot attach document while you create PO in T/Code ME21N
Save you PO ( ME21N ) and again open with change ( ME22N ) then you can attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N )
Click your Service Object button -> Create -> Create attachment
then select your window directory ( which file you need to attach) select your file Now your system shows message Service "Create attachment" is started.
Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.
Note: This is only information for internal or you can print separately this document for sending to vendor ( fax ) System will not print automatically along PO print out.
Similar Messages
-
Uploading sales text and Purchase order text for material master
Hi,
I have created, material master with LSMW byt not updated SALES TEXT and Purchase order text with LSMW now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text when i have done the recording with SHDB i have not found filed in recording.
regards,
zafarHi,
I have made the code in se38
as below but still it is not working
REPORT ZTEST_TEXT.
data: headerl like thead occurs 0 with header line.
data itab3 like tline occurs 0 with header line.
headerl-tdobject = 'MATERIAL'.
headerl-tdname = '00000000000LSMW123'. "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
headerl-tdid = 'BEST'.
headerl-tdspras = 'E'.
append headerl.
move '*' to itab3-tdformat.
move 'Testing PO text' to itab3-tdline.
append itab3.
call function 'SAVE_TEXT'
exporting
header = headerl
insert = ' '
savemode_direct = ' '
tables
lines = itab3
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
IF SY-SUBRC = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = headerl-tdobject
NAME = headerl-tdname.
ENDIF.
break-point.
regards,
zafar -
Purchase order: services for object toolbox missing
Hi
We create PO' via idocs. Sap automatically links the idoc to the PO via service for toolbox. This link is present but the toolbox is missing so we have to use the menu. In our develoment system there is a toolbox present in overview screen (ME22N/ME3N or WE02).
We can't find any difference between the systems so can anyone give us a hint?
KR
JHi
For some reason the toolbox re-appeared the next day. Now it is working fine.
Our next approach would have been to install note 913251 but at this moment is not needed.
KR
Jimmy -
Need Function module to upload an excel file to SAP
Need Function module to upload more than 100 characters of excel file data into SAP internal table.
Currently i have two function module
1. ALSM_EXCEL_TO_INTERNAL_TABLE --32 characters max
2. KCD_EXCEL_OLE_TO_INT_CONVERT --50 characters max
Please let me know some pointers.
Thanks in Advance,
A.Karthikeyan.hi,
use the FM GUI_UPLOAD
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FILENAME
FILETYPE = W_FILETYPE
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = 'X'
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = wp_it_upload
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17. -
BDC : Function Module to Upload Unicode text file
Hi Friends,
Can anyone tell me how to upload data to internal table by taking it from unicode text file ?
at present i'm using FM - GUI_UPLOAD which do not support Unicode text file.
SonalHi,
U Have to use CodePage Parameter to upload the data.
Check the Description
Character Representation for Output
Description
Use parameter CODEPAGE to specify the desired source codepage. If this parameter is not set, the codepage of the SAP GUI is used as the source codepage.
Value range
4-digit number of the SAP codepage. The function module SCP_CODEPAGE_BY_EXTERNAL_NAME provides the SAP codepage number for an external character set name, for example, "iso-8859-1". The function module NLS_GET_FRONTEND_CP provides the respective non-Unicode frontend codepage for a language.
The desired codepage can be determined interactively, if the parameter with_encoding of method file_open_dialog is set by cl_gui_frontend_services.
If the specified codepage is not suited for the Byte Order Mark of the file, an exception is triggered.
SPACE: Codepage of the frontend operating system
Default
SPACE -
Function module to upload Excel in version 3.1
Hi,
Please can anybody tell me what is the function module to upload Excel sheet in SAP version 3.1.its urgent
And also the user-command in radio buttons is not working in version 3.1. Please suggest me the right code for radio buttons in 3.1 version.
please find the following code for radio buttons
SELECTION-SCREEN BEGIN OF BLOCK blck WITH FRAME TITLE text-001.
PARAMETERS: r_local radiobutton group g1 user-command ucomm,
r_app radiobutton group g1,
p_filename LIKE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK blck.
Thanks in Advance....
Regards,
Swapna
Edited by: Alvaro Tejada Galindo on Feb 29, 2008 10:22 AMHi,
Use Ws_upload function module.
Regards,
Sunil -
Any Function module or BAPIs are available to get scheme name for the inter
I have internal order no value in table AUFK-AUFNR , and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?
look at DB-VIEW "V_IVP_OR".
Regards,
Laurent -
Restrict print out of Purchase order only for Production system
Hi,
I want to restrict print out of Purchase order only for Production system, don't want to take it in devep or quality.
is there any identifier to find the system is production or development.
can anyone tell me how to restrict it,
is there any function module, not based on client system.
Thanx in advance
KesavHi Kesavarathinam Vaidyalingam ,
yes, I also use thomas' suggestion using
t000-cccategory = 'P'.
to determine productive client.
Just one small hint: I found this condition as true in a test system: The admin had done a system copy to create a fresh test client - but forgot (or did not see a good reason) to change t000-cccategory = 'P. to t000-cccategory = 'T'.
Regards,
Clemens -
Shipment Document, No Purchase Order & Service Entry Sheet generated
Hi Everyone
We have transportation & shipment module configured in our company.
We are running this process from the last 3 years without any problems whatsoever.
But suddenly from the past 1 month we are facing a very serious issue while saving shipment cost document, i.e *no purchase* *order and service entry sheet* is generated on saving the service entry sheet.
A purchase order and a service entry sheet is generated automatically whenever a shipment cost document is saved. All the congifurations & customisations are correctly done as per sap standards and no request have been moved to production which will disturb the above process.
I have scanned the almost all sdn.sap queries for solutions and have incorporated all the suggestions which will help to solve this issue.
But still the problem persists, i.e still no purchase order & service entry sheet is generated automatically after saving the shipment cost document.
All the settings mentioned below are checked thoroughly.
-- assign puachaging data
--maintain acc. assignment cat.
--automatic G/L acc. determination
--automatic determination of CO assignments
Check the following prerequisites for shipment cost processing has maintained or not
-Shipment must marked as relevant for shipment cost
-Shipment must have the required total status set in shipment cost type
-Shipment must have transportation status planned
-Shipment must have service agent
-Maintainiing and assign shipment pricing procedure to shipement cost
-Maintaining condition records,
Please suggest some solutions to the above issue.
Thanks & regards
satishHi Sumit
Thanks for responding
In tcode t_56 generate PO is "C", I.e generate po for a validity of 1 month, the item category settings are the same since as before.
But for some reason the system is not generating any purchase order from the past month.
The error message is shown below.
No purchase order item was generated for shipment cost item 0000014950 000001
Message no. VY633
Diagnosis
You have marked the shipment cost item for transmission to the finanacial accounting department. For this transaction, you need an order item. The system has attempted to create an order item, but has not succeeded in doing so.
System Response
Transmission of data to financial accounting without a valid order item is not possible. For this reason, all items that you have marked for transmission are reset.
Procedure
The log displays further information as to why the system could not create an order, although all the settings in Customizing were configured. You can also create an order manually that corresonds to the shipment cost item and then transmit this again.
Thanks
satish -
I Need interactive report to list the purchase orders details for a vendor
I Need interactive report to list the purchase orders details for a vendor that has interactive drill down options to give the detail of vendor from vendor master.
Hi
see this sample report
this is Customer wise sales orders
just make similar report just using LFA1, EKKO and EKPO tables instead of KNA1,VBAK,VBAP
REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'SY-LSIND =', sy-lsind,
/ 'SY-UCOMM =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
SY-LSIND = 14
SY-UCOMM = PF06
Example for AT USER-COMMAND.
REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'SY-LSIND:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'SY-LSIND:', sy-lsind,
/ 'SY-PFKEY:', sy-pfkey.
ENDFORM.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
Regards
Anji -
Report including open purchase order quantity for one storage location
Hello gurus,
I am looking for a report giving me the total/available stock and the open purchase order quantity for all materials stored in a certain storage location.
I.e. like this:
Plant 0001, storage loc. 01
Material stock open purchase order quantity
100000 200 pcs. 50pcs.
Is there such a report in SAP standard?
Thanks
AliciahI
U want the report like this ,
MAterial stock availablein storage location and with Open PO quantity for the same material.???
This report u can get in 2 different transaction . the n u can combine and create one custom transaction .
One is for materil stock in storage location is MB52 or MB5B
THen ME2N for open PO quantity for that material. -
Purchase order number for each postings with FBL3N
Hello
With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
thanks for inputs
sbHello,
Could you please add field BSEG-EBELN as a special field in FBL3N (from
menu path Settings -> Special fields).
Then, select the Purchase order field again from "Change Layout"
(Ctrl+F8). Now this field is available for display variants, it has the
technical name 1-U_EBELN and the description 'Purchase Document'.
The other field has the same description but as technical name
'1-EBELN'. When you create a display variant be aware that you select
1-U_EBELN and not 1-EBELN.
*******Please also refer to attached notes 215798 and 984305.
Best regards, Hana -
There is still a purchase order commitment for WBS
Hi All,
We need to close whole project while closing I am getting the attached error.
There is still a purchase order commitment for WBS
Additional Information or Comments: = I have checked and closed all purchases order commitment. But still the project shows the below error .
Edited by: nandhasapfi on Sep 22, 2011 10:52 AMHello,
This message is being output correctly as the AuC still has
values against it.
These values must be cleared before you can close the WBS element.
Please do a FUL settlement against the WBS element to clear
these values and then try to set the CLSD status again.
There are two ways to 'clean' the AuC, so that you can deactivate it
and close the wbs element:
1. Post a manual retirement of the AuC to clean it.
2. Create a new AuC and use it for all the differences in the final
settlement.
I hope this helps,
regards
Ray -
Dear all,
how can i solve this problem:
I create an PM order for a purchase order services. The operation itselfs include the services and in the components i insert some different materials. On the bill are other quantities and prices later than the beginning, when i created the order. Now, is it necessary or adsivable to change the pm order and the purchase order? For all purchase order services there is much to do. Can this be possible?
Thanks & best regardsHi,
Are components will be provided to External vendor by the company? If so, then you can define the components in component tab, else its not necessary to define the components in Order.
Only for the internal operations, components will be planned & the variances can be calculated between planned & actual. But for external, its not possible to plan components as internal team will not sure enough about the operations.
Regards,
Maheswaran. -
Output error in purchase order 3000000002 for output medium PRN
Hello,
I got this error message:
'Output error in purchase order 3000000002 for output medium PRN'
Regards,
LinaHi
<b>Please go through this -></b>
To set Output type,check the foll path:
SPRO->supplier relationship management-> SRM Server->Cross application basic setting->set output action and output format
See the foll link for more details:
http://help.sap.com/saphelp_srm50/helpdata/en/91/41faf2c220e84c9002a4ae4cc1906a/frameset.htm
Look for BADI "BBP_SEND_MEDIUM_MODE ".
<b>Related notes:</b>
Note 1028388 - User settings for output medium is not saved.
Note 885593 - SRM 5.0 SP02: Incorrect output medium and change impossible
Do let me know.
Regards
- Atul
Maybe you are looking for
-
Hi! I payed 17 pounds per month to use the product Photoshop and is not working. Can you help me? Thanks
-
How to send AT Command in fax modem from fax api?
hi, i want to send a dial pad number in my fax modem. i am using Interop.FAXCOMEXLib dll in my C# Project.i can send and receive fax. i want to send a number of dial (after 20 sec dialing) for example send 5 number or send at command : "AT5" for dial
-
Mail showing blank screen after iOS 8.2 upgrade
after upgading to iOS 8.2 today, my mail is showing what seems to be a blank gmail screen, then goes dark, then transparent. Not able to get any email. Tried deleting gmail account, still getting same screen.
-
Testing a webservice in CE 7.1EHP1 WS Navigator
Hi, We are testing a webservice : Create Document (WSDL : http://<host Name>:<Port_name>/sap/bc/srt/xip/sap/ECC_DOCUMENTCRTRC?sap-client=100&wsdl=1.1) using Web service Navigator on CE 7.1 EHP1. The error message we get in the result is "Exactly-onc
-
Microsoft Visual C++ Debug Assertion Failed
Hi all, A message from Microsoft Visual C ++ debug Library has appeared on my handheld (Treo Pro). From googling this type of message I've discovered that there are possibly some buttons at the bottom saying something like "abort', 'retry' or somethi