Application Development and Automation 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: 
Read only

Change Doc Date,Ref. Doc. No,Doc. Header Text while release Service entry sheet through BAPI

former_member221372
Participant
0 Likes
2,607

Hello All,

I have a requirement where created a Z-transaction to release the Service Entry Sheets. So used "BAPI_ENTRYSHEET_RELEASE" which is working fine.

Now the requirement is they want a pop up like in ML85 release entry sheet one(Change Doc. Date, Ref. Doc. No, Header text).

So how can I update those fields which was there in that pop up through BAPI?

Kindly suggest, its bit urgent.

Cheers,

Bharat

Hello All,

I have a requirement where created a Z-transaction to release the Service Entry Sheets. So used "BAPI_ENTRYSHEET_RELEASE" which is working fine.

Now the requirement is they want a pop up like in ML85 release entry sheet one(Change Doc. Date, Ref. Doc. No, Header text).

So how can I update those fields which was there in that pop up through BAPI?

Kindly suggest, its bit urgent.

Cheers,

Bharat

6 REPLIES 6
Read only

rajkumarnarasimman
Active Contributor
0 Likes
2,366

Hi Bharath,

Use FM  POPUP_GET_VALUES, it will display the popup to the user and get the value from the user.

POPUP_GET_VALUES

Pass the input values in FIELDS table:

When we execute the FM, we will get the popup as shown below.

once the text box is filled, the result value is stored in FIELDS table as shown below

Regards

Rajkumar Narasimman

Read only

0 Likes
2,366

Hello Raj,

Thanks for the solutions, but this is not relevant to my question.

My issue is with BAPI.

Cheers,

Bharat

Read only

0 Likes
2,366

So what did you mean with


So used "BAPI_ENTRYSHEET_RELEASE" which is working fine.

Seems you didn't change those fields required by user, or did I misunderstand?

Or elaborate on


So how can I update those fields

Regards,

Raymond

Read only

0 Likes
2,366

Hello Raymond,

While releasing service entry sheet from ML85, if the posting date is not within the posting period then we will get a pop up to change the Doc. Date, Posting etc, and once we hit enter those values will be reflecting at entry sheet level.

So in BAPI we have only flexible to change posting date, not rest of the fields.

Now my requirement is to change all the fields which were there in that pop up.

Cheers,

Bharat

Read only

0 Likes
2,366

The BAPI is able to read the new posting date Use a


SET PARAMETER ID 'SESPOSTINGDATE' FIELD custom_posting_date

Read only

0 Likes
2,366

Business is ok with posting date as of now.

Cheers,

Bharath