Create a large number of purchase order in ME21N
Hello,
Is there a CATT or LSMW transaction or a program to create a large number of purchase orders with the positions?
Thanks in advice
Fany
you can LSMW with direct input method
Object - 0085, method - 0001
venkat
Similar Messages
-
Can SAP get material number in Purchase order in external processing?
I have a question that:
As I know, Exeternal processing is a service, so that Material number can not be shown in purchase order converted from PR for external processing. Here, PR can be automately generated from transaction CO01 to create an external processing production order. Meanwhile, for external processing, purchase info record is created without material number only with material group.
So, I want to know that if there any solutions to show material number in purchase order generated for external processing?
thanks,
best regards,If therer are no production order, How can I get finished products from internal activity and external processing?
Now, external processing in our company like this:
1.create an purchase info record. (type:subcontracting, with material group, but not material ID)
2.Maintan external processing data in external operation where external processing happens.(control key: pp02, external processing data: info record, purchase org. net price, cost element etc.)
3.create a production order for the material.(one of the operations is an external processing operation described like step 2)
4.Purchase requstion is changed into Purchase order. (Purchase requestion is automately created with the production order)
5.MIGO to receive goods from the purchase order.
6.finished the production order and delivery goods.then the production order is DLV.
In step 4, purchase order can only get the production order ID, but there are no material ID shown in it. Only method to show material is that maintaining a description text in the external operation, then, purchase order item could show material in material text(but, here, there is no material ID derectly from info record or production order).
this is the big problem now for our company. No material ID can be automately carried into the purchase order.
Hope you help..
thanks... -
Production order created through procurement wizard but purchase order connected in SO
SBO Localization: Korea
SBO Version:SAP Business One 8.82 (8.82.073) PL: 10
Production order created through procurement confirmation wizard on the base of sales order. In sales order "Procurement document" field production order number showing correct. But if click on document arrow then same number of purchase order opening where as we expect that production order should open. This is something like connection bug. This happens only if sales order approval workflow is active. In relationship map we can see production order is connected. See details in attached pic.
I have also tested this case in Belgium localization the result is almost same. The difference is only if clicked on procurement document number arrow (from sales order document) then different number of purchase order opens.
Is this known issue? Could someone please provide me the solution?
Yogesh ChaudhariHi,
It is application error. Please check SAP note:
1718843 - Blank production order or purchase request displayed if
“Procurement Doc.” selected in “Form Settings” window
Thanks & Regards,
Nagarajan -
Vendor material number in purchase order
Hello,
I have the following problem :
When i create a purchase order (transaction ME21N), the vendor material number (field IDNLF) will be suggested from the purchasing info record.
It isn't the case, the vendor material number is empty.
I don't understand why.
Do you have an idea ?
Thank youHello,
Vendor Material Number; Material number used by the vendor, Usually we saw this field in Info records.
We can see the same field in ME21N in Material data tab ( Item level of the PO), If Vendor and Material combination have correct info record and if suppose user has maintained Vendor Material number field, then while creation of PO for the combination of particular material and vendor system will get Inforecord price in PO and system will populated Vendor Material number in Material data tab of the PO in item level.
Thanks and Regards
Mahesh Naik -
Call BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order
Hi,
I'm calling the bapi BAPI_GOODSMVT_CREATE to create a goods receipt for purchase order, but the following code doesn't work. It doesn't give me any kind of error message but it does nothing as well...
Can anyone help me please?
Thank You
Hugo
Code
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 17.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '00010'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ 'Ok'.
endif.
endif.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '.Hi,
Thank you for the asnwer! I'm a rookie at ABAP so please forgive my stupid questions
I've changed the code to:
DATA: wa_goodsmvt_header LIKE bapi2017_gm_head_01,
wa_goodsmvt_code LIKE bapi2017_gm_code,
wa_bapi2017_gm_head TYPE bapi2017_gm_head_ret-mat_doc.
DATA: it_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
wa_goodsmvt_header-pstng_date = SY-DATUM.
wa_goodsmvt_header-doc_date = SY-DATUM.
wa_goodsmvt_header-ref_doc_no = '4500000020'.
wa_goodsmvt_code-gm_code = '01'. "Goods receipt for purchase Order
it_goodsmvt_item-plant = 'BP01'.
it_goodsmvt_item-stge_loc = 'BPF2'.
it_goodsmvt_item-move_type = '101' .
it_goodsmvt_item-entry_qnt = 10.
it_goodsmvt_item-entry_uom = 'KG'.
it_goodsmvt_item-mvt_ind = 'B'.
it_goodsmvt_item-po_number = '4500000020'.
it_goodsmvt_item-po_item = '10'.
it_goodsmvt_item-material = '50'.
APPEND it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_header
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = wa_bapi2017_gm_head
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_return.
write:/ it_return-message.
And the return message is : Material document data and PO data do not match (Material)
Any idea of what might be the problem?
Thanks -
Update was terminated while creating purchase order from ME21N
Hi Experts,
We are getting this dump when try to create purchase order from ME21N;
Our system ECC 6.0 and IS-AFS (Apparel & Footwear Solution) V600 component has installed,
How can we prevent this error,
Regards
Here is the dump and sm21 log,
Runtime Errors LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
Date and Time 10.10.2008 10:22:03
Short text
Program "RMCMS431 " not found.
What happened?
There are several possibilities:
Error in the ABAP Application Program
The current ABAP program "SAPLMCS4" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "SAPLMCS4" program had to be terminated because the
ABAP processor detected an internal system error.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
caught in
procedure "TMC2F_FROUT_CALL" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely "RMCMS431 ".
However, program "RMCMS431 " does not exist in the library.
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
How to correct the error
Check the last transports to the R/3 System.
Are changes currently being made to the program "SAPLMCS4"?
Has the correct program been entered in table TSTC for Transaction "ME21N "?
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"LOAD_PROGRAM_NOT_FOUND" "CX_SY_PROGRAM_NOT_FOUND"
"SAPLMCS4" or "LMCS4F10"
"TMC2F_FROUT_CALL"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"TMC2F_FROUT_CALL" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
sm21 log ;
Transaction Canceled 00 671 ( LOAD_PROGRAM_NOT_FOUND 20081010102203saptest_TET_00 EYUCE 100
Update terminated
> Update key: F39796DD5421F1509233001E0BD601E0
> Update module: MCE_STATISTICS_UPD_V2
Run-time error "LOAD_PROGRAM_NOT_FOUND" occurredPlease follow the oss note 800335
V2 Update terminations in Purchasing transactions after upgrading or installing AFS 5.0 release.
Other terms
AFS, LIS, MIGO, ME22N, OLI3, S433, S431
Reason and Prerequisites
AFS Purchasing infostructure S431 is no longer used. S433 is the valid infostructure for the release AFS 5.0.
Solution
Please do the following.
For customers upgrading to AFS 5.0 only:
> Rebuild Infostructure S433.
- Goto transaction: OLI3 (Statistical Set up of Infostructures)
- Info structure to be compile: S433
- Specify the 'Name of run'.
- Execute.
> Please also follow the instructions given below.
For both Upgrade and Non-upgrade Customers:
> Create the report 'ZDELS431'.
- Transaction: SE38
- Give Program name as ZDELS431.
- Create (F5).
- Title : 'Program to delete S431'.
- Type : 1 (Executable Program).
- Status: T (Test Program).
> Copy the program text from the note and paste in the program.
> Save and activate the program.
> Execute the report for all clients in Update mode.
(Two check-boxes will appear: P_ALL_CL, P_UPDATE.
Please check both of them).
This report will delete all the references to infostructure S431. -
Number of Purchase Order - 2lis_02_scl
Hi guys!
I'm working in BI Retail project and we need to do a counter for Purchase Order. Nothing od Business Content is done to manage the number of Purchase Order. I'm thinking in make a counter from InfoSource 2lis_02_scl to InfoCube 0rt_c05 setting a cero in combination with Posting Date. My doubt is if this counter will work fine because I think that the Purchase Order could change at the same Posting Date, I'll get a douplicate for the counter because this DataSource has Delta Management. Have Anybody done some similar? May anybody help me?
Regards,
CsrThe extractor 2LIS_02_S011 might be helpfull.
It provides infoobject 0NO_PUR_ORD.
Tks=points
Regards,
Selvam -
How to Create inspection that assign to Purchase Order / Material Document
Dear QM Master,
I am using QA01 to create inspection lot but can any master tell me , How to Create inspection that assign to Purchase Order / Material Document ?
Appreciate.
Thank you.Hello,
When you create an inspection lot manually, you cannot reference an original document (for example, a goods receipt document, an order, or a delivery note).
In QA01 you can create inspection lot manually for all inspection lot origins except the following:
10 - Delivery to customer with sales order
11 - Delivery to customer without sales order
12 - General delivery
13 - Repetitive manufacturing
14 - Plant maintenance
You can also refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/2d/3519d8448c11d189420000e829fbbd/frameset.htm
Please check and revert.
Regards,
Priyanka -
BI : Invoice number in Purchase Order
Hi Experts,
I am doing Standard extraction for having purchase order related data in BI. we are using the below data sources :
2LIS_02_itm, 2lis_02_cgr,2lis_02_scn & 2lis_02_sgr. Our requirement is we want to have the invoice number(XBLNR,REBZG) in the extraction but none of the standard PO related Datasource has these fields. Kindly advise how can we bring the invoice number for purchase order extraction.
thanks & regards,
M.SHi,
You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
Thanks,
RRR.
Edited by: Rammi on Feb 18, 2010 10:11 AM
Edited by: Rammi on Feb 18, 2010 10:12 AM
Edited by: Rammi on Feb 18, 2010 10:12 AM -
Create a reservation without a purchase order
Hi all,
I try to create a reservation without a purchase order for material T-RN133, and then i got a message, " Order 800040 is flagged for deletion". Then i tried to create another reservation, but still got the same error message.
THe movement type is 501.
Please help me out.Hi
You should not be getting an error when you are using movement type 501 for creating reservation.. can you please check what that order is and give us more details so that we can help also please check there is an user exit or something Z developed to check against order..
As such Std SAP you should not be getting the error
Thanks -
How Create new Tax code in Purchase order
Dear Sir,
I have creat new tax code in Purchase order
Basic value 3976876.53
Ex Duty 10% 397687.6525
edu.cess 2% 7953.75305
s&h Edu.cess 1% 3976.876525
Toatal 4386494.81
CST 1% 43864.94807
Addition 12550.00
i have all ready tax code 1021+5vatHi Sneha Patel
Case1:
If tax is applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing procedure (Tocde M/08) before the net value is calculated in ur pricing procedure so that it is taken for tax calculation.
Case2:
If tax is not applicable on the freight charges then create a Z condition in (Tocde M/06) and assign it in ur pricing procedure (Tocde M/08) after the net value is calculated in ur pricing procedure so that it is not taken for tax calculation.
For both the conditions select
Cond. class A Discount or surcharge
Calculat.type B Fixed amount
Cond.category B Delivery costs
Also mark as a header or item condition with accruals checked.
If u are not sure then copy FRA1 condition in STD and change Calculat.type as B Fixed amount instead of % in FRA1 so that u can enter the amount directly in PO.
Also mark these conditions as manual in ur pricing procedure so that these can be entered manuall in PO if reqd.
While creating PO u can select the reqd condition (with or without tax) under conditions tab and enter the amount.
hope it clears ur issue
Chk and revert
Reg
Raja -
Creating inbound delivery for the purchase order line items
Hi Experts,
Please let me know how can I create inbound delivery for the purchase order line items? Say, I have a purchase order with 5 line items in it. I wanted to create an inbound delivery for only 2 line items at this point of time. Which SAP Standard transaction I have to use and what all data I need to populate? I would appreciate any help on this and will reward the right answer. Please let me know.
Thank you in advance.
with regards,
Muthu Ganapathy.Hi,
While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
Hope this answers your query.
Regards
Irfan. -
Purchase order in Me21N, Me59N, MEMASSPO
I need to insert an authority check when user try to create a purchase order in Me21N, Me59N, MEMASSPO. Does any one know an exit, bapi ... that involves all those transactions? Please help me.
Thanks,Use the following auth objects in a role and test:
M_BEST_EKO ACTVT=01;EKORG= Purchasing Organization for which you want to give authorization
M_BANF_BSA ACTVT=01;BSART= Document type for which you want to give authorization
Have a look at this note:
751129 - Authorizations in Enjoy Transactions in Purchasing -
G/L Account Error While doing Purchase Order In ME21N
Hi,
While Doing Purchase Order in ME21N,i am getting the below error.Kindly help me.
G/L account 809001 cannot be used (please correct)
Message no. ME045
Diagnosis
Comparison of the field selection strings from the G/L account 809001 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K.
Procedure
Please enter a correct G/L account.
Thanks
SupriyaHi Supriya,
U will have to check the field status of account assignment category F in tcode OME9 and compare it with the Field status group that is assigned to GL 809001.
Kindly note that the field status has a prority in the following order.
Supress
Display
Required
Optional
Thus if the network field is suppressed in GL field status and option in account assignment category F, then the below error would come.
Regards,
Kiran -
Raise purchase order in me21n for 100 goods
HI,
i have problem. i raise purchase order in me21n for 100 goods.for that purchase order in MIGO i received 75 goods.when the invoice verification i found only 50 goods.how to clear in gr/ir in the month end process. please someone help me.
regards
subbaraoHi
Reverse the MIRO and MIGO documents , and Post the MIGO and MIRO with actual quantity received
Regards
Rams
Maybe you are looking for
-
Does Pages give me a way to autofill my file path into the footer like Word does?
-
"Import string" method not supported in LabVIEW 7.1
We have made an application that support multi-language (English, French, etc.). In LabVIEW 6.1, we used the "import string" VI method to support this option. The method was executed just before to open front panel. The code was based on this example
-
Lumia 720 - Highly Unreliable - phone, NOKIA servi...
Hi Nokia team I bought a new Lumia 720 from Spice Mobile Nokia dealer about 4 days ago and it has started giving problems now. My phone went dead even with full battery. It was really unexpected and disappointing that you buy a Rs. 18000 phone with n
-
IPhone app developers! please read my wish-list of Calendar enhancements
iPhone event alarm choices button & other enhancements 1 Upon Event Alert a multi-choice button would appear with the following single-tap selections: a. Jump Ahead b. Open Alert c. Complete 2 The Jump Ahead time can be pre-set in options. 3 Upon app
-
I am creating 200 page documents by collecting pages from various pdfs. The file size is 100MB. I upgraded my RAM to 16GB with no significant change. Preview stops my ability to scroll through the pages as I get to making the document larger. Any sug