It's in PBO, have to give message before Partner screen shows up.
Re: POPUP on custom subscreen
push buttons created in ALV are not functioning. help me out
thnak u my friends... its wrkng now
Re: BDC and BAPI for Financial Posting
so can I understand like this, this BAPI BAPI BAPI_ACC_DOCUMENT_POST and BAPI_ACC_GL_POSTING_POST can do the different postings with FI, when using the different tables parameter.
Is this right?
So if I want to use BAPI for replacing the BDC for posting , I have to know the function of this BAPI very well.
Problem in BADI IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK for MR8M
Hello All,
I have requirement to copy one reference field of original document when accounting document is reversed.
So i am selecting BSEG data for actual document, and then comparing accit data with it. FOr each line item, I am copying bseg-xref2 to accit-xref2 based on bseg-posnr = accit-buzei.
Problem is sometimes I bseg-posnr value is different from accit-buzei. In that case READ statement fails and field is not copied.
Below is snapshot of code and also attached is the screenshot of values of two internal table.
Can anybody tell me whether my comparison is correct or if i have to do this comparison with some different condition in READ statement.
-------------------------------------------------------------------------------------------------------
SELECT *
FROM bseg INTO TABLE li_bseg
WHERE bukrs = lw_bukrs
AND belnr = lw_belnr
AND gjahr = lw_aworg_rev.
CHECK sy-subrc = 0.
* Fill the Reference key 2 field in the reverse document data
ASSIGN ('(SAPLCKMV)t_accit[]') TO <fs_ydrseg>.
IF sy-subrc = 0.
lt_accit[] = <fs_ydrseg>.
LOOP AT lt_accit ASSIGNING <fs_accit>.
CLEAR lw_bseg.
READ TABLE li_bseg INTO lw_bseg WITH KEY buzei = <fs_accit>-posnr.
IF sy-subrc = 0.
<fs_accit>-xref2 = lw_bseg-xref2.
ENDIF.
ENDLOOP.
<fs_ydrseg> = lt_accit[].
ENDIF.
----------------------------------------------------------
Best Regards
Munish Garg
Re: How to give 2 header in ALV
Its not Possible in OOPs ALV .
Re: page up/down in table control
You are right Ams. This issue is persistent with PAGE UP and PAGE DOWN of a table control.
I guess this bug is still not yet fixed by SAP.
Need list of Standard FM's related to SD Module
Can anybody list the Standard SAP Function Modules used in ABAP programming related to SD module in particular ?
I tried searching online a lot but it didn't helped.
Re: Native SQL for Abap connection with Oracle
You would probably need to look around on Oracle's web site to find such documentation of their SQL dialect.
Let me suggest you also check out ABAP database connectivity (ADBC) for this purpose, allowing to access external databases in an OO fashion:
http://help.sap.com/abapdocu_740/en/abenadbc.htm
Thomas
Re: page up/down in table control
Hiie Ams,
I have also faced the same issue ..,
Pls try to fix this as per Quality and Production System Behavior by recording in Quality/production system ...
For Page Down /Page Up Use the below code:
perform bdc_field using BDC_OkCode '=P+'.
Regards,
Lokesh.
Re: Nametab can not be generated
Hello Christian,
Thanks for the info.
Re: Problem related to bdc
Instaed of IF i_messtab NE 0.
write
If not IF i_messtab[] IS INITIAL.
for some standard error message you will not get the error text directly into the message but it gives you with Message class and Message Number.
based on that you need to get the Error text from T100 table or we have some standard FM to read the Message from message class.
Let me know if there are any issues.
Re: Convert JPY to USD Value in ABAP using Function Module
Thank you Guys, for your helpful inputs.
I only used CONVERT_AMOUNT_TO_CURRENCY FM and it gave correct results.
There are several approaches for this problem-
1. Pass input amount to FM in character format with exact decimal format taking the same from TCURX table. Then the output cost returned is absolutely correct. We would need to firstly use BAPI to convert cost to external format as per currency (BAPI_CONVERT_COST_EXTERN_9.. etc are available)
2. Or we can just pass cost (input/output) parameters in standard SAP way - (Type P Length 12 decimals 2) to the FM and after getting output. Write both Input and Output Costs after currency conversion using WRITE... TO.. CURRENCY syntax. No need of BAPI to convert costs based on currency before passing to FM
Thanks and Best Regards.
Vendor Bank Details for an Incoming invoice using Inbound INVOIC02 IDOC
Hello all,
How do I process the vendor bank details to be reflected in invoice. I am using the IDOC INVOIC02; FM IDOC_INPUT_INVOIC_MRM
I populate the E1EDK28 segment. I hope the segment that I have used is the right one.
Country DE
Bank no. XXXXXX
Bank name HYPO BANK BERLIN
City XXXXXXX
Account number XXXXXX
Account holder XXXXXXX
Avoid disclosing sensitive data.
But every time I see the bank details getting populated from Vendor Master, when I check the Invoice through MIR4 after I have processed the IDOC. If I delete the bank details in vendor master, I see the bank details of vendor in MIR4 blank. Am I missing some configuration/setting. How do we make it to pick bank details from the IDOC segment. Rewarding points if the answer is helpful.
Thanks,
Narasimha
Message was edited by: Venkat Gowrishankar
Re: how to get the field name of a dynamical internal table
Hi,
you need to get the field catalog of your dynamic table and use field symbol to specified the field (or assign component)
regards
Fred
Re: User-exit for MD11/MD12
Hi,
This is already discussed please search before posting.
User Exit MD11 - Very Urgent | SCN
Regards
Re: Insert rupee symbol in smartform
Hi Mani,
After installing you can use that font in your smart style and u can use that symbol.
For inserting the Rupee symbol use ` Button before 1 Key on top of keyboard and select the font you installed. Check the print not the print preview.
Regards
Re: cl_rsrts_metadata
Hi,
If you go in SE24 the class Instantiation is Private so you cannot create instance of this class in your program.
For more details on usage
http://scn.sap.com/thread/740252
Regards
Re: find chain_id of ABAP programm in a chain
Hello Volker,
I think, the easiest way would be to read table RSPCABAPASYNC. I expect, you know the variant name of your ABAP-Process. The field LOG_ID shows your current process-chain. These chain can be read using the table RSPCPROCESSLOG.
If not, you will have to go further: Look into tabel RSPCVARIANT and find your report ( Field "PROGRAM" = sy-repid ).
Then, go back into RSPCABAPSYNC and look for the current running process, which have your variant.
Kind regards,
Hendrik
Re: Problem in BADI IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK for MR8M
Hello Eduardo,
In my case, It is always coming as '0' for all records.
Best regards
Munish Garg
Re: Problem related to bdc
For each transaction your calling BDC and your capturing the messages after the Loop at Final.
Write the message logic inside the Loop at it_Final .
it will capture for each trasnaction you process inside the Loop.
if you keep loop at message out side the loop it may only take the last record messages into it.
LOOP AT it_final.
***BDC DATA***
CALL TRANSACTION 'FB01' USING bdcdata
MODE p_mode
MESSAGES INTO i_messtab.
LOOP AT i_messtab.
IF NOT i_messtab[] IS INITIAL.
CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
EXPORTING
id = sy-msgid
number = sy-msgno
language = sy-langu
textformat = 'ASC'
message_v1 = sy-msgv1
message_v2 = sy-msgv2
message_v3 = sy-msgv3
message_v4 = sy-msgv4
IMPORTING
message = l_message.
.
CONCATENATE l_message '-' it_final-newko it_final-wrbtr it_final-budat INTO it_error-text
SEPARATED BY ' '.
APPEND it_error.
ELSE.
CONCATENATE 'DATA UPLOADED SUCCESSFULLY :' it_final-newko it_final-wrbtr it_final-budat
INTO it_success-text SEPARATED BY ' '.
APPEND it_success.
ENDIF.
REFRESH bdcdata.
CLEAR: it_final,l_message.
ENDLOOP.
****endform.
ENDLOOP.