FM for creating GR cancellation or return delivery
hi experts,
i would like to know whether there is any FM/method to do the cancellation of GR in SRM 7. i found one BAPI for doinf confirmation BAPI_CONFEC_CREATE but not for cancellation. any ideas?
thanks
hi yadav
need your help again for updating the PO items. i using the below code. system is creating the change versions but with no items. not sure why
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
* I_GUID =
I_OBJECT_ID = po_no
* I_ATTACH_WITH_DOC = ' '
I_WITH_ITEMDATA = 'X'
IMPORTING
E_HEADER = ls_hdr
* ET_ATTACH =
TABLES
E_ITEM = lt_item .
data : obj_hdr_guid type BBP_GUID,
lo_po_inst type ref to /SAPSRM/IF_PDO_BO_PO_ADV,
lo_po type ref to /SAPSRM/IF_PDO_BO_PO.
obj_hdr_guid = ls_hdr-guid.
TRY.
CALL METHOD /sapsrm/cl_pdo_factory_po_adv=>get_instance
EXPORTING
iv_header_guid = obj_hdr_guid
iv_mode = 'EDIT'
iv_process_type = 'ECPO'
* iv_wiid =
* iv_user_id =
RECEIVING
ro_instance = lo_po_inst
lo_po ?= lo_po_inst.
data: lt_parguid type BBPT_GUID,
ls_parguid like line of lt_parguid.
ls_parguid-guid = ls_hdr-guid.
append ls_parguid to lt_parguid.
CALL METHOD lo_po->/sapsrm/if_pdo_item_list~get_item_list
EXPORTING
it_parent_guid = lt_parguid
IMPORTING
et_item_guid = lt_itmguid
CALL METHOD lo_po->get_item_detail
EXPORTING
it_item_guid = lt_itmguid
* it_requested_fields =
IMPORTING
et_item = lt_item
* eo_meta_data_handler =
CHANGING
co_message_handler = lo_msg
data: lt_item_upd type BBPT_PD_PO_ITEM_ICU,
ls_item_upd like line of lt_item_upd.
loop at lt_item into ls_item.
move-corresponding ls_item to ls_item_upd.
IF ls_item_upd-final_entry eq space.
ls_item_upd-final_entry = 'S'.
else.
ls_item_upd-final_entry = 'D'.
ENDIF.
ls_item_upd-quantity = '3'.
append ls_item_upd to lt_item_upd.
clear : ls_item_upd, ls_item.
endloop.
CALL METHOD lo_po->update_item
EXPORTING
it_item = lt_item_upd
CHANGING
co_message_handler = lo_msg
*TRY.
CALL METHOD lo_po->/sapsrm/if_pdo_base~submit_update
CHANGING
co_message_handler = lo_msg
* CATCH /sapsrm/cx_pdo_wrong_mode .
* CATCH /sapsrm/cx_pdo_abort .
*ENDTRY.
CALL METHOD lo_po->order
CHANGING
co_message_handler = lo_msg
CALL METHOD lo_msg->get_messages
IMPORTING
et_messages = lt_messages_class.
CATCH /sapsrm/cx_pdo_incons_user
/sapsrm/cx_pdo_lock_failed
* CATCH /sapsrm/cx_pdo_abort .
* CATCH /sapsrm/cx_pdo_error .
* CATCH /sapsrm/cx_pdo_no_authorizatio .
/sapsrm/cx_pdo_no_authorizatio
/sapsrm/cx_pdo_order_invalid
/sapsrm/cx_pdo_parameter_error
/sapsrm/cx_pdo_pd_read_error
/sapsrm/cx_pdo_status_change
/sapsrm/cx_pdo_status_error
/sapsrm/cx_pdo_wf_mode_ban
/sapsrm/cx_pdo_wrong_bus_type
/sapsrm/cx_pdo_wrong_mode
/sapsrm/cx_pdo_error
/sapsrm/cx_pdo_abort into lo_root.
* CATCH /sapsrm/cx_pdo_abort .
* CATCH /sapsrm/cx_pdo_no_authorizatio .
lv_msg = lo_root->get_text( ).
* CATCH /sapsrm/cx_pdo_abort .
ENDTRY.
commit work.
Similar Messages
-
Credit memo to be created with reference to return delivery
Dear Gurus,
We have a requirement for mapping return process
Credit memo to be created with reference to return delivery (instead of with reference to return order)
Following issue faced in mapping the same:
Billing document No. 1234 dated 25.03.2010 where there is 4% VAT.
when we are creating return order with reference to billing document 1234
4% VAT is calculated since the Service Rendered date is 25.03.2010 (Copied form Billing document)
return delivery is created today 08.04.2010. (VAT revised to 5%)
when credit memo is created with reference to delivery document
VAT is calculated 5% which is applicable from 01.04.2010
since the service rendered date is appearing in billing document
08.04.2010 (the date of Post Goods Receipt).
The VAT should be actually 4% in Credit Memo.
regards,
Rajesh TIn the copy controls from delivery to Invoice, at the item level try to use pricing type C and Pricing source Blank ( Blank is order).
If it doesnt work , then you might have to go for a requirement routine for this Tax , based on the document category that is being processed, read the tax from the originating order.Assign the routine to tax condition in the pricing procedure.
Regards
Sai -
Difference between confirmation cancellation and return delivery
Dear Gurus,
can you explain to me the difference between confirmation cancellation and return delivery in terms of processes and impact on ECC postings?
Thank you in advance for your collaboration,
Fuffo
Edited by: Fuffo Fuffi on Dec 21, 2010 2:36 PMHi
Confirmation Cancellation --> is used for reversing a confirmation which is posted wrongly in the system. This is generally used for reversing a faulty transaction.
Return Delivery --> is used for sending the goods back to vendor. This happens when we receive goods from vendor and for some reasons the delivery does not meet customer's specification due to any reason. In these cases you record the goods movement as Return delivery sent back to Vendors.
Regards
Virender Singh -
Cancellation of return delivery
Hi all,
I want to know, if we cancel the Return delivery document after doing Reverse goods Movement using VL09, then wht will happen to the stock.
will it go away or come into the stock.
plz. let me know.
thanx in advance
souravyes. the Quantity will decrese.
Regards,
Madhu. -
Cancellation of RETURN delivery made by Quality
Hi All,
I want to cancel the return delivery made to a vendor.
It was posted in QA11(usage decision) in Quality Mgmt.
In MBST, the system doesnot allow to cancel the document.
How should i proceed ?
pl give me a direction.
regards
gnk
Edited by: gnk gnk on Feb 17, 2008 7:15 AMhi
you cannot cancel the return delivery alone what you can do is first reverse the PO's then try to cancel the inspection lot .Then do the fresh MIGO and then you can post the material to production
kindly refer the following link also
http://help.sap.com/saphelp_46c/helpdata/en/a6/df293581dc1f79e10000009b38f889/tree.htm
regards
thyagarajan -
Error while creating excise invoice to return Delivery (J1IS)
Dear all,
Plz help to solve this problem.
After MIGO. I have done return delivery to vendor(Movt-122).
With ref to the return delivery doc I am trying to create excise invoice to send to vendor in J1IS.
but error appears as Vendor not related to material documents.
Thanks & Regards
Sanjay LarokarHi Sanjay,
Apply Below Notes
1042131 Vendor displayed as incorrect in J1IS if no leading zeros
1025204 Vendor not recognized in J1IS and error 076 displayed
1008100 Error "Vendor not related to Material doc" displayed in J1IS
1003491 Vendor not recognized in J1IS and error 076 displayed
960564 Vendor code truncated in J1IS resulting in Error 8I 786
Cheers...
Santosh -
Vendor Return delivery Cancellation
Dear Guruu2019s,
I have one problem regarding return delivery (122) cancellation.
One of our QA guy wrongly posted return delivery to vendor through QA11u2026
Now how to reverse it, Before QM module we had reversing through MBST codes..
After QM module system is not allowing to do cancellation of return delivery (122) document from
MBST.
Waiting for ur replies.1) Create own report program refer to source code which is attached in SAP note 175842.
(The object name is 'RQEVAC50'.)
2) Assign the transaction 'QA11' as allowed transaction into movement type '123' at transaction OMJJ.
(This is configuration.)
3) Execute above program and input the inspection lot number then execute.
(Stock which was transferred from QI to other will be reversed to QI stock again.)
4) Post stock again at transaction QA11 or QA12.
Regards
Luke -
Capture Excise Invoice for Returns delivery
Dear friends,
Once the returns sales order is created and followed by returns delivery, we need to capture the excise invoice for it. Can anyone kindly guide this process. What will be the T.code for capturing excise invoice in this scenario and pls explain the process.
Points assured
regards
Krishna.CHi,
We have had the same problem way back in 2003. But SAP has suggested to post a manual JV entry through J1IH or through J1IS. I dont remember which one of the above 2 transactions we have used.
Also have a look at the SAP notes.
Kind Regards
Chakradhar -
Return Delivery docuent cancel
Dear Experts
We have one problem regarding Return delivery through QA32
We have done 'Return Delivery' from QA32 T Code
But Now accounting department cannot MIRO for the same GR document number
Henceforth when trying to cancel return delivery document, getting following error
'Material Document cannot be processed'
Please suggest, Either how to cancel the Return Delivery document or MIRO get done ?
B/R
Dharmesh Soni'Material Document cannot be processed'
Dear Please tell us the full description of error?
You did UD before you done any return delivery through QA32?
Cheers
KK -
Automatically create batch during return delivery
Dear SD Gurus,
Good Day!
Is there any way to make the system to create batch automatically during return delivery??
The requirement is, to get the system to work like MM where batch can be set to be created automatically by movement type. During return delivery, we don't have to select the batch but system will automatically create a batch.
Thanks and have a nice day.
Best Regards,
SooHi,
It is possible to activate batch during delivery/return delivery. However this again needs to be configured by the MM team. If you work along with the MM team, they should be able to enable this functionality.
Certain functions like Batch Mngt, Outputs etc are independent of the module and they work based on teh applications.
Hope this helps you
YOu can reward if it helps you -
Error during reversal of return delivery posting.
Hi,
We have received some goods returned from customer.
We created return order , return delivery and posted GR for return delivery to have stock in.
But now we realise that we have booked material agaonst wrong delivery so we need to cancel return delivery.
when i am trying to reverse return delivery with VL09 , geting error as "error during search for WM movemnt type (652 1 L) "
how i should cancel this return delivery
thnksHi,
Is L9005 the error message?
Please check your entry in table T321 (V_T321).
SPRO > LE > WM > Interfaces > IM > Define Movement Types - here choosse LE-WM interface to Inventory Management.
As per the error message you should maintain a record for your WH:
- reference mvt 652
- special indicator: 1 (this indicator is likely to be in the material master of your product too)
- movement indicator L
Regards,
Csaba -
Hello Everyone,
I have a returns delivery which I need to reverse. However, in VL09, I am encountering this error:
"Deficit of BA Ret.blocked prev. 37,941.000 EA : <Material> <Plant> <Stor Location> <Batch>
Shortfall below the specified stock level or quantity amounting to 37,941.000 EA."
When I checked MMBE, there is zero stock for this material/batch. What is the best way so I could reverse the returns delivery?
Thanks a lot for your time!
Regards,
OlynHi Olyn,
In this scenario you can't cancel the earlier material document which is created at the time of PGR ( i.e. Return Delivery). Becasue the stock which is returned is used by some one.
So to cancel this return delivery you need to full fill the same delivery qty in the plant against the same batch. Either do the Material to material transfer or else.
If you can't able to do this there only one option you can able to do is you need to cancel the previous Material document which is created at the time of PGR.. through MBST. At this time system through the error message saying that Material document cannot be processed with error message M7130.
Change the ctaegory from error to Warning against this message in OMCQ and process it it may useful. But it may impact ur stock levels.
Please co ordinate the same with team member and process it..
Regards
Durga Sana -
Credit Memo wrt to Return Delivery
Dear Experts,
The requirement is like that we need to create credit memo wrt return delivery only.The process flow is
Billing Doc-----Return Order---Return Delivery--
Credit Memo.
To meet the requirement i set copying control in VTFL for Return Item Category.
Header level----- Copying requirements is 003
Item Level------ Copying Requirements is 004
Data VBRK/VBRP is 007
Billing Qty is B
Pos/Negative is +
Pricing Type is D
Now when i try to create credit memo in VF01 the system is unable to perform . In VL02N the Return Delivery Status is showing Completed .
Can anyone suggest what additional settings required to perform the task?
Regards
JyotiHi Jyoti,
As per my knowledge,every thing is set perfect but i think you might have missed few configurations that are specified below.
Goto VOV8.Select your return order type.
Details.
Goto Billing tab.
Maintain the Del.rel.billing type. and then save.
Goto VOV7.Select your item category.
Maintain the completion rule as "B" or "C".
Billing relavance as "A".
Save.
Mainly check whether there is any billing block set here at the order level.Remove the billing block using VA02 T.Code and save the order.
Try now.Let we know what is the message you are getting now when you try to do billing.
Regards,
Krishna. -
Error while doing Vendor Return Delivery
Dear Gurus,
When i am making vendor return delivery( From Unrestric Stock) getting error like below:
<b>Insufficient Quantity in the Register RGSUM</b>
Quantity in the register is the difference between Receipts and Issues. Since for the particular material type and excise group there may not enough balance.
Procedure
1. Check Table J_1IRGSUM.
2. Create Receipt enter the register for the excise group.
Could you plz guide me to overcome this problem.
Regards,
VenkatDear Dipak,
Thanx for your reply.
I will give bit explanation abt my scenario:
Made a Goods Receipt.......for 100kG
After Goods mooved to QM and subsequently moved to Unrestricte stock
When i issued that material to prodcution foud out of 100kg, 10KG are
defective........For 10KGs i want to make Return delivery to Vendor.
For this, i am doing GR ( thrugh MIGO) Selecting as Return Delivery and
giving reference of GR document number( i.e 10KG receipt)....when doing
this i am getting Error Message.
If i missed any step in between....pls point out and guide me.
For doing J1IS, i need return delivery GR number, but while Doing Return Delivery GR getting Error message like that.
Regards,
Venkat -
Creating Excise Invoice from Sales Delivery using DI API.
Hi Experts,
I have been searching a lot for any Business Object for creating Excise Invoice base on Sales Delivery using DI API.. But have not yet found any one.
I want to create Invoice for excisable items from Sales Delivery using DI API.,for Excisable items we cannot create standalone A/R Invoice . We need to create Excise Invoice also . But How to create Excise Invoice based on Sales Delivery using DI API. Is there any Business Object for that.
Please suggest me.
Thanks and Regards,
Pooja Singh.Hi all,
I have not received any reply for this thread. Does this mean that there is no provision for creating Excise Invoice from Sales Delivery ? Actually I was asked to create sales delivery and then Outgoing Excise Invoice and then Sales Invoice using DI API.
But I don't find any Business Object for this in SDK ? Is it really not possible to create Outgoing Excise Invoice from Sales Delivery using DI API.? If possible then how?
Please reply me if anyone has got any idea in this regard.
Thanks and Regards,
Pooja Singh.
Maybe you are looking for
-
Hi, i'm looking for a good video editing software for my powermac G5
Hi i bought me a powermac G5n quad processor with 8Gb I want to make DVD's with it, So i'm looking for a good program to do it. Can i get a few suggestions. Thx
-
Can I add Podcasts to my iPod without going through the iTunes Music Store?
I want to add some spoken word files to my iPod and store them in the Podcast section. They are not radio broadcasts and are not available through the Music Store, still there must be some way to file them where I want them. Downloading from the Musi
-
[AS] Can't open multiple indd files of a chosen folder
Hi, I just can't get the opening of a bunch of indesign files inside a chosen folder with AS. I write this : --Prompt the user for a folder to be picked including indd files set b originfolder to (choose folder with prompt "Choisissez le dossier cont
-
Executing a dynamic query in CLOB
We are storing the sql query in a CLOB object(as the query can grow very big) we want to open a cursor based on the query stored in the CLOB object, we have used the following statement OPEN cur_get_result FOR TO_CHAR(l_sql_query); FETCH cur_get_resu
-
The photos are RGB. Shutterfly can't figure out why and says there must be some error in the file when it is saved. Does anyone have a reason and/or solution? The portion of the photo on the left is edited, the one on the right is how the image looks