Hi the mapping is done now.Used Amit's mapping and modified it as per my requirement and its working fine.
Re: Need Java Mapping Code for Extended Receiver Determination in sap pi 7.31
Not Able to view the procedures list in Debug Configuration On SPS6 - HANA Studio
Dears,
While setting up debug configuration in modeler we are unable to see the list of stored procedures in "Procedure to debug" Window.
How to configure the debug perspective screen inorder to get the procedure which we need to debug. Please explain with steps !! Please find attached the screenshot of the error message !!
Regards,
Prasana Ravichandran
Re: Problem related to bdc
Hello Smruti,
me too have put blank values in some fields, but still it is showing warning for those set of data
which are posted, and not showing any error result.Here is the code i have written (revised)
code for BDC, please tell me where i'm doing wrong.
***********************************************************
"Program for ZBFI22
"Created By Sanjeev kumar
"Functional Consultant : Mr. Navneet Agarwal
**********************************************************
report ZFB01_POST_DOCUMENT
no standard page heading line-size 255.
TYPE-POOLS : TRUXS.
TYPES: BEGIN OF str_final,
bldat(10) TYPE c, "Document Date in Document
blart(02) TYPE c, "Document Type
bukrs(04) TYPE c, "Company Code
budat(10) TYPE c, "Posting Date in the Document
monat(2) TYPE c, "Period
waers(5) TYPE c, "Currency key
xblnr(16) TYPE c, "REFERENCE NUM
newbs(02) TYPE c, "Posting Key for the Next Line Item
newko(17) TYPE c, "Account or Matchcode for the Next Line Item
wrbtr(18) TYPE c, "Amount
gsber(04) TYPE c, "Business Area
zterm(04) TYPE c, "Payment term
zfbdt(10) TYPE c, "Baseline Date for Due Date Calculation
zuonr TYPE bseg-zuonr, "Assignment
sgtxt(35) TYPE c, "Text
newbs1(02) TYPE c, "Posting Key for the Next Line Item
newko1(17) TYPE c, "Account or Matchcode for the Next Line Item
wrbtr1(18) TYPE c, "Amount
mwskz(02) TYPE c, "Tax Code
txjcd(15) TYPE c, "Tax Juridiction
zuonr1(20) TYPE c, "Assignment
sgtxt1(35) TYPE c, "Text
newbs2(02) TYPE c, "Posting Key for the Next Line Item
newko2(17) TYPE c, "Account or Matchcode for the Next Line Item
gsber1(04) TYPE c, "Business Area
kostl(10) type c, "cost center
wrbtr2(18) TYPE c, "Amount
mwskz1(02) TYPE c, "Tax Code
txjcd1(15) TYPE c, "Tax Juridiction
valut(10) TYPE c, "Value line Date
zuonr2(20) TYPE C, "ASSIGNMENT
sgtxt2(35) TYPE c, "Text
gsber2(04) TYPE c, "Business Area
kostl1(10) type c, "cost center
END OF str_final.
***DATA : BEGIN OF options.
*** INCLUDE STRUCTURE ctu_params.
***DATA : END OF options.
******DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
****** l_message LIKE bapiret2-message.
******DATA: p_mode TYPE c.
DATA : it_final TYPE STANDARD TABLE OF str_final WITH HEADER LINE.
DATA : IT_FILE LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
***** DATA : BEGIN OF i_error_messtab OCCURS 0.
***** INCLUDE STRUCTURE bdcmsgcoll.
***** DATA : END OF i_error_messtab.
*DATA: p_mode TYPE c.
DATA : BEGIN OF options.
INCLUDE STRUCTURE ctu_params.
DATA : END OF options.
DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
l_message LIKE bapiret2-message.
DATA: p_mode TYPE c.
DATA BEGIN OF it_error OCCURS 1.
DATA : text(100) TYPE c.
DATA END OF it_error.
DATA BEGIN OF it_success OCCURS 1.
DATA: text(100) TYPE c.
DATA END OF it_success.
DATA: it_raw TYPE truxs_t_text_data.
DATA : bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
DATA : messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
DATA : bmode(1).
**** DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
**** l_message LIKE bapiret2-message.
DATA : no_recs1(10),
count(10),
fl_error TYPE i,
text1(100),
counter(2).
TABLES T100.
DATA : TEXT TYPE T100-TEXT.
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
PARAMETERS : p_file like IBIPPARMS-PATH. "TYPE string.
SELECTION-SCREEN END OF BLOCK blk.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.
PARAMETERS : mode1 RADIOBUTTON GROUP a,
mode2 RADIOBUTTON GROUP a.
SELECTION-SCREEN END OF BLOCK blk1.
*&---------------------------------------------------------------------*
*& Form UPLOAD_DATA
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
AT SELECTION-SCREEN.
IF mode1 NE space.
bmode = 'A'.
ELSE.
bmode = 'N'.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM get_f4.
start-of-selection.
PERFORM get_file.
**** PERFORM SUCCESS_TEXT.
**** PERFORM ERROR_TEXT.
*start-of-selection.
*perform open_group.
LOOP AT it_final.
perform bdc_dynpro using 'SAPMF05A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BKPF-BLDAT'
it_final-BLDAT. "'29.05.2013'.
perform bdc_field using 'BKPF-BLART'
it_final-BLART. "'R1'.
perform bdc_field using 'BKPF-BUKRS'
it_final-BUKRS. "'1100'.
perform bdc_field using 'BKPF-BUDAT'
it_final-BUDAT. "'29.05.2013'.
perform bdc_field using 'BKPF-MONAT'
it_final-MONAT. "'2'.
perform bdc_field using 'BKPF-WAERS'
it_final-WAERS. "'INR'.
perform bdc_field using 'BKPF-XBLNR'
it_final-XBLNR. "'123'.
perform bdc_field using 'FS006-DOCID'
'*'.
perform bdc_field using 'RF05A-NEWBS'
it_final-NEWBS. "'01'.
perform bdc_field using 'RF05A-NEWKO'
it_final-NEWKO. "'4000000612'.
perform bdc_dynpro using 'SAPMF05A' '0301'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'=S+'.
perform bdc_field using 'BSEG-WRBTR'
it_final-WRBTR. "'20000'.
perform bdc_field using 'BSEG-GSBER'
it_final-GSBER. "'1105'.
perform bdc_field using 'BSEG-ZTERM'
it_final-ZTERM. "'0001'.
perform bdc_field using 'BSEG-ZFBDT'
it_final-ZFBDT. "'29.05.2013'.
perform bdc_field using 'BSEG-ZUONR'
it_final-ZUONR. "'1234'.
perform bdc_field using 'BSEG-SGTXT'
it_final-SGTXT. "'TEST1'.
perform bdc_field using 'RF05A-NEWBS'
it_final-NEWBS1. "'50'.
perform bdc_field using 'RF05A-NEWKO'
it_final-NEWKO1. "'3210025'.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'=S+'.
perform bdc_field using 'BSEG-WRBTR'
it_final-WRBTR1. "'15000'.
perform bdc_field using 'BSEG-MWSKZ'
it_final-MWSKZ. "'A0'.
perform bdc_field using 'BSEG-TXJCD'
it_final-TXJCD. "'9000'.
perform bdc_field using 'BSEG-ZUONR'
it_final-ZUONR1. "'12345'.
perform bdc_field using 'BSEG-SGTXT'
it_final-SGTXT1. "'TEST2'.
perform bdc_field using 'RF05A-NEWBS'
it_final-NEWBS2. "'50'.
perform bdc_field using 'RF05A-NEWKO'
it_final-NEWKO2. "'1215030'.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-KOSTL'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
it_final-GSBER1. "'1105'.
perform bdc_field using 'COBL-KOSTL'
it_final-KOSTL. "'11-R001'.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BSEG-WRBTR'
it_final-WRBTR2. "'5000'.
perform bdc_field using 'BSEG-MWSKZ'
it_final-MWSKZ1. "'A0'.
perform bdc_field using 'BSEG-TXJCD'
it_final-TXJCD1. "'9000'.
perform bdc_field using 'BSEG-VALUT'
it_final-VALUT. "'29.05.2013'.
perform bdc_field using 'BSEG-ZUONR'
it_final-ZUONR2. "'123456'.
perform bdc_field using 'BSEG-SGTXT'
it_final-SGTXT2. "'TEST3'.
perform bdc_field using 'RF05A-NEWBS'
it_final-NEWBS1. "'50'.
perform bdc_field using 'RF05A-NEWKO'
it_final-NEWKO1. "'3210025'.
perform bdc_field using 'DKACB-FMORE'
'X'.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-KOSTL'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
it_final-GSBER. "'1105'.
perform bdc_field using 'COBL-KOSTL'
it_final-KOSTL. "'11-R001'.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_OKCODE'
'/EPOS'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-WRBTR'.
perform bdc_dynpro using 'SAPMF05A' '0700'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWBS'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BKPF-XBLNR'
it_final-XBLNR. "'123'.
*perform bdc_transaction using 'FB01'.
*****CALL TRANSACTION 'FB01' USING bdcdata MODE bmode MESSAGES INTO i_messtab.
***** CLEAR bdcdata.
***** REFRESH bdcdata.
***** CLEAR it_final.
*****
*********IF i_messtab NE 0.
***** LOOP AT i_messtab.
***** CASE i_messtab-msgtyp.
***** WHEN 'E'.
***** CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'
***** EXPORTING
***** ID = i_messtab-msgid
***** NUMBER = i_messtab-msgnr
***** LANGUAGE = SY-LANGU
***** TEXTFORMAT = 'ASC'
****** LINKPATTERN =
***** MESSAGE_V1 = sy-msgv1
***** MESSAGE_V2 = sy-msgv2
***** MESSAGE_V3 = sy-msgv3
***** MESSAGE_V4 = sy-msgv4
***** IMPORTING
***** MESSAGE = l_message.
****** RETURN =
****** TABLES
****** TEXT =
***** .
***** CONCATENATE l_message '-' it_final-newko it_final-wrbtr it_final-budat INTO it_error-text
***** SEPARATED BY ' '.
***** APPEND it_error.
***** CLEAR : it_error, l_message.
****** ENDCASE.
****** ENDLOOP.
***** WHEN 'S'.
********* ELSE.
***** CONCATENATE 'DATA UPLOADED SUCCESSFULLY :' it_final-newko it_final-wrbtr it_final-budat
***** INTO it_success-text SEPARATED BY ' '.
***** APPEND it_success.
******** ENDIF.
***** ENDCASE.
***** ENDLOOP.
***** REFRESH i_messtab.
***** CLEAR: it_final,l_message.
CALL TRANSACTION 'FB01' USING BDCDATA MODE BMODE UPDATE 'S' MESSAGES INTO i_messtab.
DATA ER_MSG(100).
LOOP AT i_messtab.
CASE i_messtab-MSGTYP.
WHEN 'E'.
FORMAT COLOR COL_NEGATIVE.
WHEN 'W'.
FORMAT COLOR COL_TOTAL.
WHEN 'I'.
FORMAT COLOR COL_KEY.
WHEN 'A'.
FORMAT COLOR COL_GROUP.
WHEN 'S'.
FORMAT COLOR COL_POSITIVE.
WHEN OTHERS.
FORMAT COLOR COL_NORMAL.
ENDCASE.
SELECT SINGLE TEXT FROM T100 INTO T100-TEXT WHERE SPRSL = i_messtab-MSGSPRA AND ARBGB = i_messtab-MSGID
AND MSGNR = i_messtab-MSGNR.
ER_MSG = T100-TEXT.
REPLACE '&' IN ER_MSG WITH i_messtab-MSGV1.
REPLACE '&' IN ER_MSG WITH i_messtab-MSGV2.
REPLACE '&' IN ER_MSG WITH i_messtab-MSGV3.
REPLACE '&' IN ER_MSG WITH i_messtab-MSGV4.
WRITE:/1 SY-VLINE, 02 i_messtab-MSGTYP,
3 SY-VLINE, 04 i_messtab-TCODE,
25 SY-VLINE, 26 ER_MSG,
110 SY-VLINE.
ENDLOOP.
ENDLOOP.
" UPLOAD_DATA
*****FORM success_text .
*****
***** LOOP AT it_success.
***** AT FIRST.
***** WRITE :/10 'Following records successfully uploaded'.
***** ULINE.
***** ENDAT.
***** WRITE :/10 it_success-text.
***** ENDLOOP.
*****
*****ENDFORM.
*****
*****FORM error_text .
*****
***** LOOP AT it_error.
***** AT FIRST.
***** WRITE :/10 'Following records are not uploaded'.
***** ULINE.
***** ENDAT.
***** WRITE :/10 it_error-text.
***** ENDLOOP.
*****ENDFORM.
*perform close_group.
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM.
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM.
form get_f4.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE
.
ENDFORM.
FORM get_file .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = 1
I_BEGIN_ROW = 2
I_END_COL = 100
I_END_ROW = 6000
TABLES
INTERN = IT_FILE
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT IT_FILE.
CASE IT_FILE-COL.
WHEN 1.
it_final-BLDAT = IT_FILE-VALUE.
WHEN 2.
it_final-BLART = IT_FILE-VALUE.
WHEN 3.
it_final-BUKRS = IT_FILE-VALUE.
WHEN 4.
it_final-BUDAT = IT_FILE-VALUE.
WHEN 5.
it_final-MONAT = IT_FILE-VALUE.
WHEN 6.
it_final-WAERS = IT_FILE-VALUE.
WHEN 7.
it_final-XBLNR = IT_FILE-VALUE.
WHEN 8.
it_final-NEWBS = IT_FILE-VALUE.
WHEN 9.
it_final-NEWKO = IT_FILE-VALUE.
WHEN 10.
it_final-WRBTR = IT_FILE-VALUE.
WHEN 11.
it_final-GSBER = IT_FILE-VALUE.
WHEN 12.
it_final-ZTERM = IT_FILE-VALUE.
WHEN 13.
it_final-ZFBDT = IT_FILE-VALUE.
WHEN 14.
it_final-ZUONR = IT_FILE-VALUE.
WHEN 15.
it_final-SGTXT = IT_FILE-VALUE.
WHEN 16.
it_final-NEWBS1 = IT_FILE-VALUE.
WHEN 17.
it_final-NEWKO1 = IT_FILE-VALUE.
WHEN 18.
it_final-WRBTR1 = IT_FILE-VALUE.
WHEN 19.
it_final-MWSKZ = IT_FILE-VALUE.
WHEN 20.
it_final-TXJCD = IT_FILE-VALUE.
WHEN 21.
it_final-ZUONR1 = IT_FILE-VALUE.
WHEN 22.
it_final-SGTXT1 = IT_FILE-VALUE.
WHEN 23.
it_final-NEWBS2 = IT_FILE-VALUE.
WHEN 24.
it_final-NEWKO2 = IT_FILE-VALUE.
WHEN 25.
it_final-GSBER1 = IT_FILE-VALUE.
WHEN 26.
it_final-KOSTL = IT_FILE-VALUE.
WHEN 27.
it_final-WRBTR2 = IT_FILE-VALUE.
WHEN 28.
it_final-MWSKZ1 = IT_FILE-VALUE.
WHEN 29.
it_final-txjcd1 = IT_FILE-VALUE.
WHEN 30.
it_final-valut = IT_FILE-VALUE.
WHEN 31.
it_final-zuonr2 = IT_FILE-VALUE.
WHEN 32.
it_final-sgtxt2 = IT_FILE-VALUE.
WHEN 33.
it_final-gsber2 = IT_FILE-VALUE.
WHEN 34.
it_final-KOSTL1 = IT_FILE-VALUE.
APPEND it_final.
CLEAR it_final.
ENDCASE.
ENDLOOP.
ENDFORM. " SUCCESS_TEXT
" get_file
Duplicate functionality For the User Form
Dear All,
I want to use a duplicate functionality same as on System Form. When I right click on Sales Order Form & select Duplicate , then a new DocNum is generated and all data of the form is copied on the form.
How can I get the same functionality for the user form. Any suggestions on the above would be appreciated.
Thanks
Ankit Chauhan
Re: BAPI need for Object Dependency
Hi,
Have you found any BAPI to maintain dependency for char value?
Thanks
COPA profitabilty Analysis Cube Issue
Message no. RSDD058
COPA profitabilty Analysis Cube Issue
Message no. RSDD058
COPA profitabilty Analysis Cube Issue
Hi Ramanjaneyulu Korrapati,
When I created Aggregates its showing error
Transport connection for aggregate 4KWN75SNM1L81O25CCJ9RFTHP terminated. No change possiblie |
Re: Error in posdm while posting sales from POS- articlexxxx not listed for this storexxx
All the listing data is intact in ECC.
In basic I checked the BI Delta updates RSA1 in BI . some have failed , error says "Data did not load into target ".
This apart ,the POSDM sales data when posted in BI has a validation body which checks if article site combination exists in BI master data ,due to delta failure(which updates article site combination ) I suspect that articles with few site combinations which failed in delta caused the error while validation.
Example:
Posdm : Aggregated sales: Article : 101121 SITE : 0009 SALES : 86623 Pounds
BI MASTER: ARTICLE : 101121 SITES : 0001,0002,0003,0004,0005,0007,0010,0011,00DC.
Here BI master data does not contain the combination of Article 101121 , Site 0009 so the error is thrown" Article 101121 not listed in Store 0009".
Kindly advice if my approach is wrong.
Thanks,
JK
Re: Copy of Webdynpro
hello
you can check if user has provided any value or not to those field(s) in WDDOBEFORACTION and raise suitable messages.
Rgds
Re: Creating a company issue
Hi Syed,
When I was creating the new company, the same problem i faced.
Please check 'Define Posting Period'.
Make sure database name should be different from previous one.
Please check .mdf and .ldf file path.
Dunning notices with negative arrears
Hi All,
we have implemented the SAP Note 333506, redefined the dunning procedure.
The dunning notices still doesn't include negative items.
In the log, the dunning level is not set for line items with negative arrears.
Can somebody please help if I am missing anything.
I have added two dunning levels to my procedure.
Dunning Level 1 = -7
Dunning Level 2 = 1
Re: DBA Planning Calendar
Dear MS,
Implement SAP Note Note 1456402 - DB6: DBA Cockpit
Corrections for SAP Basis 7.02/7.30/7.31.
It will help you to solve your problem.
Thanks & Regards,
V Srinivasan
Process order print outs
Hi Expert,
Whenever we are doing batch determination in process order then system do not update the require quantiy & Issued quantity on Process order print outs.
I think in process order system generating the two line items per material see the attached file. please give your suggestion.
Regards,
Ram Rathode
Re: How do you change Work Overview options in MSS NWBC.
Hello Clive,
Read through this blog by Sagar @ http://scn.sap.com/docs/DOC-31014
Hope this helps.
Regards,
Sahir.
PS: Content from the blog that could help:
You can also create new POWL types and assign to the MSS application id. This way you can have custom queries configured in the MSS Inbox. Further properties of POWL queries can be defined in POWL_QUERY and
POWL_QUERYR transaction. Please read POWL configuration details from related content section.
Re: SM21: Transaction termination 00 148 ( )
Hi Julia,
What it looks like is some user is not in validity date that is being internally used for some process. I will suggest you to check security audit log, SM19 for the same time period for which you are getting dump.
That can hint on which user this log is referring to.
Hope this helps,
Regards,
Ashutosh
Re: General and Optional Holidays
1. Did you try generating the work schedule rules by not assigning your public holiday calendar to Personnel Sub area?
If you are able to do it.
Were you able to maintain IT0007 against one employee, who belongs to one personnel sub area which not assigned to your Holiday calendar?
Let me know once you get a chance.
Warm Regards!
-Kanuku
Re: DB Mirroring on MS SQL 2012 with OS 2008
I have a set up of mirroring with windows server 2003 and SQLServer 2005 enterprise edition. No issues with that and set up and configuration process is almost same for SQL Server 2012. (I have done that too with exactly the same configuration as mentioned). I used high performance option for the DR with manual failover.
Having said that, it is still highly advisable to have your qc and production on the same version of OS and database software.
Second thing to note is that mirroring is deprecated in sql server 2012 but looking at Microsoft sql server lifecycle it will still get support for next 8-10 years. Please take at look at the initial note in the below document.
http://technet.microsoft.com/en-us/library/ms189852.aspx
warm regards,
sudhir
Re: Formatting Issues with SO10 text in Adobe forms
Hi Murthy,
I did all, as suggested by you, but it did not worked...!!!!!!
Any Idea.......??????
Thanking You All.
Re: Not able to connect from client machine to server.
Hi,
Please check this
Goto the server tools
and Select the License Manager ->Setting->Configure Setting -> Login B1siteuser
Display the All database or Not ?
Thanks,
Nithi