‎2020 Feb 03 4:46 AM
Hi,
currently in my smartform The data for bank details is getting pulled from table bnka which holds good when we have to pull data for all company codes
But when we want to print the bank details from table t012k table based on specific company code
Like we want to print bank details for company code p004 only and not A series
what are we supposed to do
‎2020 Feb 03 5:38 AM
nidhi1994,
You have to make the modifications in your code Logic/Driver Program. From what i understand it is a simple business requirement, altering your Driver Program should get the Job done for you.
Validate the necessary conditions line company code and query the respective table accordingly.
Check in debugging of your code logic and make changes in relevant code lines that should help you achieve your requirement.
Regards!
‎2020 Feb 03 5:38 AM
nidhi1994,
You have to make the modifications in your code Logic/Driver Program. From what i understand it is a simple business requirement, altering your Driver Program should get the Job done for you.
Validate the necessary conditions line company code and query the respective table accordingly.
Check in debugging of your code logic and make changes in relevant code lines that should help you achieve your requirement.
Regards!
‎2020 Feb 03 7:39 AM
But when I make changes in the smartform global definition section
the report data is getting problems
The search help which was working fine doesnt workn now
‎2020 Feb 03 7:42 AM
nidhi1994,
Can you Please let us know the issue in detail? Like what change you did and what is not working after that?
Recommend you to raise a separate question for the same.
Regards!
‎2020 Feb 03 8:12 AM
Bank details is pulled from BNKA table BANKA field.
Changes required is, That if,
1) For Z ( Company Code starts from A) the same configuration continues.
2) For Y ( Company Code starts from P) Bank details should be pulled from T012k table Bankn field.
this is for the smartform.
‎2020 Feb 03 9:15 AM
nidhi1994,
As informed earlier, you need to control the Logic to fill your internal table (the one populates the main table) based on the company code.You need to do this change in Code Logic/Driver program where the logic is written to populate the table.In simple words your code should be as below:
IF Company code is Z
*** Fetch the data from BNKA table for BANKA field
ELSEIF Company code is Y
*** Fetch the data from T012k table for BANKA field
ENDIF.
Regards!
‎2020 Feb 04 5:01 AM
‎2021 Nov 17 7:11 AM
Hi i have joined as a sap abap consultant i dont know how to edit the smart forms
and i dont know to understand the logic
kindly help me out how to edit and undersatnd logics query
‎2021 Nov 17 7:11 AM
Thanks for coming to SAP Community for answers. Please post your question as a new question here:
Since you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.
Please note, that your post here won't be answered.
‎2021 Nov 17 7:12 AM