COPA update of KAUFN with purchase order number
Hello
After SAP upgrade from 6.00 to 6.04 the purchase order is no longer displayed/saved in field KAUFN and KDPOS in the profitability document. So far this functionality has worked perfectly for stock transfer orders.
I have search for SAP notes without success - hopefully someone can help me :o)
Thank you in advance!
BR
Søren Kirch
Hi,
During the upgrade note 321099 would have become part of the standard
1.) note 321099 avoids that the AUBEL will be transfered to COPA as sales order number in case of a business transaction where AUBEL is NOT the sales order (e.g. if it is a purchase order)
This will avoid an error message when you display a COPA document which contains such an "unvalid" sales order number.
2.) You set back this logic in exit USEREXIT_PRICING_PREPARE_TKOMP in include RV60AFZZ by the lines
if tkomp-aubel is initial.
tkomp-aubel = xvbrp-aubel.
tkomp-aupos = xvbrp-aupos.
endif.
This will copy the field AUBEL always to COPA as sales order number (KAUFN).
regards
Waman
Similar Messages
-
57F4 Challan printing with Purchase order number and parent material
Dear Team,
As a SAP standard 57F4 subcontracting challan will have only legal entities,child materials, quantity, assable value etc.
but as a client requirement we need to incorporate the PO number and line item in the 57F4 challan, additionally client requires the parent material also printed in 57F4 challan
Anybody can help me how to get the PO number and parent material in 57F4 Printing, because i have already searched in MSEG table but for the material document number iam not able to find the PO number and line item.
iam posing the GI with referenc to purchase order only. but even iam not getting the PO number with reference to the posted document number in the table.
J Sridharan
Satyam Computer Services Limitedthanks for your reply hemalatha,
i have tried with OMJ3 transaction, but it is purely a print parameter settings for J1IF form. please help me where i can maintain this settings to get the output in MSEG table.
moreover iam creating all the subcontract material documents with ref to PO number only through MB1B transaction. please advise.
Regards
Sridharan -
Workflow step Mail with purchase order number is not executing
Hi All,
I created aworkflow which gets triggerd when a Purchase Order is created. I have mentioned the BUS 2012 event 'Release Step Created' as starting condition for the workflow. My workflow is triggering correclty. I need to send a mail to the initiator stating that the purchase order <po. no.> has been created. But I am not getting the PO number and workflow is stopping at the step mail where subject is mentioned with element &BUS2012.PURCHASEORDER&.
If I didnot mention the PO number workflow is executing correclty. I have done all the necessary binding also.
Thanks in advance,
Sri Suktha.Hello,
This can often be caused by not adding 'US' to the username, check if that's the case here.
I would try creating a test workflow which does nothing but send a mail, try to get that working first.
regards
Rick Bakker
hanabi technology -
Customer purchase order number at schedule line level in scheduling agreeme
Hi,
We have one typical requirement from scheduling agreement functionality. The scenario is we receive the schedule lines from Idocs from customer with purchase order number for each schedule line. We need to print that PO number on packing slip and ASN. How do we capture the schedule line po number in SAP SA?
Please share your ideas on this.
Regards, LakshmikanthHi Chandrasekhar,
Thanks for your reply, here we create one delivery for each schedule line quantity, we need to copy the respective purchase order number into delivery. There is no Corelation between schedule line number and additional data field, so we can not use very freely. Do we have any other option?
Regards, Lakshmikanth -
Update Purchase order number in Sales order item level from inbound ORDCHG iDoc
Hi Gurus,
I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
Which exit I need to use? where to update? Can you please help.
Thank you in advance.
Regards,
SanFinally Resolved the problem by writing 2 exits.
one exit 'EXIT_SAPLVEDB_007' for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX. if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
2nd exit for updating the purchase order number.
I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number. so to update ship-to party's purchase order number it is going to that screen.
so I have used that thing to update purchase order number in sold-to party's purchase order number.
so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata. Then it is worked.
This is the solution I found in my time.
Any way it is solved. Hope it will be helpful for others who will get this problem. -
Purchase order number not update in purchase requisition status tab
Purchase order is created for purchase requisition. The purchase requisition is triggered through process order. When I checked purchase requisition details in ME53N status tab, status is not edited and purchase order number also not present.
Kindly let me know the possible reason for this.
Appreciate your help..
Thanks,
SAP PQIf the PO had been created without reference to the PR, it will not be updated in the PR.
If it has been created with reference to the PR, then the PR number gets updated in the PR status. -
Update Purchase Order number.(Link GL to PO)
Hi all,
Currently i am using the below query for one of our report(R12). However there is a need to update Purchase Order Number .Could anyone please help on how to link GL to PO and provide the updated query.The query is as follows.
SELECT gjl.je_line_num,
gjl.code_combination_id,
SUM(NVL(GJL.accounted_dr, 0)) AS Accounted_DR,
SUM(NVL(GJL.accounted_cr, 0)) AS Accounted_CR,
( SUM(NVL(GJL.accounted_dr, 0)) - SUM(NVL(GJL.accounted_cr, 0)) ) AS Accounted_Balance,
gjb.actual_flag,
NULL AS "Check Number",
gjb.name AS "Batch Name",
TO_CHAR(gjh.currency_conversion_date, 'DD-Mon-YYYY') currency_conversion_date,
ROUND(gjh.CURRENCY_CONVERSION_RATE,4) CURRENCY_CONVERSION_RATE,
gjh.currency_conversion_type,
NULL AS Document_Number,
SUM(NVL(GJL.entered_dr, 0)) AS Entered_DR,
SUM(NVL(GJL.entered_cr, 0)) AS Entered_CR,
( SUM(NVL(GJL.entered_dr, 0)) - SUM(NVL(GJL.entered_cr, 0)) ) AS Entered_Balance,
gcc.segment1
|| '.'
|| gcc.segment2
|| '.'
|| gcc.segment3
|| '.'
|| gcc.segment4
|| '.'
||gcc.segment5
|| '.'
|| gcc.segment6
|| '.'
|| gcc.segment7
|| '.'
|| gcc.segment8 "Account Code",
gl.currency_code AS "Ledger Currency",
gjh.name AS "Header Name",
gjl.description AS "Journal Line Description",
NULL AS party_name,
NULL AS party_id,
GJH.period_name,
TO_CHAR(gjh.POSTED_DATE, 'DD-Mon-YYYY') POSTED_DATE,
NULL AS "Purchase Invoice Number",
NULL AS "AP Invoice Line Description",
NULL AS "Sales Invoice Number",
gcc.segment1 Company ,
gcc.segment2 Account,
DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2)) AS "Seg2 Desc",
gcc.segment3 AS "Business Model",
gcc.segment4 Region,
gcc.segment5 AS "Cost Profit Center",
gcc.segment6 AS "Product Group",
gcc.segment7 AS "Related Company",
gcc.segment8 AS "Reserve",
gjl.status AS "Journal Line Status",
GL.name AS "LEDGER NAME",
GJH.currency_code,
GJH.je_category je_cat_f,
GJCT.user_je_category_name je_category,
GJH.je_source,
NULL AS "Sales_order" ,
NULL AS "Purchase Order Number"
FROM APPS.gl_je_headers gjh,
APPS.gl_je_batches gjb,
APPS.gl_ledgers gl,
APPS.gl_je_lines gjl,
APPS.gl_code_combinations gcc,
(SELECT je_category_name,
user_je_category_name
FROM APPS.GL_JE_CATEGORIES_TL
WHERE language='E'
) GJCT
WHERE gjh.je_from_sla_flag IS NULL
--AND gjh.EXTERNAL_REFERENCE IS NULL
AND gjb.je_batch_id = gjh.je_batch_id
AND gjh.ledger_id = gl.ledger_id
AND gjh.je_header_id = gjl.je_header_id
AND gcc.code_combination_id = gjl.code_combination_id
AND GJH.JE_CATEGORY = GJCT.je_category_name(+)
AND GL.name NOT IN('NL ABX RepCorp USD (EUR)')
GROUP BY gjl.je_line_num,
gjl.code_combination_id,
gjb.actual_flag,
gjb.name,
gjh.currency_conversion_date,
ROUND(gjh.CURRENCY_CONVERSION_RATE,4),
gjh.currency_conversion_type,
gcc.segment1
|| '.'
|| gcc.segment2
|| '.'
|| gcc.segment3
|| '.'
|| gcc.segment4
|| '.'
||gcc.segment5
|| '.'
|| gcc.segment6
|| '.'
|| gcc.segment7
|| '.'
|| gcc.segment8,
gl.currency_code,
gjh.name,
gjl.description,
gjb.je_batch_id,
gjb.status,
gjb.posted_date,
gjb.description,
gl.name,
gjh.name,
GJH.period_name,
gjh.posted_date,
gcc.segment1,
gcc.segment2,
gcc.segment3,
gcc.segment4,
gcc.segment5,
gcc.segment6,
gcc.segment7,
gcc.segment8,
GL.name,
gjl.status,
GJH.je_category,
GJCT.user_je_category_name,
GJH.je_source,
GJH.currency_code,
DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2))Finally Resolved the problem by writing 2 exits.
one exit 'EXIT_SAPLVEDB_007' for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX. if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
2nd exit for updating the purchase order number.
I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number. so to update ship-to party's purchase order number it is going to that screen.
so I have used that thing to update purchase order number in sold-to party's purchase order number.
so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata. Then it is worked.
This is the solution I found in my time.
Any way it is solved. Hope it will be helpful for others who will get this problem. -
How to trace purchase order number with respect to Purchase requestion numb
Hi friends,
Can u please help me how to Trace purchase order number with respect to purchase Requetuion number. Is there any standard report available in R/3Hi Vamsi,
Thats what!!!
Goto SE16 - EBAN - Give PR number in the iput screen.
In the output screen you will have to do field selection from Menu - Settings - formatlist - choose fields.
There you choose Purchase Order.
So the output will display for you POs for the PR that you entered.
Regards,
Vishal -
Purchase order number for each postings with FBL3N
Hello
With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
thanks for inputs
sbHello,
Could you please add field BSEG-EBELN as a special field in FBL3N (from
menu path Settings -> Special fields).
Then, select the Purchase order field again from "Change Layout"
(Ctrl+F8). Now this field is available for display variants, it has the
technical name 1-U_EBELN and the description 'Purchase Document'.
The other field has the same description but as technical name
'1-EBELN'. When you create a display variant be aware that you select
1-U_EBELN and not 1-EBELN.
*******Please also refer to attached notes 215798 and 984305.
Best regards, Hana -
No Update FMIOI and KBLP tables with purchase order
Hello,
We have un serious problem : No Update FMIOI and KBLP tables with purchase order
System : SAP ERP 6.0 /7.0 - EHP 4
Note 965633 was read.
1) First case: The purchase order 4510000673 does not reduce the funds reservation.
Purchase order 4510000673 should consume the funds reservation 1200000193 because all post of the PO charge the funds reservation 1200000193.But the consumption history of the funds reservation 1200000193 donu2019t show this consumption.
In table FMIOI, we do not have lines with amount type 0200 (reduction) but whe have the lines with the post of PO with amount type (0100). The Purchase order 4510000673 should consume the funds reservation 1200000193.
In table KBLP, the fields are :
Total amount (LC) - HWGES = 53.409,40
Amount used u2013 WTABB = 0,00
Reduction amount u2013 HWABB = 0,00
Open amount u2013 CWTFREE = 53.409,40
Reduced amount u2013 WTABG = 0,00
Reduced amount u2013HWABG = 0,00
To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
2) Second case : Delete a item of a purchase order does not release the budget
The single item of the purchase order 4510000597 is deleted but in the display of consumption History of the funds reservation 1200000137, the amount of the purchase order is not to zero.
To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
Somebody already had a similar problem ?
Thank you
FabianHello Fabian
There are two known notes dealing with missing update on reference Earmarked Funds, I am listing them for future references:
1376800 Earmarked funds: Incorrect open amount
1438487 RFFMRC20: Missing KBLE records are ignored
These notes correct some errors within the Standard.
However, in your scenario, problem has to do with an incorrect execution of a Commit work inside a customer user-exit. After elimination of this commit work, new Po's are working correctly.
Remaining task is the correction of old PO's. Manual correction via small changes with ME22N (for instance, adding a '.' to the line item text/s) will force the correct update and fix your database
If you agree, we can close this thread (?)
Kind regards
Mar -
Can 2 invoice number be created with the same Purchase Order number
HI,
I have created one invoice number with a Purchase order number 4500020000. Now is it possible to create a another invoice number with the Same POIn me23n transaction go to Invoice tab(In items), there will be a check box for <b>Final Invoice</b>. If it is checked, full amount is invoiced.
The same can be checked in table EKPO.
Field EREKZ = 'X' means final invoice done.
another method is:
foe each item:
go to table EKPO and see the quantity.
then go to table ekbe and get all the invoiced quantity by passing VGABE = '2'. for the PO item.
add all the records with SHKZG = 'H' and subtract the total of all SHKZG = 'S' records.
If this quantity is equal to the ekpo quantity, then there is no more quantity to be invoiced.
Get the PO Item quantities
SELECT EBELN
EBELP
MENGE
FROM EKPO
INTO TABLE IT_EKPO
WHERE EBELN IN R_EBELN.
Get the Invoice Receipt Documents for the POs
SELECT EBELN
EBELP
BEWTP
MENGE
GJAHR
BELNR
BUZEI
SHKZG
FROM EKBE
INTO TABLE IT_EKBE
FOR ALL ENTRIES IN IT_EKPO
WHERE EBELN = IT_EKPO-EBELN
AND EBELP = IT_EKPO-EBELP
AND VGABE = C_VGABE_2.
logic to check if the IR Quantity equals the PO Quantity for each Item
LOOP AT IT_EKPO.
CLEAR V_BPMNG.
For each line item, calculate the total Invoiced Quanity
LOOP AT IT_EKBE WHERE EBELN = IT_EKPO-EBELN
AND EBELP = IT_EKPO-EBELP.
Change the sign of the quantity for debit
IF IT_EKBE-SHKZG = C_SHKZG_H.
IT_EKBE-MENGE = -1 * IT_EKBE-MENGE.
ENDIF.
V_BPMNG = V_BPMNG + IT_EKBE-MENGE.
ENDLOOP.
If the PO Item Quantity is equal to IR Quantity
IF IT_EKPO-MENGE = V_BPMNG. "ARAO
write:/ 'No more quantity to be invoiced'.
ENDIF.
ENDLOOP.
Regards,
ravi
Message was edited by: Ravi Kanth Talagana -
Purchase order number in FBL1N
Dear all,
Please suggest how we can fetch purchase order number in fbl1n report even by putting sort key 014 (purchase order number) in vendor master and G/L master it is not fetching
Thanks and Regards
PriyaHello Priya,
You should get PO number on vendor account with using FBL1N. But you must do some developments for it.
I wrote message how can you add additional field in FBL1N before message below.
Re: Vendor & Customers in FBL3N
But you can update PO field on vendor line items display.
You can skip adding field section on message which I gave you above.
You must copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM and some customizing for updation BTE. I specified it on message.
Then you'll write some ABAP for PO number update in vendor line items.
I'm giving to you some examples below.
TABLES : bkpf, bseg.
e_postab = i_postab.
IF sy-tcode EQ 'FBL1N'.
SELECT SINGLE *
FROM bkpf
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr.
IF sy-subrc EQ 0.
IF bkpf-awtyp EQ 'RMRP'.
SELECT SINGLE *
FROM bseg
WHERE bukrs = i_postab-bukrs
AND belnr = i_postab-belnr
AND gjahr = i_postab-gjahr
AND ebeln NE space.
IF sy-subrc EQ 0.
e_postab-ebeln = bseg-ebeln.
ENDIF.
ENDIF.
ENDIF.
ENDIF. -
Issue with Purchase Order in SRM.
Hi All,
Issue:
Requestor name and goods recipient name are empty in the Partner Overview of a Purchase Order. The reason is the requestor who has raised the PO has left the company and not having BP as user number in Portal system any more.These PO's are almost old and closed, but the procurement team needs to trace the trade for the aim of audit, or new conditioning, etc.
==========================================================================
Here my question is how to retain user name there as hardcord so that we can contact to successor.Is it possible through BADI's / BAPI's ?
As a workaround we asked user to use ME23N tcode(backend).
Please suggests!!
Regards,
Ravi VardhanHi Ravi,
Do you have BP guid (which is associated with the user who left the organization) in the PO document. Please check the bbp_pd for this
purchase order number check the field crmd_partner-partner_no, we have
to change this field with the existing business partner. We can't change the document which has invalid requestor / recipient. We have to update these POs with correct requestor / recipient business partner number via a z report.
Hope this information will help you!!!
Regards,
Amudha -
CREATION OF SET FOR PURCHASE ORDER NUMBER
Dear Sirs,
I want to create a basic set containing all purchase order number, even though i am using table MSEG and field EBELN, i am not getting and values in it. how to create a basic set containing all the available PO numbers, which can be used in FI validation.
Give me the full setting to create a above mentioned set.
Thanks and Regardsi didn't get what u are saying please elobrate. let me put forth my issue clearly.
my client want to check where there is any PO available are not, for payments exceeding 1,00,000/-
So i am cofiguring a validation, for which i want to keep the "set of PO numbers" in "CHECK" part of the validation. which i am unable to do. when ever i try to select the set it is saying no valid object found.
SO please help me with ur expert knowledge in this regards
Thanks & Regards -
Goods Receipt Screen: Purchase Order number stored
Hi all.
SRM 4.0, server 5.5.
When going into the Goods Receipt screen (BBPCF02 for example), the field Purchase Order Number is pre-filled with the latest PO, that a user has searched for. How could I make sure, that this screen is not filled out with the latest PO but just let the screen display the open POs from within the timeframe? I have too many users that have made a GR, return to the GR screen and then their previous PO number is stored, and they believe they still have not made the GR for that PO, so they do it again. I need to make sure, that the purchase order number value is never stored in this field - any ideas?OMBT click on the groups button, select the
Material documents for goods movements and inventory diffs.
WA WE WF WH WI WL WO WQ WR WS WV WW WZ
And then select the maintain icon, you need to maintain the number range
for the year 2010.
ands OMBA for accounting finance doc number range
hope this helps
Maybe you are looking for
-
HT1454 why i can not get video out from my ipod touch after i did the upgrade
why i can not get video out from my ipod touch after i did the upgrade
-
OBIEE 11g Report-When drilling down to lower level, totals are not matching
Hi All, I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let's say Budget Cost/Actual Cost based on the Date Dimension Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost FY BCost ACost 2011 100 120 2012 150 140 Total 250 2
-
How to install Windows 7 on Macbook Pro without a CD
I tried installing Windows 7 64 bit through boot camp, after I created a bootable disk drive through it on a usb and set it to install on 150gb of hard drive space it rebooted and said "No bootable device -- insert boot disk and press any key" I read
-
ABAP List Output Printing Error
Hi All, I am facing a problem while printing the ABAP List Output. First Page is printing fine and from the second page its not printing. Where as in Standard reports everything is printing OK. Thanks in Advance. Best regards, Shahid Malayil
-
Configuration steps to create New Special GL
HI, Can any one please send me configuration steps to create New Special GL. My client required to create new special GL for Rent Advance. NOTE: hear I am not asking how configuration steps for assigning GL accounts for existing Special GL. I want ne