Me51n
HI gurus,
while creating PR i am getting error like
"please choose correct department code "
please give me some advice so will give uou rewards
Sarvesh
Edited by: datla Sarvesh on Jun 10, 2008 6:25 AM
HI,
I think we are not sure of the error.
Why dont you double click on the error and then click on the icon(which looks like a key on top) which takes to the configuration screen. Specify without project and continue and see what you get, May be the entry which you are giving is not been defined in the system for department code.
Thanks & Regards,
Kiran
Similar Messages
-
Not allowing to change the plants in me51n transaction
hi all,
my requirement is to not allow the user to use different plants at item level(10,20 etc) . for that i have used the user exit MEREQ001 in the function module EXIT_SAPLMEREQ_010
i have written following code
DATA : WA_EBAN LIKE EBAN,
WA_EBAN1 LIKE EBAN.
IF SY-TCODE EQ 'ME51N'.
READ TABLE IM_T_EBAN INTO WA_EBAN INDEX 1 TRANSPORTING WERKS .
IF SY-SUBRC EQ 0.
LOOP AT IM_T_EBAN INTO WA_EBAN1 WHERE WERKS NE WA_EBAN-WERKS.
IF SY-SUBRC EQ 0.
MESSAGE ID 'ZM' TYPE 'E' NUMBER '305'.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
iam able to trigger tha error message when we use diffferent plants at item level.but after that iam not able to change the plants in iten level.so please can anyone suggest me how to solve this problem
thanks in advance
rama.This OSS [Note 383725 - Enhancement MEREQ001 various problems|https://service.sap.com/sap/support/notes/383725] may help you.
Regards -
Material field not getting displayed on Material Data tab in ME51n or ME21N
Material Field was missing in ME51n/ME21n.
I went into SPRO ->PReq-> Define Screen Layout at Document Level and checked Optional for Material field. Now it's showing up on the ITEM overview section of the Preq.
But its still missing on Material Data tab in ME51n or ME21N but I can see the Material field on the Item Overiew section of the Req/PO Screen.
Where exactly do I make the settings for the item level in SPRO?We use the Enjoy screens and document types for ME51N/ME21N pretty much out of the box. We do not have the material master number on any of the detailed item tabs either. I do not think you can show it in the details unless you activate the customer specific fields tab.
Regards -
Error message does not lead to the custom tab me51n
Hi Experts,
When I try to to create a PR in me51n and check, a popup with error messges appear when we pick one of the entry and select edit button that leads to the field of that concerned tab.I have a custom tab and cutom field the issue is error message is displayed to fill the custom field but when I check mark that error and select edit that does not take me to the custom tab where custom field exists please suggest I have tried lot of user exits but no use.
appreciate your help......We added some error message checking using Function exit EXIT_SAPLMEREQ_005. How we can bring the screen to Customer Data Tab when there are any errors under the tab. And as long as the error is not fixed, the screen will stay on the tab?
To eloborate my question - in ME51n/Me52n, the system gives a messages window/subscreen with errors or warnings upon clicking the check button or upon save. On the messages window/subscreen, we can select a particular message and edit will take action to the corresponding tab with the cursor on the field with the issue. I understand this is standard functionality.
However I'm looking for a way to make this work for a mandatory field on the customer data tab i.e., when I select the error message pertaining to this mandatory field and choose edit, control should jump to the customer data tab with the cursor on the mandatory field. -
Activate text for Cost Center for ME51N, ME52N, ME53N
Hi, experts
As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
Thanks in advance.
Is there any path or exit could help with it?I need to add on Tabstrip "Account assignment" for fields
CO Area and Cost Center text field description ( right side ) for each one.
How can I do this? Thanks in advance. -
Display descriptions of cost center and G/L account in ME51N/ME52N/ME53N
Hi Experts,
Can any one suggest that how to display descriptions of cost center and G/L account in account assignment subscreen- ME51N / ME52N / ME53N.
Thanks in Advance...
Sivahi
if the field is required then u have to enter them manually
so if this are not required then goto OKB9 here give the default cost center for the Gl acct -
Change the name of custom tab in me51n / me52n / me53n
Hi,
I have to add a few custom fields in PR item of transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
Can anyone suggest me how to go about doing this???
Thanks in advance.
Abhisek.
P.S.:- Points will be be duly awarded 4 helpfull answers.Hi,
I tried doing whatever you had suggested but it seems that it is not working.
Could you suggest some other way to do this?
Thanks and regards.
Abhisek. -
Obrigatory Number Service on ME51N,ME52N,ME53N for company or plant
Staff
I wonder if it is possible to make the number of mandatory service as a company or plant in transaction ME51N and ME52N and ME53N.
I used trransação OLMSRV - Set Screen Layout but it makes the number of mandatory service for all the company's and plans.
Sorry for my english>
Hi Sandipan, sorry for the late, I tried to manage this task but without success.
The user exit I'm working on in EXIT_SAPLBBPK_001.
FUNCTION EXIT_SAPLBBPK_001.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(IM_BBPDECDATA) LIKE BBPDECDATA STRUCTURE BBPDECDATA
*" VALUE(IV_MANU_PROF) TYPE MANPRC OPTIONAL
*" CHANGING
*" VALUE(CH_PROFILE) LIKE T160EX-EPROFILE
INCLUDE ZXBBPU04.
ENDFUNCTION.
It includes ZXBBPU04, in which I have to understand if I'm working on a Purch. requisition in MODIFY mode or in CREATE mode. -
Availability Overview in ME51N, ME52N, ME53N
Hi,
When I go to the menu path Environment -> Availability in transactions ME51N, ME52N or ME53N, nothing happens. The expected behaviour is the display of availability overview as in transactions ME21N, ME22N, ME23N.
I found the same thing to happen in several SAP systems. What is the reason behind this strange behavior?
Thank you.
Helpful answers will be rewarded.Availability check only possible for stock transfer items
-
Enhancement in ME51n, ME52n, ME53n,
Hi experts,
I want to add one tab in Purchase requisition screens(, ME51n,ME52n,ME53n). In that tab i need to add some fields. i need to do using MEREQ001 . Can any one tell me how to do it? please......
Thanks
siva
Moderator message: please do more research before asking, show what you have done when posting.
Edited by: Thomas Zloch on Feb 14, 2012Hi,
You can't use the BADI " ME_PROCESS_REQ_CUST.
The main purpose of this badi is use to validate the PR at different levels. If you see the methods of that BADI for eg :
1. Process_header : This for validating the header part.
2. Process_item : This for validating the line item details.
Like that there are so many methods are there inside this BADI.
You mentioned that you deactivated the Existing Project of PR and i want to know in which package you have mentioned.
If that existing project is not needed you can delete the old one and incoporate the new logic and the old logic in the new project.
Hope you got some idea now.
With Regards,
Sumodh.P -
Add on custom button to ALV toolbar in std tcode ME51N, ME52N and ME53N.
Hi All,
I have the requirement to add on the custom button to ALV toolbar in ITEM OVERVIEW for standard transaction ME51N, ME52N and ME53N. Does anyone know what enhancement point or user exit i should apply and how i can add on the custom button?
Thanks.There are no user exits or badi's for COOIS. You may have to make copy of the PPIO_ENTRY to ZPPIO_ENTRY including all the varians without changing their names like copy SAP&COOIS to SAP&COOIS. Create a T-Code ZCOOIS and replace COOIS in variant SAP&COOIS to ZCOOIS not in the name of the variant but in the field "Check Authorization for".
The PF-Status is found in the include LCOISOUTPUTF16 which is located in the function group COISOUTPUT you may have to copy that too. Finally you need to copy SAPLCOISOUTPUT with its GUI status GENERAL and add your custom button there. -
Required F4 help for Requestioner(EBAN-AFNAM) in ME51N,ME52N & ME53N
Hi Experts,
Need F4 help for Requistioner(EBAN-AFNAM) in Tran. ME51N, the system is ECC 5.0,
How can i meet my requirement., kindly revert back <removed by moderator> if u have solution for this.
Regards,
Niranjan.G
Edited by: Thomas Zloch on Jun 21, 2010 4:35 PMHi,
There are 2 possibilities.
For these you need to get the Access key.
One is just create the search help and assign this search help to this field in the screen attributes.
Second one Just create the POV for this field.
With Regards,
Sumodh.P -
Hi,
I added a new tab at item level of Purchase Requisition using enhancement MEREQ001 screen SAPLXM02 screen number 0111. The fields that i placed in my new tab had been added to include table CI_EBANDB. The new tab appears in transaction ME52N and ME53N but not in ME51N. What I need to do to make my new tab appear in ME51N? Also in ME53N, the fields that i added in my new tab is activated. How am I going to deactivated the fields if I am in display mode?
Kindly guide me on how to do this..hi,
go to se80 tcode give the function group as XM02 ....in that u will find ur added screen 0111 ....and include
ZXM02TOP where u can declare ur sscreen fields here .
and in the flowlogic of the screen u will find PBO AND PAI.
here you can add the required modules for your logic.....
if you want to make the fields non editable in ME23N..
crearet a module under PBO which will ask u for new Z include create it and write code under
loop at screen.
end loop.
loop at screen .
if sy-tcode = 'ME23N'.
if screen-name = ' '.
screen-input = 0.
endif.
endif.
endloop.
try to check out the values in debugg mode. -
How to add the Match code object for the requisitioner field in TCODE ME51N
Hi,
How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
Please do the needful to me.
Regards
Rajeshdon't you think that posting your question to a microsoft developer site would be more efficient?
regards,
anton -
Generate Schedule Lines in PR - ME51N
Hi,
Is it possible to generate schedule lines with PR thru ME51N.
Our requirement is that if we insert Delivery Date in PR line item, system ask for Schedule Line in which we insert the same as per requirement...
Please suggest..how can we do it???Hi,
As already solution provided, 2 points I would like to mention,
Delivery date in ME51N not only meant to enter manually. Its automatically calculated and overwritten your entered date - it populates calculating valid delivery times available in info records, purchase organization data from planned delivery time, GR processing time etc.
The best solution is go ahead with Scheduling agreement. For every requirement if you are not able to go ahead with Contract/Scheduling agreement - go ahead with separate line item with assign source of supply from which planned delivery times calculated automatically or you can enter separately. -
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK .
Maybe you are looking for
-
How can i make a picture from a video file with final cut pro x?
how can i make a picture from a video file with final cut pro x?
-
Output type and application for order cancellation
What is the output type and application for the cancellation of a sales order
-
Stopping a SubVI without stopping the main VI
Hi, I have a VI with two SubVIs which are being executed sequently, with the second SubVI waiting for an user event in the first SubVI. The SubVI front panels are open and used as the user interface when they are executed. When I push the stop button
-
Open with... shows uninstalled program
This has been nagging at me for quite some time now... I always thought that it was an issue with some far-out bit of gnome I'd never heard of, but I just removed 80% of gnome (keeping only a few applications and libraries needed to run them), and ye
-
How many space is used by an object
Hi @ all, my english isn't very well but I hope you will understand me. I have to find out how many space is used by an object at runtime. The goal is to get information about the actual used space by an objectbuffer. (I mustn't use jvmpi or somethin