Modify a SRM purchase order in SAp.
Hello, i have just created a purchase order in SRM portal.It has been replicated in SAP( transaction ME23N).
How can i modify the purchase order ? I'm getting an error message when clicking on the modify icon.
The message is: BBP Purchase order cannot be changed( Display only )
I need to modify the partners in the Partners tab.
thx.
These are the basic principles of SRM technical deployment.
Yrs is ECS PO and for it only replica is cpoied to ECC for the purpose of follow-on docs like GR, Invoice & payment.
But it is not editable in ECC.
You have to change the same in SRM only.
PO Change version would be created
may be submitted to WF if meets the starting conditions
and then after order the changes will be copied in ECC PO copy via BAPI
BR
Dinesh
Similar Messages
-
Viewing SRM Purchase Order Vendor Text in SAP
When looking at purchase orders using SAP transaction ME23N I can see the short text created for purchase orders. I would like to be able to access the data from the SRM Vendor Text field as this usually contains more useful information.
I have tried looking at multiple text fields within ME23N but none of them seem to contain this information.
Is this just an access problem or is there a way of bringing this information to the transaction (or another SAP transaction, rather than opening up SRM each time)
Any ideas appreciatedin other words: you had modified SAP programs.
If you upgrade or apply hotpackages then you have to perform the transaction SPAU, where you define whether you accept SAP changes or keep the modification as is.
It can be that basis just resets all to SAP standard. hence you have to redo your changes. -
Modify the output medium log for SRM Purchase order
Hi, I'm using a FM BBP_ECS_PO_OUT_BADI to modify the output medium of the SRM purchase order. Though it is displaying it in the header level output medium ( radio buttons )
the document output log holds the old value. Is there a way to modify/update the output log to hold the changed output medium?Prasanna,
Is this to block the PO's being sent to vendors temporarily? We had similar requirement and we were able to do it by updating table BBPD_PO_METAOUT. SAP Note 659386 has more information on it.
Regards,
Suren -
Vendor field on SRM Purchase Order
Hi.
Please can someone elaborate and explain why my preferred supplier that I have entered onto my Cart does not copy through to the Vendor field on SRM Purchase Order please? At this moment, the Preferred Vendor field is incorrectly populated whereas previously, only the Vendor field was populated. We have the ECS activated.
Thank you.
Pooja!Hi
Prefered vendor - if you manually added a vendor - This partner function no. 39.
check your BBP_PD whether you have prefered vendor or fixed vendor in partner head.
Fixed vendor -partner function is 19 like contract ...etc
check these details or your approver might be changed your source of supply if he has access to modify the cart.
BR
Muthu -
How can I send purchase order through SAP mail ?
How can I send purchase order through SAP mail ? Can any one explain whts the NACE settings?
just do it as <b>Anji reddy</b> said to you ...or else ... in the purchase order trascation ...print it ... so that it will generate the spool request for that purchase order ....
so the the belwo program is for sending <b>the Spool Request data as Email to any Email id ...</b>
The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note for the below program to process a spool request the program must be executed in background otherwise no spool request will be created. Once you have had a look at this there is an modified version of the program which works in both background and foreground. Also see transaction SCOT for SAPConnect administration.
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
* Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
* Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
* FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
* perform send_email using p_email2.
ENDFORM.
* FORM send_email *
* --> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
* Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
* CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
* If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
* Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
* Fill the document data.
w_doc_data-doc_size = 1.
* Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
* Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
* Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
* Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
* Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
* Populate zerror return code
ld_error = sy-subrc.
* Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
Girish -
Steps to create a purchase order in SAP r/3
Hi All,
I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisite data in R/3?
Waiting for your reply!
Thanking you.
Regards,
Namrata.Trigger
A purchase order needs to be created, and the vendor is known
Business Process Description Overview
A purchase order is a legal document issued by the buyer to the vendor to supply materials or service at the agreed price, terms and conditions. The Purchase Order forms the basis for all follow-on activities like Goods Receipt, Invoice Verification, etc. The Purchase Orders can be created directly by entering all the required data, copying already created purchase order, with reference to an RFQ/Contract or with reference to a PR.
Purchase Order creation is possible only if sufficient budget allocation is there for the Fund Centers. It is not possible to create Purchase Orders for a Vendor who is blocked for procurement or not maintained in source list for that item. Also it is not possible to create PO for Quantity more than the PR quantity.
All the price components which are to be paid to vendors and requires to be inventoried has to be included in PO.It is possible to add different vendors for delivery costs. The tax codes should be correctly maintained in PO for the purpose of Cenvat availment etc.
The payment term defaulted from Vendor Master or RFQ has to be verified and changed if required.
The incomplete Purchase Orders can be saved as HOLD document and later completed and saved thru Change PO menu
Input - Required Fields Field Value/Comments
Vendor Vendor number
Purchasing Organization 1000
Purchasing Group Purchasing Group code
Date Purchase order date
Account assignment category Where costs will be allocated
Delivery Date Anticipated Delivery Date
Plant For which plant we are buying the material
Output - Results Comments
Purchase order document Can be changed, displayed or printed which can then be mailed to vendor
Tips and Tricks
The Purchase Orders can be created directly by entering all data required for creating PO or by copying another PO or with reference to RFQ/Contract/PR.To create a purchase order by copying existing document (PO/RFQ/PR), you can either select the desired document in the document overview .and adopt it in the current purchase order in the right-hand area of the screen using the ADOPT button .In addition you can drag it onto the shopping basket symbol with the left-hand mouse button.
Click the Personal Settings button on the tool bar, this function is for default information for purchase order header data and also purchase order item data. This will reduce the amount of redundancy in the data entry, i.e. plant, company code.
One Purchase Order may be created for several purchase requisitions
Procedural Steps
1.1. Access transaction by:
Via Menus Logistics èMaterials ManagementèPurchasingèPurchase OrderèCreateèVendor/Supplying Plant Known.
Via Transaction Code ME21N
1.2. Double-click
On screen Create Purchase order
On screen select Domestic Purchase order in this screen . You can also select other document if you want to create other. Here drop down menu is available.
Click to enter the organization data.
Screen will change in the header; enter data as given in the table below:
Field Name R/O/C Description
Purchasing Org. R Enter the purchasing organization code.
Example: 1000
Purch. Group R Enter the purchasing Group which is procuring the material
Example: P01
Company Code R Enter the company code under which above purchasing
Organization is.
Example: 1000
After entering the organization data enter the vendor or material supplier in the field here drop down is available.click to see the drop down.
Field Name R/O/C Description
Search term O Text that describes the vendor in more detail.
Example: MICON
Vendor O Description of the vendor.
Example: 100008
Click .
System displays all possible entries available as per data entered
Restrict value range (1) 1 Entries found
To select required Vendor Click .
Click .
Vendor selected
Now go to ,here the system will pick up the data automatically from the vendor master but if you want to chane the data you can change the data. Here drop down menu is available.
Now go to to mainatin the text.
After maintaining the text if you want to see or change the vendor address click and do the amendments.
Now Go to and click to enter the Items and other data as per the table given below:
Field Name R/O/C Description
Account Assignement R Key that identifies specific settlement receiver types such as cost centers, internal orders, work orders, asset accounts, or project WBS elements.Example: K
drop down menu is available here.
Item Cateogry O How the procurement of a material is controlled.
Drop down menu is available here.Example: Standard
Material R Here you will enter the material to be purchased from the
Vendor.
Here also drop down menu is available. Use the following
to select the material. Example ZROH-DEMO
In the figure above enter the search cretira for the material for example ZROH-DEMO and click
. The follwing result will appear on the screen select the line item and click to select
the material.
Short Text R Enter here short description about the material,if the text is not
automatically picked up from the material master.
PO Quantity R Enter here quantity to be ordered.
Example 10
Order unit R Here we enter the order units of measurement.
Here also drop down menu is available.
Example : KG
Category of delivery date O Here you can enter deleviery date format.
Here also drop down menu is available.
Example : Day format
Delivery date R Enter the delivery date. You can use the calender provided by
the system.
Example : 28.02.2006
Net price R Enter the net price of the material here
Example : 1000 INR
Material group R Enter the material group to which that material belongs.Here
also drop down menu is available. This field is also automatic
picked up field.
Example : M10001
Plant R Enter the plant code for which you are purchasing the material
Here also drop down menu is available.
Example : 1100
Storage location O Here you will enter where the material is to be stored. Drop
Down menu is available here.
Example WH01
Click Enter and system will give you message
You will now see the screen
Field Name R/O/C Description
Cost Centre R The purchase is done for which purpose. Here also drop down
Menu is available.
Example: 11050 for CDU/VDU /SGU OP
G/L Account R G/L account from which payment will be done.
It will be automatically be picked up from the material group
You can change it also.
Unloading Point O Specifies the point at which the material is to be unloaded.
Recipient O Specifies the recipient for whom the material is destined.
Click to see and to change the Tax Code at item level.
Select to view the taxes applied on the line item.
click to go back to the previous screen .
On the main screen in the same tab if you want to change the taxe select the tax code from the drop down available
After selection again, Select to view the taxes applied on the line item.
If you want to add more conditions click tab and enter the conditions from the drop down
You can also maintain the text at item level by clicking tab.
After completeing this all click to check wether here is any error in the purchase order , If there will not
↓
any error then on the screen following line will appear.
If there will be some error the system will throw the message on the screen
select the line item and click to see the detail of the error.
close this window now and goto main screen to rectify the error.
After rectifying the error again click to check wether here is any error in the purchase order.
Now click to save the purchase order, after clicking the button the following message will appear -
BBP_PDIGP-GROSS_PRICE zero in SRM purchase order
Hello All,
We are using extended classic scenarion SRM 5.0 (Server 5.5) with backend ECC 6.0
When creating a shopping cart for product (NOT direct material) on account assignment F = Order with a quantity smaller 1 the SRM purchase order hasn't got a gross price and net value in the item basic tab but has got the correct prices in the 'Prices' tab.
As there is no price in the basic tab (BBP_PDIGP-GROSS_PRICE = 0) the generated SRM purchase order is in status 'Held'.
This happens only if the quantity is less than 1. The SC has got a price maintained (from info record).
Any ideas out there?
Thanks,
FranzFranz,
To release the PO the user has to uncheck the Invoice expected indicator in the Follow on documents tab for the item with zero price. Also they should uncheck the GR indicator or they could input a confirmation for the zero priced item and this can lead to further complications.
Hope this helps
Allen B. -
SRM Purchase order form?
Hi
SRM Purchase order form
As we are implimenting SRM 7.0 for of the project,We have one of the scenario called :SRM Purchase order form
So we need to find the actual content of the Po from.?
Can any one can give the Actual content of the PO form ?Hi Rameshwar,
PO form is something you need to discuss with Business, they will be able to provide you the data which you need to input in the form.
Generally below things are mentioned in PO form.
- PO Number
- Vendor Name & Address
- Delivery Address
- Invoice address
- Terms of Payment/Delivery
- Contact Person Name & Telephone or email
- Company Logo
- Item, Item descirption (material no if you have), quantity, Unit of measurement, net price, tax, total price, currency.
- General remark like disclaimer....etc...
Best Regards,
Anil -
'How to restrict change in Quantity/Price in saved Purchase Order in SAP B1'
Dear All,
How can I restrict a user from changing Quantity or Price in a saved Purchase Order in SAP B1 8.81 PL 0?
Regards.Try This TN SP
If @object_type='22' and @transaction_type='U'
BEGIN
If Exists (SELECT T0.docnum FROM [dbo].[OPOR] T0
INNER JOIN [dbo].[POR1] T1 ON T1.DOCENTRY = T0.docENTRY
WHERE T0.DOCENTRY = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Update not possible'
End
End
Regards
Kennedy -
How to creat deadlock for the purchase order in SAP Workflow
How to creat deadlock for the purchase order in SAP Workflow
Hi Ben,
Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date? If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
DATA: vf_doc_date(10),
internal_date TYPE d.
vf_doc_date = sy-datum. "Document date.
internal_date = vf_doc_date.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = internal_date
IMPORTING
date_external = vf_doc_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
Regards,
Vivek -
Add purchase order in SAP with sdk
Hi Experts:
I am doing an aplication for to export a purchase order to SAP with the SDK and I need to read the document number of the last purchase order that was added.
Wich method can I use?
Thanks.Hi Silvia,
You can use the GetNewObjectKey method right after you have created a new document. You can then get the DocNum using the GetByKey method.
Here an example in VB.NET (if you use C#, it is easy to translate):
'We declare a new document of type delivery
'and set all the necessary properties and values
'We then add the new delivery note
If oDeliveryNote.Add = 0 Then
Dim tmpDel As Documents = vCmp.GetBusinessObject(BoObjectTypes.oDeliveryNotes)
'Then using the GetByKey method together with the GetNewObjectKey method,
'we can get all kinds of interesting info about the newly created delivery note
If tmpDel.GetByKey(vCmp.GetNewObjectKey) Then
'Let's populate some variables that we declared earlier
DelNr = tmpDel.DocNum
NumAtcard = tmpDel.NumAtCard
CardCode = tmpDel.CardCode
DocType = tmpDel.UserFields.Fields.Item("U_type").Value
End If
End If
The same code applies to all document types.
Good luck,
Johan
Edited by: Johan Hakkesteegt on Feb 13, 2012 12:19 PM -
CHANGE THE OUTPUT MEDIUM FOR SRM PURCHASE ORDERS
We are using SRM 5.0
I tried to change the SRM purchase order's output
medium from 'XML' to 'Print' using a function module
'BBP_OUTPUT_PO_PARAMS_SET' within the BADI 'BBP_ECS_PO_OUT_BADI'. Though it changes the
output medium and chooses the right radio button
at the UI interface level (i.e)
Purchase order Header->output->
radio buttons(print,email,fax,xml)
It still holds the output medium as 'XML' at the
Document output log and process the document as 'XML'.
Is there a way to update the output log to hold the changed medium i.e (print)
Thanks and Regards,
GiaHi,
Have a look at the foll thread for more pointers;
Re: Change medium of output for Changed PO in SRM
BR,
Disha.
Do reward points for useful answers. -
Send SRM Purchase order Cancellation request to Vendor using SAP PI
Hi gurus,
We have to build an interface to send Purchase order cancellation request to vendor once the PO is deleted in SRM using PI.
Could some one please send me out a document to set up this interface.
Thanks in advance for your help.
Regards,
CatherineHi Catherine,
did you get any chance to go through the below links.
Purchase Order from SRM to SUS ( Supplier Self Service )
PO from SRM to supplier via PI 7.1 | SCN
Thanks,
Naveen -
SRM Purchase order History Screen Modification
Hi All,
We have requirement to modify Purchase order's History table to modify. To be precise When User clicks on Purchase order details tab and go to Follow-on document at header tab There will be two option to view the follow-on document. One is graphical and other is Table view.
Standard SRM history tab you will get Purchase order number, Goods Receipt number both in SRM and backend system as well as status. Can over here we add Goods Receipt Quantity and Amount as well as Invoice Amount? We are using Extended Classic Scenario.
Please advise.
Thank you
RiteshHi
Pl find the content of the notes.
Note 1524928 - History: Order of related document is not consistent.
Symptom
In some cases, when you go to the shopping cart item history, the system displays follow-on documents in a wrong order.
Other terms
History.
Reason and Prerequisites
Program Error.
Solution
Implement the attached correction instructions or apply the relevant Support Package.
If the note is not released , pl raise a OSS to get this note released.
Regards
velu -
SRM Purchase Order not Created Automatically
SRM 7.0 Extended Classic Scenario:
Issue: When creating a standard shopping cart in SRM the Purchase Order is not created in SRM (or in R3). Eventhough the shopping cart is fully approved and has a vendor assigned. The overall shopping cart status remains approved,the line items status shows 'item in transfer process'. Otherwise there are no errors in the application monitor. Nothing appears in table BBP_DOCUMENT_TAB
Considerations: Everything is working fine for limit shopping cart, the PO gets created automatically and the SC has status follow-on document created.
Also, this was working fine for standard orders, it seems that support pack 7 or 8 broke this functionality, yet I do not see any notes regarding the issue. Any ideas on what controls the automatic PO generation or how it could work for limits but not standard SC's would be greatly appreciated.
Thanks,
Matt
Edited by: Matt Joseph on Nov 17, 2010 10:27 AMFirst of all PO should be created then you can see entry in doc table.
u Note 1480994 - How to process a shopping cart with status I1111?
see SAP treatment and some work around..
Symptom
Shopping Cart is stuck in status I1111 (Item in transfer process).
Other terms
Application Monitor, I1112, I1111, Monitor Shopping Cart
Reason and Prerequisites
This is a FAQ note, which shows how to treat such Shopping Carts.
Solution
Shopping Cart status I1111 (Item in transfer process) is a temporary status, which means that shopping cart is being processed in order to generate a follow-on document.
However, it is possible that status I1111 becomes permanent and, in this case, shopping cart status is inconsistent.
There are some procedures to be considered when shopping cart is stuck in status I1111.
Report BBP_ALERT_SB_NOTTRANSFERED is available to change the status of the shopping cart item from I1111 to 'Error in transmission' (I1112) and later on, it is possible to retransfer this shopping cart from Application Monitor/Monitor Shopping Cart transactions.
Note 441768 provides more information about this report.
However, BBP_ALERT_SB_NOTTRANSFERED works in a time stamp. BBP_ALERT_SB_NOTTRANSFERED will check shopping carts created after date specified in table BBP_CONTROL.
To check this information, go to SE16 -> BBP_CONTROL and as input parameter provide the report name. Here you will see the last date that report has been run.
If you have a shopping cart in status I1111 which is older than date specified in table BBP_CONTROL, you have to change manually the time stamp specified in such table. You have to specify an older date (before shopping cart creation).
Doing this, you can run report BBP_ALERT_SB_NOTTRANSFERED and cart in question will have status I1112 assigned.
Once status I1112 is assigned to shopping cart, you can retransfer it from Application Monitor (BBPWEBMONITOR transaction in SAP_GUI) or Monitor Shopping Cart in the web.
To transfer Shopping Carts from BBPWEBMONITOR, some settings need to be done.
Following notes should be considered:
550044
FAQ Alert monitor RZ20 does not show any alerts
396102
BBP Alert monitor RZ20 does not work
387701
The Shopping Card are not transfered after "resubmit"
According note 387701, workflows WS10000214 and WS10000215 have to be activated. One of them is to delete shopping cart item using Application Monitor and the other one is to resubmit the cart. Then, once this settings are done, you can retransfer I1112 carts from Application Monitor.
If all settings are done and you have a cart with status I1112 that it is not appearing in Application Monitor, report BBP_ALERT_SC_STATUS_ERROR is available, which checks the carts in status I1112 and put them in the Application Monitor, in order to allow you to transfer them again. Note 631513 explains about this report.
Additional notes to be considered in this scenario:
1159609
Transfer function does not create local purchase orders
1233037
BBP_MON_SC: Shopping cart transfer ends in status I1111
1040878
Cannot transfer shopping carts with status I1112
Header Data
Release Status: Released for Customer
Released on: 09.08.2010 16:04:09
Master Language: English
Priority: Recommendations/additional info
Category: Consulting
Primary Component: SRM-EBP-SHP Shopping Cart
Secondary Components: SRM-EBP-APM Application Monitors
Affected Releases
Release-Independent
Related Notes
1233037 - BBP_MON_SC: Shopping cart transfer ends in status I1111
1159609 - Transfer function does not create local purchase orders
1040878 - Cannot transfer shopping carts with status I1112
Maybe you are looking for
-
How to stop a pop up window if the session expires
Hi I have a situation wherein i have my jsp page. in that i have a button on clicking it a pop up window will open to take a input parameter. Now what we want is that if the session is not valid than the pop up shud not open. Currrently what is happe
-
I still do something wrong with Scrollpane and zoom capability
Hi all! I thought I was successful in creating a working ScrollPane with centered zoom capability, but now I noticed that it doesn't work like it should, if the content node's PrefSize is larger then the scrollpane's size. The probleme is: if the con
-
Win XP, LR3.2 I'm a experience user and usually work from my Desktop... and it's been one year but in the last few days have done 2 jobs on my laptop... and something is wrong when I import. I hope someone can tell me what's going on. I've never ha
-
Do I have to previously open a pdf to launch the batch OCR tool?
In Acrobat X, I could launch the batch recognize text tool as a wizard from the basic menu you have when opening Acrobat without any file open. Now with XI, I first have to open whatever PDF then go to tools and choose recognize then more than one fi
-
How to link a PDF, word, & Excel file in flash file by clicking a button?