Create parameter ID

Source: Internet
Author: User

Custom Parameter-id Creation

by Abhijit Daptary, Capgemini India

Step1: Creation of parameter ID.?

Parameter ID can created in the table Tpara. Just Enter the name of the parameter ID in the table and that parameter ID would be created.?

??

Go to the Table Maintenance generator of the table Tpara and go to the? maintainbutton through the transaction SM30.?

Enter the table view name Tpara.?

??

Click on the Maintain button. The following information would appear. Click on the Tick button or the "ENTER button" to go to the next screen.

??

Enter the Set/get parameter ID as the parameter ID you want to create. Here, I'll be creating the parameter Id as zname_data1. Click on? ENTERbutton.?

??

It would ask for the text of the parameter ID. Enter the text of the parameter ID and click on the? Savebutton.?

??

??

Enter the package and the transport number.?

The parameter ID can seen in the table? Tpara.?

??

Step2:using the parameter Id so you have created.?

Now go to the? SE11? Transaction for creating a data element and enter the parameter ID at thefurther characteristics? ta b at the parameter Id section.?

??

Activate the data element and use it with the program. IT would act the same good as a standard one.

??

From

??

??

The parameter ID of the standard program is not necessarily accurate

December 30, 2014

10:36

Exp.

??

Me39

What F1 saw was VRT.

??

??

In the program:

Depending on the configuration ID may vary

MODULE? D0205_get_parameter? OUTPUT.

??

?? DATA:? Gv_cc_flag? type?c? LENGTH? 1.

??

*? Belegnummer?über? Parameter-id?nur?holen,?wenn?noch?nicht?anderweitig

*?vorbelegt?ist? (z.b.? In? Me38-aufruf?aus? ME57)

?? CHECK? rm06e-evrtn? EQ? space.??????????????????????????????? "4.0B?TK

?? Case ? t160-Bstyp.

???? When ? Bstyp-kont.

?????? GET? Parameter?id? ' CTR '? FIELD? rm06e-evrtn.

?????? GET? Parameter?id? ' ccnn '? FIELD? gv_cc_flag.

?????? IF? Gv_cc_flag? Is ? Not? INITIAL.

???????? GET? Parameter?id? ' cctr '? FIELD? rm06e-evrtn.?????????? "CCM?" EhP4

???????? CLEAR? gv_cc_flag.

???????? SET? Parameter?id? ' ccnn '? FIELD? gv_cc_flag.

?????? ENDIF.

???? When ? Bstyp-lfpl.

?????? GET? Parameter?id? ' SAG '? FIELD? rm06e-evrtn.

???? When ? space.

?????? GET? Parameter?id? ' VRT '? FIELD? rm06e-evrtn.

?? endcase.

??

Endmodule.????????????????? "? D0205_get_parameter?? OUTPUT

??

A field may appear on multiple occasions

But the definition is not the same.

??

SAP's standard program may be a single field (the same dataelemnt)

Then the parameter ID found in the technical information is not the actual ID in the program.

Failed to pass value across program calls

??

Create parameter ID

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.