Return PO box ticked for return PO document type
HI All,
There is a help need for Badi. While creating a return PO in T Code ME21N, i want to get return PO field ( EKPO-RETPO) box ticked for Return PO document type. I found one BADI for ME_COMMITMENT_RETURN. I need help to use this badi.
Regards,
Madhu.
Hi
Why don't use the BADI ME_PROCESS_PO_CUST, method PROCESS_ITEM? You have a demo. The idea is:
data: ls_mepoitem type mepoitem,
ls_header type ref to if_purchase_order_mm,
ls_data_header type mepoheader.
ls_mepoitem = im_item->get_data( ).
ls_header = im_item->get_header( ).
ls_data_header = ls_header->get_data( ).
IF condition IS TRUE. "with LS_MEPOITEM, LS_DATA_HEADER
ls_mepoitem-retpo = 'X'.
ENDIF.
im_item->set_data( ls_mepoitem ).
I hope this helps you
Regards
Eduardo
Similar Messages
-
VPRS cost copying different in Returns order and Credit for returns
Hi SAP Gurus,
we created returns order, returns delivery and Credit for Returns.But the VPRS cost copying in Credit for Returns different than Returns order.I have tested in DEV its working fine but in PRD its taking different. I compared copy contrls,condition settings and pricing procedure i didnt found any difference. where i need to check other than these areas.
Regards,
NookaHi,
If if works in DEV then there is no problem with configuration.(Compare configuration of DEV with PRD).
Please check that all change request are moved correctly or not,speciallty related to your scenario.
Any enhancement change request are moved or not.(Because DEV and PRD are different clients. Some requests are client specific.)
Thanks,
Vrajesh
Edited by: Vrajesh G. Nayak on Jan 20, 2010 5:23 AM -
PO from PR only for a particular document type
Dear Gurus
I want purchase orders should be raised with reference to purchase requisitions only. System should allow to make purchase orders with reference to purchase requisitions only for a particular document type only.
I have configured in OMET and assigend this in SU3, now the system is not allowing to create PO for all document types, but I want to restrict this for a particular document type only
Is there any configu change required?
Regards
MuthukumarHi
You can make it in MM - purchasing -> purchase orders -> define document types -> check the document type -> click on link purchase requisitions.
And in define screen layout at document level - make PR mandatory for your purchase order document type (field reference).
Thanks
Edited by: Praveen Raghavendra on Jan 12, 2009 2:07 PM -
BASIS--to restrict authorization for a PO document type & 122 movement type
Dear All,
Plz guide me how to restrict authorization for a PO document type & for a movement type 122 i.e. for eg. if a user has authorization for PO document type IC then he should not be able to rum movement type 122 for any T-code he runs.
Thanks in advance
Arpit
BasisHi,
Your request was not too clear to me.. As per my unde
Here is some details of Authorization object related to Purchase Order:
Document Type in Purchase Order( M_BEST_BSA )
Purchasing Group in Purchase Order (M_BEST_EKG )
Purchasing Organization in Purchase Order (M_BEST_EKO)
Plant in Purchase Order (M_BEST_WRK )
Document Type in Outline Agreement (M_RAHM_BSA )
Purchasing Group in Outline Agreement (M_RAHM_EKG )
Purchasing Organization in Outline Agreement ( M_RAHM_EKO )
Plant in Outline Agreement ( M_RAHM_WRK )
This can be helpfull to you to restrict authorization to PO..
In Organization Level, it can be restricted by Purchasing group, Purchasing organization and plant..
Regards,
Sandip -
Differentiating of pricing schema for each purchasing document type
Dear colleagues,
This topic could be discussed before but I need to clarify some points.
We would like to differentiate pricing schema per purchasing document types (e.g. AA and ZZ). These purchasing documents are not like domestic and import types.
There some condition(s) where purchasing document type AA should not be able to maintain whereas ZZ should be able to.
In this case shall use one unique pricing schema for both purchasing document types if so how can I hide some conditions for document type AA or if I use separate pricing schema how can I set different pricing schemas for different purchasing document types because both document types have same purchasing organization, vendor etc.
Regards
MetinHi,
Why to have two different schema groups! Is procurement process is completely different, so use to have!
(have thought of separate condition types for each Calculation Schema)
Based on Schema Group Of Vendor in the vendor master, the PO for vendor with respective Schema Group Of Vendor will populate the assigned condition typesu2019. Follow path:
SPRO->MM->Purchasing->Conditions->Define Price determination process ->Define Schema Determination
Under segment:
Determine Calculation Schema for Standard Purchase Orders
Here you can assign Schema Group Purchasing Organization, Schema Group of Vendor and Calculation Schema
Under segment:
Determine Schema for Stock Transport Orders
Here you can assign Schema Group Purchasing Organization, PO document type and Calculation Schema
Regards,
Biju K -
Make material as a mandatory field for a particular document type in PR
Hi,
Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
All you help in the solving the above problem is highly appreciated.
Thanks & Regards
RamHi,
Check below method works out for you, if you do not want to proceed with any ABAP development.
Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
"Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
Regards,
Ram
Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM -
To Make WBS element Mandatory for a particular Document type- Contract
Hi ,
I have a requiment where I have to make to Make WBS element Mandatory for a particular Document type of Contract . I don't want to use any User exits or Badis for this .
Please let me know if there is any configuration that can be done to achieve this .
Regards,
Hari.Hi ,
It is already made mandatory in account assignment categories but My requirment is that it should be mandatory for only one particular document type . In the account assignment categories , there is no where we can specify the document type . It is only at account assignment category level but not at document type level .
Regards,
Hari. -
Purchase value for a particular document type of po
I need Purchase value for a particular document type of po
Hi Thanks for the reply. Sum of net order value will give right. Any selections we have to do at headr level ? Does it hold good for SA's also ? Please help
-
For a particular document type posting using FB50/F-02 should be restricted
Hi all,
I have a requirement that, for a particular document type posting using FB50/F-02 should be restricted.
Any idea?
Thanks,Hi,
what Exactly i need to write in validation is...
PREREQUISITE.
company code eq '0001' or '0002' or '0003'.
and doc type 'XX'.
CHECK
data: l_flag type c.
check action eq 'BU'. "only when clicked on 'post' in FB50
Import l_flag from memory id 'YMMID'.
if l_flag eq ''.
endif.
message
'Doc cann't be posted'.
Is it possible to write above code in validation? -
Return to Consignement stock for Return sales order
Hi,
For Home delivery Sales order- Sale is being performed from Vendor consignment stock & it works good with 601K movement .For Return in this case, Return sales order is created & PGR is performed against delivery.While doing this - the returned consignment material goes to unrestricted blocked stock. But we need this to go back to Consignment stock.
Can any one suggest a solution on this ?
Thanks in advance for quick solution, sharing your inputs
KrishStandard movement types for processing returns in SD (651 to return stock, 653 to unrestricted, ...) are not capable to post to special stock K (consignment).
It would be probably best to use the reverse to normal issue - movement type 602 K, though I have never tried this scenario. This should work fine, so make sure the movement type in your returns order (entered in the schedule line category) is 602 (or a copy of 602).
If you still have problems (it is not 100% certain that the system will correctly determine the vendor for the consignment, and stock determination might not help either), then you can always alter the copy control order --> return order (if you are creating by reference), or try implementing BAdI - either LE_SHP_DELIVERY_PROC to enter the special stock indicator and vendor in the returns delivery item, or LE_SHP_GOODSMOVEMENT to modify the generated article document). But these are all non-standard solutions...
regards
Krzysztof -
Hi !!!
Can any body suggest me in return sales proces after ret delv and credit for returns invoice
wht will be the further flow excise invoice in this scenario as , it mean how can i update the previous (in normal sale ex inv to this return process) excise inv.
Regards,
Balu> Hi !!!
> Can any body suggest me in return sales proces after ret delv and credit for returns invoice
> wht will be the further flow excise invoice in this scenario as , it mean how can i update the previous (in normal sale ex inv to this return process) excise inv.
Normal sale Process
a) Sale Order
b) Delivery
c) Picking (if necessary)
d) Commercial Invoice
e) Excise Invoice
Returns
a) Create return order with reference to commercial inv
b) Create return delivery Movement type you can use 651 or 655
c) Generate Credit note
d) Do excise adjustments in J1IH
PLease awd points if resolved -
Two different billing document types for 1 sales document type.
Hi Gurus,
I have a requirement , wherein our client is having counter sale.
He is using one sales doc type , and while creating a order , he is manually adding payment terms.
Requirement is , if the payment terms are cash, billing doc type created later on should be one , else during credit sales , billing document type should be different.
As per my understanding this is not possible.
Want to know if anyone has some different thought on this.
Thanks in advance
Nilesh.Dear Nilesh,
There two options you can look in to
One option is
1.You can define different sales document types for cash and credit.
2. You can define two different billing documents.
3.Do the copy control settings for each combination
Cash sales order >Delivery>Cash invoice
Credit sales order >Delivery>Credit invoice
Second option is
1. You can maintain single sales document for both the processes.
2.Define two different billing types then do the copy control settings for both billing types.
But in this option user need to select the billing type manually based on the process while creating billing document.
I hope this will help you,
Regards,
Murali. -
SD - Two message category for an invoice document type
Good morning all,
I use InterCompany biling in SD with standard invoice document type 'IV' and message category 'RD04' (which enables vendor invoice creation).
My customer asks to be able to print a form for the intercompany bills.
For the non intercompany bills this is actually performed by using a specific message category.
So my question is : is there any way to have TWO message category ('RD04' + specific message for form) automatically attached to an intercompany bill (customizing, user-exit,...) ?
Best regards.
Didier GOBLET.Hi Didier
Assign the logic to the RD04 output type smartform.Then it is possible,In the smartform include the logic that it should automatically attach to the intercompany billing.
Regards
Srinath -
Hi Friends,
I have a issue to fix. The issue is releated to PR.
There are some PR's in the system which has wrong release strategy picked up or wrong approvers picked up due to some congif change. now that the config changes are rectified correctly, we need to find a solution to correct the PR's which got affected due this.
I have to retrigger the release strategy for all the affected PR's.
The characterstics which we have consider for release strategy is Document Type, Company Code and Price Range.
Can anyone suggest how can we retrigger the PR in bulk or individual to all the affected PR's, so that it picks up correct release strategy as per new config changes.
Regards,
Manjunath KHi,
Refer the discussion to triggers release again on release code addition/change in release strategy.
release code is changed on PR release strategy - old PR can´t be approved
Regards,
Biju K -
Document number disrepencies for the same Document Type
Dear All,
I found an issue with Document number range with document type SA wherein last month document posted starts with 1431..... and in current month document posted starts with 1400..... how can this be possible? NOTE: The same document number range is attached to another document type as well.Refer SAP Notes
1828201 - Missing document numbers for accounting documents
175047 - Causes for FI document number gaps (RF_BELEG)
1522367 - Document number gap reason and analysing method
Maybe you are looking for
-
hello gurus, I need to know what version of the JRE is compatible with the Portal. There should be OSS notes about this, or in any Portal installation guides. here i want to know what is the latest version of JRE. could you please suggest me. p
-
Login Keychain disappeared!???
My login keychain has inexplicably disappeared. In Keychain access there is an empty box next to login where there is normally a lock. The keychain can't be accessed, the options are all greyed out. There is no "login.keychain" file in the Library. A
-
Dear sdn friends .how to add my company in sdn contributors corner.
dear sdn friends .how to add my company in sdn contributors corner.
-
Smart playlists not working in iTunes 10.5 and iPhone 4s
None of my smart playlists on my 4s match my iTunes playlists
-
Where is coding place for Visual Composer ?
Hi, I gatta a question, Visual Composer is good tool to develop without coding, but it only privdes a little componts. But I want to expend the project which is develped by VC. So how to find where may be coded? Please