7 character field to purchase order ,customer number
please help
1)
data : kunnr1(7) type c.
data : kunnr like kna1-kunnr.
kunnr1 has only field length 7 and it is of type character.
kunnr is a sap field.
everytime i need to fill the data from the field kunnr1 to sap kunnr and pass to bdc .
suppose kunnr1 = 1930903 ie 7 characters .
and in sap shall i simply copy like this
kunnr = kunnr1. " will this work
or
concatnate '000' kunnr1 to kunnr.
or
any other one .
2)same with the purchase order number.
data : po(7) type c.
dat : bstdk type vbak-bstdk.
po = asdefgr
bsdtk = po
or
concatenate '' po to bsdtk.
if i assign value from po to bsdtk will at end command will work on bstdk?
example
loop at itab into workarea.
at last bsdtk." i need this to work so tell me how to assign the value from po to bsdtk
endloop.
i checked the customer number in sap system,
in the sales order it is stored as 1277494
i checked in vbak table and it is stored as 1277494and rest blank spaces.
i checked in kna1 table , the same kunnr is stored as 0001277494.
why is this difference?
so i need to use the 'CONVERSION_EXIT_ALPHA_INPUT' for kunnr?
I checked for po but that is stored as a charater format and no need to add the leading zeros, is that right?
I used CONVERSION_EXIT_MATN1_INPUT for material do i need to use CONVERSION_EXIT_ALPHA_INPUT for material also?
thank you for the solutions given.
Similar Messages
-
Purchase Order Customer Fields
Hi Experts,
I have enhanced purchase order screen at header level with customer data tab.This tab contains text fields where user can enter details regarding import purchase orders.
I have also activated release strategy on Purchase Orders.Now the requirement is that I want to make these fields editable even if Purchase Order is released. SAP does not allow to save values in these fields if Purchase Order is released i can do so by first un-releasing PO and then entering values.I want to know if it is possible to enter values(in these fields only) without cancelling Release.
Regards,
SohaibEnhancing the purchase order with the customer data tab, fields can definately be edited even after the purchase order is released.
Are these fields mapped to release strategy?
Please check your setting under spro>Materials management> purchasing > release procedure> release indicator in it.Probably it is is set to 1
Regards
Sangeeta -
Drill down of purchase request number field in Purchase order
Hi, We need Drill down of purchase request number field in Purchase order. Please help.
Hi
In VOV8 as far as i understood by your query you are asking about the following :
Enter Purchase Order number - This indicator checks for the purchase order number and if you dont enter the purchase order number then system will consider the sales document number as purchase order number
Check Purchase order number - If you check then system will check wheather the purchase order number existed or not for this sales document type
Regards
Srinath -
Make short text field in Purchase order creation only display..
Sir,
Yeah my requirement is quite unusual, but such is the situation.
I want to make the short text field in purchase order creation "only disply". what is happening is that user while creating PO is able to change the text of material in short text column. I want to make it only for display.
Can it done on document type level, since for service type, and Text type of account assignment cat, only text field is filled up. so how to do it.
Please assist...
RahulDear Rahul,
If you want to have the short text display only for standard item but not service item, you may check below customizing.
Transaction SPRO:
MM-PUR-PO
-> Define screen layout at document level
Field Selection group: Basic Data, Item
Field Selection Key: PT0F Standard item purchase order
Field: Short text -> set as display
Hope this help.
Ian Wong Loke Foong -
PR to be made mandatory field in Purchase Order
Hello,
PR to be made mandatory field in Purchase Order.
How i can do this in SAP ?
Regards
RahulHi,
First check your PO document type which you want to make PR number field as mandatory in ME21N.
Then Goto -> SPRO- Material Management - Purchase order- define document type for Purchase order - E.g NB- check the field selection assignment ( NBF)
Next,
Goto - Define screen layout at document level ( t.code OMF4) SELECTION GROUP Reference data, item and under Field selection key as NBF.
Field name - Purchase Requisition as Required entry with flagged check box.
Now in purchase order for the choose document type NB=PO the PR field as required entries.
System will allow to create PO only with reference to PR.
Thanks
Thiru -
ERS field in Purchase Order Line detail (Invoice Tab)
Hi ... I was trying to figure out the priorities for ERS field in Purchase order ...
What i could simulate is ...
Case 1
In case Vendor master has ERS = YES but in info record ( for vendor and material) NO ERS is defined.
Then ERS field will get appeared in PO LINE detail with value NO (not set)
Case 2
In case Vendor master has ERS = No but in info record (for vendor and material) ERS is set.( NO ERS = not set)
Then ERS field will not get appeared in PO LINE detail
Case 3
In case Vendor master has ERS = YES and in info record (for vendor and material) ERS is set.( NO ERS = not set)
Then ERS field will get appeared in PO LINE detail with ERS = YES
Here I am doubtful about case 2 .... I believe info record should always have priority over vendor , but system is not behaving as per expectation.
Could u pls tell me the exact conditions when ERS field will not appeared and if appeared from where it will pick the default values in PO LINE details
Regards
SANDEEPthe info record has precedence.
The bad thing is, that this field is , contrary to other field that appear in vendor and info record, has a negative meaning.
ERS field name in vendor is auto eval GR settlement,
while in info record it is : No ERS.
lets do an example:
V=vendor
I = Info record
P = purchase order
X = box selected
N = box not selected
so we can have this 4 cases:
VIP
XNX
XXN
NXN
NNN
The 3rd case NXN does not really make any sense. -
Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order
Hi All
I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
The implementation of the BADI ie the Subscreen of the fields to be added appears in transaction ME23N but it does not appear in the transaction ME22N and ME21N.
Can anyone help me on this.
Thanx.
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Jul 10, 2009 12:10 PMcheck the answer
[New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
bye -
Prevent unauthorised changing of 'Ship to' field of Purchase order
Hi experts
I am trying to prevent users from changing 'Ship to' field of Purchase Order without authorisation. OPOR.Address2
I am thinking to do this I should use a Stored Procedure which cause error if a condition is not met?
First I am trying to prevent any change of this field:
SP attempt:
--No changing of ship to address on PO
IF @object_type = '22' AND @transaction_type IN ('U','A')
BEGIN
IF EXISTS (SELECT T0.Address2 FROM dbo.OPOR T0 WHERE T0.Address2 <> (SELECT T1.CompnyAddr FROM dbo.OADM T1) AND T0.Address2 = @list_of_cols_val_tab_del)
SELECT @error = 1, @error_message = N'Direct shipment requires authorisation'
END
The above does not work - please can someone assist?
If there is better way to achieve my required outcome please advise me.
Thanks
KarenHi,
Try this:
IF @object_type = '22' AND @transaction_type IN ('U','A')
BEGIN
IF EXISTS (SELECT T0.[Docentry] FROM OPOR T0 WHERE T0.[Address2] <> ( select T0.[CompnyAddr] from OADM T0) AND T0.docentry = @list_of_cols_val_tab_del)
SELECT @error = 1, @error_message = N'Direct shipment requires authorisation'
END
Thanks & Regards,
Nagarajan -
Purchase Req as mandatory field at Purchase Order
Hi Gurus,
I have the next problem:
I'm trying to put purchase requisition as mandatory field at purchase order.
At img i made the following steps:
Materials Management > Purchasing > Purchase Order > Define screen layout at document level
I sellected the screen layout that I want to change
At 'reference data, item' I sellected 'purchase requisition' as 'reqd. entry'.
Next I try to do a PO and it doesn't work...
Anyone knows why?
Regards
LRForce buyers to create Purchase Order with ref. to a Pur. Req., Quotation or Pur. Ord.
Transaction OMET
Create a new entry, give it a name and tick :-
Ref. to PReq
Ref. to P.O.
Ref. to quotation
Next, you've got to associate via SU01
Click Parameters, insert a new parameter id EFB to the authorization code.
Type in Parameters value you want e.g. XX
You have to assign the control for ALL the SAP buyers via thier SAP users id.
Logoff and login again. Then try to create a Purchase Order without a reference.
Source link: http://www.academictutorials.com/sap-mm/sap-mm-configuration-tips.asp -
Purchase order , customer master
Hi all,
using sap scripts, what r the changes we can do in Purchase order & Customer master.
(If somebody ask what u did in scripts, what can i say)
Plz give explain me.
Very urgent please.
Thanks in advance
VenkatThese are the typical requirements that would mostly cause big problems if they try to run B1 in parallel to any 3rd party applications. Especially if the other application would be in leading role. That defeats the concept of ERP.
However, it is still possible to make it work initially. You just need to find all required information from the other application new records export. Then use DI API to update B1.
Thanks,
Gordon -
SAP MM Purchase Order custom field pulling through to FI
Hi
I have no idea where to start. I need to create a custom field in the Purchase order which has to pull through to FI. I've created an Account Assignment category I - Insurance and need to have a field on the Purchase order where the users can fill in the Claim Number. (Reference field).
I thought I could maybe use the Unloading point field as we don't use it currently, but it doesn't pull through to reports on FI.
Secondly I would like to link my Account assignment category to a specific General Ledger account (when the user choses Aac I, I would like a G/L to automatically populate and be grey (no changes possible)
Thanks so much!
CarinaI Actually think I found the answer here - http://www.bluemarlinsys.com/ns/0603-03.asp
1) How to default a General Ledger account on a Purchase Order account assignment for an inventory item?
When you create a standard Purchase Order using ‘K’ account assignment to expense an inventory item with GL account and cost center, the system expects you to key in GL account number and the cost center. In case you don’t want to use the account modification ‘VBR’ assigned GL account number, it is possible to default a separate GL account with standard configuration steps.
a) Transaction: OME9 (Maintain account assignment categories)
Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’. Change account modification to ‘ZBR’.
b) Transaction: OMGO (Define combination of item categories/account assignment categories)
Assign account assignment category created in previous step to an item category blank or space.
Note:
This is an optional step, if you don’t want to touch the standard ‘K’ cost center account assignment.
c) Transaction: OBYC (Automatic account assignment configuration)
Choose account transaction key ‘GBB’ by double clicking the existing entry and choose the appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘RAW’ (use appropriate valuation class set-up in your company).
d) Transaction: ME21N to create a purchase order to test the configuration.
When you create a PO with account assignment ‘Z’ for an inventory item, the system should default the above-configured GL account.
2) How to default a GL account for a material group when a purchase order is created without a material master?
If you want to create a purchase order without a material master (service/expense items), the standard SAP R/3 4.x and higher releases, offer functionality to assign a valuation class to a material group. This way automatic MM account assignment can be set-up to drive the appropriate GL account for a material group/valuation class in your company.
a) Transaction: OMSK (Define valuation class):
b) Transaction: OMQM (Entry aids for items without a material master):
Assign the appropriate valuation class for a material group.
c) Transaction: OME9 (Maintain account assignment categories)
Create a new account assignment category ‘Z’ by making a copy of account assignment category ‘K’. Change account modification to ‘ZBR’.
d) Transaction: OMGO (Define the combination of item categories/account assignment categories)
Assign the account assignment category created in previous step to an item category blank or space.
Note:
This is an optional step if you don’t want to touch the standard ‘K’ cost center account assignment.
e) Transaction: OBYC: (Automatic account assignment configuration)
Choose account transaction key ‘GBB’ by double clicking the existing entry and choose appropriate chart of account for your company. Assign the GL account that needs to be defaulted for general modification ‘ZBR’ and valuation class ‘TRF’ (use the appropriate valuation class set-up in your company).
f) Transaction: ME21N to create a purchase order to test the configuration.
Standard order type, Account assignment category ‘Z’ and Material Group ‘TRAFFIC’.
Account assignment screen:
Note:
Before configuring account assignment, please discuss this with your SAP FI/CO functional contact and Accounting department key user for mapping valuation class to General ledger account numbers etc.
Some of my colleagues in MM Purchasing liked this configuration and I thought your company might also benefit from this in case you want to default the GL account in purchasing to avoid wrong account coding. -
Add customer fields to purchase order header
Hi ,
I need to add two additional fields to the purchase order header.
In std program SAPMM06E screen number 101 i have seen a code
CALL CUSTOMER-SUBSCREEN CUSTSCR1 INCLUDING 'SAPLXM06' '0101'
how to make use of this..and add my fields..wht all steps need to be done for this..
do i hve to append fields to ekko..pls give me details
ansariYou have to use [Enhancement|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] MM06E005, read the enhancement documentation for more information.
- Look at enhancement via transaction [SMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?query=smod&cat=sdn_all]
- Implement via transaction [CMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=cmod&adv=false&sortby=cm_rnd_rankvalue]
Look at [Enhancements|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] and [Customer Exits|http://help.sap.com/erp2005_ehp_04/helpdata/EN/c8/1975cc43b111d1896f0000e8322d00/frameset.htm] or the old [Changing the SAP Standard (BC)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBCEX/BCDWBCEX.pdf]
Another source of information begins at OSS [Note 496083 - FAQ: Customer enhancements (User Exits) in purchasing|https://service.sap.com/sap/support/notes/496083]
Regards -
Custom fields on Purchase order screen in SRM are missing.
Hi ALL,
SRM 5.0 R/3 4.6c
We have custom fields which appear on the create PO in SRM, the criteria for these fields to appear is if the item is of service type.So if its service item there will be additional/ custom fields for input purchase order screen in SRM,
But at this these fields dont show up for service item PO's . this is happening in Q and P environments while it is working fine in D and S. No changes were made to the system.
Also if I look in to bbp_pd info for the previous service PO, the data shows up in bbp_pd but the data or the custom fields are missing on the web.
We tried deactivating/activating the custom class in Q , but that did not help us!
Consider this as urgernt!
Can anyone please throw some light on this!
Thanks
KrishnaHave you implementated the BADI: BBP_CUF_BADI_2
if yes, then keep a break point there and see if you are missing any thing there... -
How to transfer Supplier custom field into Purchase order
Hi ,
We had a custom field called Project code in Supplier data (vendor master) at SRM. As per flow purchase order gets created as a follow-on document. Now the requirement -Project code which was there in supplier data this should be transfered to PO
In my knowledge this can be done through BADI , Could you please explain me steps required to do this?
Thanks in advance.
HarishTry BBP_DOC_CHANGE_BADI or BBP_ITEM_CHANGE_BADI.
-
Customer Field in purchase order (ECC 6.0)
Hi,
I need a help on custumer field in ECC 6.0.
I would like to know if there is a standard way to see customer fields in purchase or sales order.
Thanks very much.
DiegoCustomer fields (as in KUNNR) or custom fields?
Bothe sales orders and POs have user-exit screens that can be employed to show <b>custom </b>fields both at header and item levels. In the case of sales orders, it is oft-referred to as "Additional Data B" screen. This is the last tab screen of the sales order.
Caveat: The above is from 46C, but am willing to bet that this feature still exists in the ECCs.
Maybe you are looking for
-
I am trying to get my files from my old iPhone 5s onto my new iPhone 6 Plus. I am currently and have been using iCloud to backup my files/state. However, I believe the antenna on the iPhone 5s went kaput a few months ago, because the Wi-Fi and Blueto
-
I can't sync my iPhone 4 to my MacBook anymore. I get an iTunes message that I need to upgrade but my system check says I have all the upgrades. I tried to download iTunes 11.2.2 but my Mac can't handle it (OS X 10.5.8). Am I stuck in a 'Catch 22'
-
I have to read emails from 2 or 3 years ago, which were held in Thunderbird, until the machine broke down. I have the data backed up, but I can't get it recognised by new Thunderbird. I can see every message encrypted in the folders. However because
-
Help plz urgent!!!!!
I am using SAXParser: How to overload startElement, endElement and charcaters method in MyClass. Is that possible because I need three different implementations for all these methods based on the command line options. thanx in advance!
-
How can I downgrade iphone 4s to ios 7.1.2 from 8.1.2
Hello, My iphone 4s cannot connect to wifi. sometimes I cannot turn wifi on(it's greyed out). sometimes I can connect but it alternately connect and disconnect I think this happened when I upgraded my ios to 8.1.2(I'm not sure). when it's greyed out,