Output Purchase Order from SRM / EBP as File (without XI)
HI there,
I would like to be able to output the EBP Purchase Order in a file (preferably XML format, but main requirement is for no / little bespoke work to create the file format) to the vendor.
Without middleware, we are envisaging having to create an ABAP program to do the routing of the file (probably FTP), but ideally do not want to have to do loads of work to create a bespoke file format. Unfortunately it seems that BC and XI do the translation into SAP XML otherwise we could have intercepted the process after the file was created and sent it using our bespoke program.
We are on SRM 3.0, EBP 4.5 (extended classic scenario) and do not have XI. I have done quite a lot of research on this, but the standard scenario for outputting XML file assumes at least Business Connector (seen lots of information on how to set this up for BC or XI). I think we can download BC for free (or might have it from the original install discs), but am concerned that it is no longer supported.
My questions are really -
1) Is it advisable to use the Business Connector even though it is out of support?
2) If so, are there any licensing implications to use it?
3) Is there any other way of outputting the PO as a file from EBP without middleware (can't see the option to output iDoc as with R/3) and without having to do and maintain lots of bespoke mappings?
Your help on this would be much appreciated.....
Thanks
Matt
Hello Matt,
I heard the Business Connector is not out of support by SAP due to many many customer request, but I didn't find a link on SAP Net.
You can program a method to create IDocs, define an action that uses this method for POs in the output management of SRM and route the IDocs to the Business connector.
Hope that helps,
Karsten
Similar Messages
-
Returns item from purchase order in SRM
Hi,
Is it possible to return item from a purchase order in SRM?
meaning : to return goods to an external vendor.
in ECC i know its possible. but i want to know if its possible in SRM.
if yes, how?
(i dont want to return by confirmation)
we are using SRM550.
regards,
vered
Edited by: Vered Madar on Aug 2, 2010 1:28 PMHi,
In SRM POs, GR based invoice indicator for Goods item is ticked based on the Vendor Master. If the vendor master has the tick, then PO will have the tick for GR based invoice. However for a service PO/limit PO, GR based invoice comes as default in PO and cannot be undone.
Regards,
Sanjeev -
Purchase Order going into Error in process while ordering from SRM.
Hello All,
We are facing a typical issue where the PO is going into error while ordering from SRM. The error message is ' 17.09.2010 12:45:35 Purchase order XXXXXXX: G/L account XXXXXX cannot be used (please correct ) '
Is there any mechanism/tcode where we can list out the Backend errors in SRM?
We are using SRM 4.00.
Thanks.
Rgds,
Arnabask your FI /CO consultant
since there are different types of GL accounts like expense , inventory .
so he can guide you well what GL account is correct
as well check product category vs gl account configuration. -
Role for "OUTPUT CONTROL PURCHASE ORDER" in SRM 7.0
Hi all,
What is the role in SRM 7.0.1 which will give me menu for the "OUTPUT CONTROL PURCHASE ORDER" in portal?
Thanks.Hi CG,
The role of operational purchaser should be sufficient to give 'OUTPUT CONTROL PURCHASE ORDER" in SRM 7.0.
Thanks and regards,
Ranjan -
Re: Error in submitting Import Standard Purchase orders from Pl/Sql
Hi All,
Iam using the following code to submit a concurret program
"Import Standard Purchase orders" from pl/sql
Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
My instance R12
My Code
======
DECLARE
v_request_id VARCHAR2 (100);
BEGIN
mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
mo_global.init ('PO'); -- sets the application
FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
v_request_id :=
fnd_request.submit_request (application => 'PO',
program => 'POXPOPDOI',
description => NULL,
start_time => NULL, -- To start immediately
sub_request => FALSE,
argument1 => '31348', -- Buyer_ID
argument2 => 'STANDARD', -- Doc Type
argument3 => '', -- doc subtype
argument4 => 'N', -- update items
argument5 => '', -- create sourcing rules not used
argument6 => 'INCOMPLETE', -- Approval status
argument7 => '', -- release generation method
argument8 => '1021387', -- batch_id
argument9 => '', -- operating unit null
argument10 => '', -- global agreement null
argument11 => '', -- enable sourcing null
argument12 => '', -- sourcing level null
argument13 => '', -- inv org enabled null
argument14 => '' -- inv org null
DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line (
'Request set submission failed - unknown error: ' || SQLERRM
END;
output
=====
when i check output i am getting the follwing error
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 133
Log message
==========
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
31348
STANDARD
N
INCOMPLETE
1021387
Start of log messages from FND_FILE
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 945297
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
End of log messages from FND_FILE
Thanks
Manoj kumarPass NULL instead of ''
Check the flag
SELECT multi_org_category
FROM fnd_concurrent_programs
WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
Otherwise,
Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
HTH
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
Update was terminated while creating purchase order from ME21N
Hi Experts,
We are getting this dump when try to create purchase order from ME21N;
Our system ECC 6.0 and IS-AFS (Apparel & Footwear Solution) V600 component has installed,
How can we prevent this error,
Regards
Here is the dump and sm21 log,
Runtime Errors LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
Date and Time 10.10.2008 10:22:03
Short text
Program "RMCMS431 " not found.
What happened?
There are several possibilities:
Error in the ABAP Application Program
The current ABAP program "SAPLMCS4" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "SAPLMCS4" program had to be terminated because the
ABAP processor detected an internal system error.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
caught in
procedure "TMC2F_FROUT_CALL" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely "RMCMS431 ".
However, program "RMCMS431 " does not exist in the library.
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
How to correct the error
Check the last transports to the R/3 System.
Are changes currently being made to the program "SAPLMCS4"?
Has the correct program been entered in table TSTC for Transaction "ME21N "?
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"LOAD_PROGRAM_NOT_FOUND" "CX_SY_PROGRAM_NOT_FOUND"
"SAPLMCS4" or "LMCS4F10"
"TMC2F_FROUT_CALL"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"TMC2F_FROUT_CALL" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
sm21 log ;
Transaction Canceled 00 671 ( LOAD_PROGRAM_NOT_FOUND 20081010102203saptest_TET_00 EYUCE 100
Update terminated
> Update key: F39796DD5421F1509233001E0BD601E0
> Update module: MCE_STATISTICS_UPD_V2
Run-time error "LOAD_PROGRAM_NOT_FOUND" occurredPlease follow the oss note 800335
V2 Update terminations in Purchasing transactions after upgrading or installing AFS 5.0 release.
Other terms
AFS, LIS, MIGO, ME22N, OLI3, S433, S431
Reason and Prerequisites
AFS Purchasing infostructure S431 is no longer used. S433 is the valid infostructure for the release AFS 5.0.
Solution
Please do the following.
For customers upgrading to AFS 5.0 only:
> Rebuild Infostructure S433.
- Goto transaction: OLI3 (Statistical Set up of Infostructures)
- Info structure to be compile: S433
- Specify the 'Name of run'.
- Execute.
> Please also follow the instructions given below.
For both Upgrade and Non-upgrade Customers:
> Create the report 'ZDELS431'.
- Transaction: SE38
- Give Program name as ZDELS431.
- Create (F5).
- Title : 'Program to delete S431'.
- Type : 1 (Executable Program).
- Status: T (Test Program).
> Copy the program text from the note and paste in the program.
> Save and activate the program.
> Execute the report for all clients in Update mode.
(Two check-boxes will appear: P_ALL_CL, P_UPDATE.
Please check both of them).
This report will delete all the references to infostructure S431. -
Printing Purchase Order from ME9F using custom program and smartform
I was able to use my custom program which calls a smartform to print purchase orders from transaction ME9F. I did this using transaction NACE.
However, when I call "Output Message" from ME9F, the output always fails (shown by an 'X' icon after the checkbox). When I try to put back the standard program in NACE, it does not show an 'X' but a check which indicates that the printing was successful.
Do you know why this happens? What did I miss?
Here's my call to my smartform from my custom driver program:
" Change Smartform ZP_MMSF_P01_PURCHASE_ORDER
" to internal Function module name
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZP_MMSF_P01_PURCHASE_ORDER'
IMPORTING
FM_NAME = fmname
wa_cparam-no_dialog = 'X'.
wa_output-tddest = 'LOCL'. "or 'LP01'. "Spool: Output device
CALL FUNCTION fmname
EXPORTING
control_parameters = wa_cparam
output_options = wa_output
i_data = i_data
wa_lookup = wa_data_lookup
goods_amt = goods_amt
discount_amt = discount_amt
vat = vat
total_amt = total_amt
total_amt_inwords = total_amt_inwordsVijaya,
I have this problem though,
Whenever I try to provide values for CONTROL_PARAMETERS and OUTPUT_OPTIONS to the sapscript call in your code, the PO printing (even the preview) does not proceed. I do this because I wanted to suppress the printer dialog.
here is a fragment of the code:
" code I added
LS_COMPOSER_PARAM-tddest = 'LOCL'. "or 'LP01'. "Spool: Output device
LS_COMPOSER_PARAM-bcs_langu = sy-langu.
LS_CONTROL_PARAM-preview = 'X'.
LS_CONTROL_PARAM-no_open = 'X'.
LS_CONTROL_PARAM-no_close = 'X'.
LS_CONTROL_PARAM-device = 'PRINTER'.
LS_CONTROL_PARAM-no_dialog = 'X'.
DO NAST_ANZAL TIMES.
*--In case of repetition only one time archiving
* if sy-index > 1 and nast-tdarmod = 3.
* nast_tdarmod = nast-tdarmod.
* nast-tdarmod = 1.
* ls_composer_param-tdarmod = 1.
* endif.
IF SY-INDEX NE 1 AND REPEAT IS INITIAL.
REPEAT = 'X'.
ENDIF.
CALL FUNCTION LF_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = SPACE
IS_NAST = NAST
IS_REPEAT = REPEAT
I tried to trace it to the function module generated by smartform. The error propagates this way: From the function module, there is a call to function SSFCOMP_PROCESS_DOCUMENT. Then inside that function, there is a perform operation to tr_ssfcomp_process_doc
perform tr_ssfcomp_process_doc using startpage docstruc
header.
Inside that form, it calls the macro tr_active which checks the value of ssfcstat-trlevel (tracelevel) against c_trlevel_document. In the macro, if ssfcstat-trlevel is less than c_trlevel_document, the smartform will fail. c_trlevel_document is 15 and ssfcstat-trlevel is 0, and so the smartform fails.
(you can see the macro tr_active in include LSTXBCMAC and the form tr_ssfcomp_process_doc is in the include LSTXBCFTR)
When I do not put values in CONTROL_PARAMETERS and OUTPUT_OPTIONS, everything is ok.
Do you know why this happens?
Thanks in advance!
Edit: I have found out about transaction SFTRACE, but this is disabled.
Kyle -
Hi experts,
I'm working on the SRM archive process. I'm in extended classic scenario so my purchase order is created on SRM and duplicated on ECC. I only want to archive purchase order on SRM and not on ECC.
When the user is looking for the purchase order on ECC how does he know that the order is archived on SRM ?
Thank you for your help.
Regards,
Mikaël.Hi Peter,
Thank you for your answer.
I will used a cutomer field on the ECC purchase order and create a specific program to update this customer field from SRM data and tables ZARIX...
Thanks,
Mikaël. -
RFC comparing Purchase Order from server D10 and compare the PO E10 server
Hi Gurus,
I want to fetch data of Purchase order from D10 system client 058 and compare whether the same Purchaser order is also present in E10 system clilent 078.
Please send me the sample code how to retrieve the code from different servers using RFC. I am new to RFC, please guide me same code.
Regards,
Prasad
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 30, 2008 4:24 PMHello Arza
You can use BAPI BAPI_PO_GETDETAIL to retrieve the PO data from the two (remote)systems.
During an important migration project I had to compare whether the PO data were the same on the old and new SAP system.
For this purpose I used the BAPI to retrieve the PO data, initialized all data of which I new they would differ between the old and the new system (e.g. time stamps, date, time).
Next I defined a complex structure which contained all PO data that I wanted to compare.
Each PO gave one record which I collected into an itab.
Finally I transformed the itab data into a single XML file for the data from the old and the new system. Then I took an XML editor (e.g. Oxygen) and made a diff analysis of the two XML files which showed me every difference.
This way I was able to compare thousands of PO's within a few hours.
Regards
Uwe -
Loading Existing Purchase Orders from Legacy System
Hello -
We are moving to SRM 5.0 extended classis from an existing legacy system and we would like to load our open purchase orders into SRM. Has anyone done this before? Any help would be greatly appreciated.
Thanks
JaneHi,
I am new to SRM - I have a requirement from my client.
How to create PO's and PO Contracts in SRM by getting the data from and excel sheet?
Is it possible for you to provide the LSMW for this and how to call a FM for data load.
OR
Have you done any abap program to use the functionl modules to load the data? If so, can you provide me.
Please do reply ASAP.
Thanks in advance.
Edited by: abi baski on Apr 8, 2009 8:26 AM -
How to bring 'Firm' Purchase Orders from legacy system through PDOI
Hi
we are interacing the purchase orders from a legacy system through Open Interface i.e PDOI.
Here i have to enable the Firm_Flag for all these PO before converting to oracle. I found that there is a column firm_flag in po_headers_interface table , but when i am populating taht column to 'Y' also, the firm flag at the PO window , by clicking the Terms button, is not reflecting.
Please let me know why PDOI is not picking up the value at the header table. Any help is really helpful.
Thanks
VyaghreshVyaghresh
Can you tell us your version?
Thanks
Nagamohan -
Excluding price of last purchase order from cost estimate
Good morning,
we have the issue described below:
we would like to exclude a price of some purchase orders from valuation in cost estimate in case of valuation is made by price from purchasing info record.
In this case valuation considers price of last purchase order even if there is a valid agreement used.
Our customer would like to have valuation with price of purchasing agreement and not price of the standard purchase order closed, but if agreement is older and during creation of standard PO is setted the "InfoUpdate" flag, system updates the inforecord and in CK11N during cost calculation it uses this price for subcontracting.
We have done some tests...Is there a standard SAP solution to have price of valid purchase agreement?
Many thanks.
Giusy Castiglione
Accenture OutsourcingHi,
Your requirement seems to be very unique and hence you need to try out through by selecting the valuation through user exit where we can request the system take the po price from purchase agreement instead of purchase orders. This selection deftly resolve this unique requirement instead of searching for a std solution.
Trust this helps much!
Regards,!
Ashok Singh -
Quantities captured in Purchase Order from Sales Order
Hi,
Here is the scenario:
1. Sales Order: Ordered 2 units of item A.
2. Item A in warehouse = 1 unit. Therefore, I'm short of 1 unit.
3. Tick Purchase Order in the logistic tab.
4. When I click Add sales order, Purchase Order confirmation window appear.
5. Quantities captured in the PO confirmation order is 2 units.
The quantities for PO should be 1 unit, isn't it?
This is weird. I tested this a few days ago. The PO only captured the quantities that I'm short of, not the full quantities.Hi Joyce
As per your scenario if there are two items in sales order and if u make a purchase order out of it it would have 2 items in it
because it does not take into account the MRP aspect it directly links a direct link between sale and purchase order in the backend and also there exist a link between line items and there quantities
if u wana run the system eeping in mind the MRP concept then u would require to run the purchase order from MRP
Regards
Manish -
Automatic posting of purchase order from sales order
hiii
experts,
i m doing automatic purchase order from sales order. i have generated purchase requisition number from sales order now when i m trying to do automatic po the system says no suitable purchase requisition available.I have maintained info record, source code,automatic po tick in material master and in vendor master.what could be the problem .waiting for ur valuable inputs.
warm regards
thanks
subhash kulkarniHello,
Please check all the things mentioned by our experts e.g Source allocation ,infor record, source list.
Beside that I would suggest check document flow whether already PO is created or not.
If every thing is in place then try to create PO with reference to PR by transaction ME21N & see what error you receives.
Hope this help you ,
Regards,
Prashant -
Purchase orders from order recommendation report
hai,
Can purchase orders from the order recommendation report be saved as draft,because the purchase orders needs to be maually approved before being creadted.
Thanks in Advance
Regards
VikashTry this query:
IF $(OPOR.Comments] ='Origin: MRP'
SELECT 'TRUE'
ELSE
SELECT 'FALSE'
(Replacing ( with [ )
It works for version 2007A, but the system does not executes the approval query for 2004C. I do not know what is for 2005.
Maybe you are looking for
-
Dear Friends, Is there a transaction or Report available to see the write-off stock by plant or through any movement types ? Please suggest the requirement is as fallows: Report needs to be selectable by IPC or ICC. Or plant The report will need to s
-
Is it possible to add files to a PDF form submission?
Hi there, Someone asked me to add an attachment field to a PDF dynamic form. Based on previous research we figured out that will not be possible: our users don't have Acrobat - just Reader - and we won't purchase Reader Extensions. How about using a
-
Installed Adobe Pro X now unable to convert PDF - Missing PDFMaker Files
Hello, I installed the trial version of Adobe Pro X and now I am unable to convert a Microsoft Word.doc file to .pdf. The error message is 'Missing PDFMaker Files. Do you want to run the installer to repair mode?' I ran the installer, twice, with
-
We are sending IDOCs from R/3 to our suppliers thru XI. Would it be possible to collect the IDOCS that are created for the day and send it at a particular time/after particular count(Say 200) from R/3 to XI in one shot? If this is possible what exact
-
Re: (forte-users) Password verification
Hi, You can try using an external connection class to open an FTP connection with the ID and password supplied by the user. If you succeed in opening a connection then the password is valid. Hope this helps... Santhakumar Athiappan ----Original Messa