Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling ME21N transaction with RFQ values

Former Member
0 Kudos

Hi All,

I am working on a report to display and validate the RFQ's. And once the user selects the RFQ and clicks on Create PO from RFQ push button, it should go to transaction 'ME21N' with values from RFQ. ( similar to what we do in ME21N, when we drag RFQ from the documents overview and drop it into cart, the values are populated). I want the similar functionality to happen when the user clicks on clicks on Create PO push button.

Can anyone help me on this?

Regards,

Karthik

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Did you try recording the "RFQ dragged into cart to create PO" session on ME21N using SHDB. May be you can then try incorporating the generated code into your report by linking your RFQ to the BDC variable

6 REPLIES 6

Former Member
0 Kudos

HI,

For each n every field in the T-code ME21N, In technical settings there is one parameter ID available.

Using that PID u can achivethis functionality...

use SPAand GPAsyntaxes for this..........

Kishore.

0 Kudos

> HI,

>

>

> For each n every field in the T-code ME21N, In

> technical settings there is one parameter ID

> available.

>

> Using that PID u can achivethis functionality...

>

> use SPAand GPAsyntaxes for this..........

>

> Kishore.

He is asking something different SPA/GPA would be applicable if you just need to copy the PO number to a field, here we are not copying the document number, here RFQ, but we are copying the contents of the RFQ to a new (yet to be generated) PO.

I hope that is clear

0 Kudos

Hi Vishnu...

In RFQ so many MANDATORY fileds are there.these field values are necessary to create PO.he is saying when user clicks on that (those values automatically populate in ME21N if u used SPA/GPA) no need of entering manually.

as per my knowledge...

Kishore.

0 Kudos

> Hi Vishnu...

>

> In RFQ so many MANDATORY fileds are there.these field

> values are necessary to create PO.he is saying when

> user clicks on that (those values automatically

> populate in ME21N if u used SPA/GPA) no need of

> entering manually.

>

> as per my knowledge...

>

> Kishore.

But the problem here is we don't fill the RFQ into a field and then the system retrieves the content from the RFQ into the PO. It is not like that with ME21N.

Here we drag the RFQ from the "document overview" bar on the left side into the "cart icon" at the top left corner of ME21N screen. There is no field population involved here from the user, only drag and drop. I hope you understood now, otherwise try it in ME21N.

To get some documents in the document overview bar by clicking on the "selction variant" icon on the top of the bar and selecting some POs, RFQs etc

I hope this explains

Former Member
0 Kudos

Did you try recording the "RFQ dragged into cart to create PO" session on ME21N using SHDB. May be you can then try incorporating the generated code into your report by linking your RFQ to the BDC variable

Former Member
0 Kudos

Hey Karthik,

Did you get solution for this issue? If so, Please let me know, because I am working on exactly same application.