How to Purchase Order number in badi ME_PROCESS_PO_CUST~INITIALIZE
Hi SDNers,
I have problem to get purchase order number in badi ME_PROCESS_PO_CUST method INITIALIZE, when purchase order release from ME28 tcode.
Hi Suresh,
I just tried that ... it is working fine... You have to use CMOD to implement it by creating a project...
Please documentation on how to implement user exits...
Also Please understand this is a Workflow forum... please do not post ABAP queries here... You would get better answers if you post in ABAP forums...
Regards
Gautam
Similar Messages
-
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 -
How to get purchase order number from delivery number?
hi all,
how to get purchase order number and item if i have only delivery.
and in same way how to get po number and item if i know only batch number.
kindly give me some solution i need this urgently.
thanks in advance.Check the logic below:
* Selecting the Sales Documents from VBFA for corresponding Invoice
SELECT vbelv
posnv
FROM vbfa
INTO TABLE gt_itab3
WHERE vbeln EQ gt_itab5-vbeln
AND posnn EQ gt_itab5-posnr
AND vbtyp_n EQ 'J'.
IF sy-subrc EQ zero.
SORT gt_itab3 BY vbelv posnv.
ENDIF.
ENDIF.
IF NOT gt_itab3 IS INITIAL.
* Selecting the Purchase Orders from VBFA for corresponding Sales Documents
SELECT vbeln
posnn
FROM vbfa
INTO TABLE gt_itab4
FOR ALL ENTRIES IN gt_itab3
WHERE vbelv EQ gt_itab3-vbelv
AND posnv EQ gt_itab3-posnv
AND vbtyp_n EQ 'V'.
IF sy-subrc EQ 0.
SORT gt_itab4 BY vbeln posnn.
ENDIF.
ENDIF.
Batch number will be there in delivery item.
Regards
Kannaiah -
How to create Purchase Order using sub-ordinate Purchase order number?
Hi,
I m in ETL product have to extract SAP datas into Access.
I noticed that in the Demo DataBase of OEC Computers,the Purchase Order is created with sub-ordinate purchase order number.But i am trying to create the same in SAP B1 manually,but i can't create child Purchase Order .
<b>How to create child Purchase Order?</b>
Please help me to create the same
regards
Sooriyakala.PHi,
I m in ETL product have to extract SAP datas into Access.
I noticed that in the Demo DataBase of OEC Computers,the Purchase Order is created with sub-ordinate purchase order number.But i am trying to create the same in SAP B1 manually,but i can't create child Purchase Order .
<b>How to create child Purchase Order?</b>
Please help me to create the same
regards
Sooriyakala.P -
While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, what are the requirements need to display into tcode f.13, please any one help me, i am facing this problem in production server
Hi Nattu,
Please check it will show the PO no under Purchasing doc field
Check which layout you are applied.
its should be
SAP&F124
Without Specification of Crcy
Regd,
Khan. -
How to provide relation b/w sales order number & purchase order number
hi.....
i created one report based on sales order number and displayed by alv grid then by selecting one sales record using bdc i created purchase order number ,then i have to display that purchase order in alv again,hoe to provide relation b/w sales order and purchase orderThis is what VA05 Does
SELECT bstkd
vbeln "Sale order Number
posnr
FROM m_vmvaa
INTO TABLE i_m_vmvaa
FOR ALL ENTRIES IN i_bstkd
WHERE bstkd = i_bstkd-bstkd. "Your PO Number -
How to Display Purchase Order Number IN G.R.P.O
Hi Guys,
i am unable to find solution regarding Getting Purchase order number and displaying in Goods Receipt P.O. Report automatically when we copy from purchase Order ie Copy From button .My problem is we are Expecting Purchase Order Number in Goods Receipt P.O automatically when they copy From Purchase. Order.Can any suggest me reagarding with Good solution asap.
Regards
ANANDHi Anand,
When Your Goods Receipt P O Form is Active Click on form Settings in Menubar( 5ty Icon Form Right) Then one window will be opened then click on table format folder and then check the check box against base ref and base key under Visible column
If you are not adding any comments on GRPO then by default it will show as based ob purchase order XXX.
Hope it helps you
Regards
Vishnu -
Purchase order number ranges plant wise
Hi ,
Requirement is , want to have purchase order number plant wise. I know that we can have different number ranges for different document types in standard SAP. But how to achieve different number ranges for purchase order plant wise.?
Is there any user exits available for this?
regards,
abiHi,
it is possible through a BADI to get the separate number ranges for plant wise PR/PO,
but u need to maintain a customised table with number ranges and plants,
whenever the user try to save a PO/PR the syatem will pick the number range from the customised table,
that BADI is ME_PROCESS_PO_CUST,
it is very useful if any client has number of plants like 30 or 40 plants,
and it is easy track the PO from where it has raised.
rgds -
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 -
"In FBL5N unable to view purchase order number and the sales order number"
Hi,
Below mentioned is the problem we are facing,
In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
Kindly advise how to go about the same.
Regards
HarishDear,
Please also check note 152335. There, you will find a more detailed
explanation of the issue.
The only way to see some information regarding related PO-es in a Vendor
line items is a workaround. For example, it is possible to create
a substitution in order to fill in one of not currently used fields
like Reference, Text, etc.
I hope this helps You.
mauri -
Purchase order number in FBL5N
Hello,
We need to display the purchase order number in the layout for transaction FBL5N.
But the issue is that the Purchasing Doc.documnet field seems to be empty in most of the invoices.but if we check the billing data for the same invoice (VF03), here we can se that the PO data tab is having purchase order number. but it is not displayed in the inovice.
What could be the possible reason for this
Now what we would like to know is that do how can we populate the purchase order number displayed in billing document in the invoice document.
BR,
ZulfikarHello
In FNL5N, try to create a variant for report display options.
You could select the fields to form part of the report for output options.
Save the variant , execute, check.
If the PO number itself is not available in the list, then you need to worry, as it could lead to some USER exit, or some other enhancement. But, I think it is available.
Check the Sort key too. There could be a PO listing option.
Reg
Suresh -
Purchase Order : function to determine the purchase order number
Hi,
I'm working on data migration to create purchase order. I must use the internally range number. Does anybody knows which function must i use to create the purchase order number before calling the bapi bapi_po_create ?
with regards
Jean-Luc LedouxHi,
The BAPI is designed to generate the next free number that is defined by the company and allocate it in series.
This is taken care internally.
explain the scenario like as from what data ur creating the PO and wht exactly do u mean by having ur own internal number range.....
No body will have 2 number ranges to define PO....
if ur uploading data from legacy system then u can have 2 fields called as old purchase order number and purchase order number in new erp system.
if this is ur scenario ask how the functional mapping is done in the company to accomadate legacy purchase order numbers.
Regards,
Jayaram Maganti -
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. -
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.
Maybe you are looking for
-
HT204053 how do I transfer saved email to my new icloud account?
how do I transfer saved email to my new icloud account?
-
Hi all, I have installed Server 2012 R2 in my laptop in another driver(where I have windows 8.1 as primary OS). But I don't see wi-fi drivers do exist in or can available in internet when I was doing Windows Update. Can any one please help me to get
-
Urgently need help.... My MacBook pro 13" without retina display can't be turn on suddenly, and even the adapter doesn't light up when connected to the working wall plug Can anyone help me to solve this problem? Thank you very much .....
-
I cant even uninstalle ED 2014 CC with AdobeCreativeCloudCleanerTool. When...is...this...software...going...to...be...fixed? When?
-
HT4528 Typed long email..now it's gone. Can i get it back?
I typed in a long email on my phone. I was trying to get rid of an extra space between words in the body of my email and then the whole text was gone. Can I get this back? I have not press send or cancel, but the body of the email is gone. Is there a