Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all 10425 articles
Browse latest View live

BAPI_PO_CHANGE has no option to update service level conditions

$
0
0

Hello,

I have a requirement to update condition values at service level in a Purchase Order.

BAPI_PO_CHANGE does not have such option as it does not contain any table for passing the service condition data.

 

For MM contract, I faced similar issue, but it was resolved by using RV_CONDITION_COPY.

But RV_CONDITION_COPY is not working for POs.

 

Is there any other option like FM/BAPI to update service conditions for Purchase Order?

Any help will be really appreciated as I am stuck in this issue for quite some time now.


how to purge stock (table mspr)

$
0
0

Hello,

 

I would like to purge stock (table mspr) like it doest the transaction MB1C with mouvement 281 Q ( I dont know how to use this transaction). I'm looking for a badi that it does the job.

 

Any help will be welcome.

 

Thanks in advance.

Javier.

reading internal table

$
0
0

Hi All,

 

I have to read an internal table in a loop based on from and to date.

 

Below screen shot is Material price condition internal table.

Material.PNG

I am looping into main internal table which contains goods issue date. Now I need to read above material pricing internal table with in a loop based on from date and to date after cross checking with goods issue date in loop.

 

Please find pseudo code below and correct me if am wrong.

 

Looping itab_material into wa_material.

read matprice_itab into wa_matprice with key material = wa_material-material

        and fromdate GE wa_material-goodsissuedate

               todate     LE wa_material-goodsissuedate.

Endloop.

 

 

 

Regards,

Jo

Re: BAPI_ALM_NOTIF_CREATE

$
0
0

If it is posting when you tried manually means, you can start suspecting the code now.

 

Please check before calling this BAPI - is it collecting the correct values..

how are uploading the data for this BAPI ?

Convert field value based on domain settings

$
0
0

Hello Abaper,

 

I have the following issue. A field is defined by a domain in ABAP dictionary without lower case. Via an Interface (any interface) I get data for this field and the data has some lower case characters.

I need the same behaviour like any ABAP Dynpro has at pressing enter, automatic conversion to upper case takes place if the domain is defined as upper case. I know I could program this myself with checks against DDIC and a translate to upper case but I think this is already solved in the system. Can anybody reveal the "function" SAP standard uses for make the conversion.

 

Many thanks for all tips.

 

Best regards


Roman

Re: BAPI_PO_CHANGE has no option to update service level conditions

Re: Application file output truncated

$
0
0

Hi,

 

This is a standard behavior of AL11 where it displays only the first 255 characters.

 

What you can do do is to write using a  newline character after each 254 characters CL_ABAP_CHAR_UTILITIES=>NEWLINE or CR_LF and try .. but in that case while reading you have to build a custom logic to read the correct data. Maybe appending some character( * or ! ) at the end .

 

R

Re: How to make a Class Enhancement Implementation not run?

$
0
0

Dengyong,

 

What about the possibility of creating a pre method and control the execution of the over write method thru the pre method?

 

V.


Re: Overwriting value of SAVE_TEXT before COMMIT WORK

$
0
0

Hi Dibya ,

 

Yes its continuing . In both the cases , I am passing permanent equipment number only .

 

Below is the code :

 

it_header.JPG

var_insert = ' '

var_direct = 'X'

dt_lines-tdformat = '*'.

dt_lines-tdline = 'This is long text from code' .

 

APPEND dt_lines.

 

save_text.JPG

Re: Issue with LT12 user exit (Transfer order confirmation)

$
0
0

Thanks for this reply, i will try in this way..

 

Regards,

 

Saida Reddy.

asking for a controll in UI5

$
0
0

Hi

I am looking for a controll in UI5 like this in web dynpro?


If I post in a wrong place, sorry for that and please help to move it to the right place, thanks.

Location to capture order details for creation and change iw31/iw32

$
0
0

Hi Experts,

 

Is there any location where we can capture the order details created in IW31 or changed in IW32. ??

If there is any bapi or badi that where we can implement to capture the details ?

 

All the details including header, operation , partner details are supposed to be there..

I searched a lot in the forum where i could not find a location which has all the details.

 

Please post here if there is any ??!!

COPA value field updated in foreground but not in background during release to accounting

$
0
0

Hi,

 

I need help with COPA value field update. During release to accounting of invoice one condition type value is required in COPA document. When VFX3 is run in foreground mode the value gets updated correctly. But when the underlying program to VFX3 (SDBLBDDL) is run in background job then this value is not being updated .

When I use the older version program for VFX3 i.e. RVFAKSPE in background job then this updates the value correctly. This program just calls BDC for VF02 with release to accounting function. In SDBLBDDL its using FM 'SD_INVOICE_RELEASE_TO_ACCOUNT' to do the same. Is the FM having an issue in background ?

 

Thanks,

Nipun

Re: BAPI/FM for Service order mass updation in IW32

Re: Addition of new field in sales order item level for VA01


Re: Addition of new field in sales order item level for VA01

Displaying SERNO's in MIGO

$
0
0

Hi Gurus !

 

I'm searching for a BADI or enhancement where I can set our special SERNO's for displaying in MIGO (it is a very special storaging of SERNO's, now we see only the posibility for SERNO's but the screen is empty - here I must fill the values).

Thank You for helping !

 

KR  Peter

BAdI WORKORDER_UPDATE - Dump with Message E

$
0
0

Hi there,

 

Does anyone could suggest me some tip to avoid runtime error SYSTEM_ON_COMMIT_INTERRUPTED when I use a message type E in BAdI WORKORDER_UPDATE?

 

METHOD if_ex_workorder_update~before_update.

    MESSAGE 'test' type 'E'.

ENDMETHOD.


Thanks!

Re: [ABAP] Standard Bottom bar: 'Message Information' Program?

$
0
0

Hi,

 

this bottom bar is common to all SAP programs , including Z.

 

RR.

Re: oo alv overriding standard functions

$
0
0

you can check for event BUTTON_CLICK

Viewing all 10425 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>